工做Tips

2016-03-07google

    簡述: 解決一個bug必定要看看對其餘代碼的影響和他影響到的其餘代碼code

    詳情: 昨天server寫入報告了大量錯誤,可是就解決了報錯的那部分代碼,沒有深究報錯對整個代碼的影響,結果致使其餘程序數據寫入大量失敗,直到次日才發現server

 

2016-03-25it

    大量數據查詢分頁的時候,用limit 不如用根據id篩選 舉個例子io

一開始這樣寫
    select id, ebayno,product_name,price,when_time,shop_name from feedback where id > %d limit %d 10000
改爲這樣
    select id, ebayno,product_name,price,when_time,shop_name from feedback where id > %d order by id asc limit 10000

 

2017-02-17table

    http://ifeve.com/google-guava-immutablecollections/  內部泛型泛型

相關文章
相關標籤/搜索