???????????10?????
?????InfoQ - ?????? ???????[ 2016/7/21 10:45:41 ] ?????????????? ???????
????Martin Thompson??LMAX?????????????QCon?????2016???????????????keynote?????????????????????“??????????????”??????Thompson??????????????“??????????”?????“???????????????????????????”??
?????????г????????????????????????????????????????????????α??????顣
????10.??????????
???????????????????????????????д????????????????????????Thompson????????“?????????????????????”??????????????JVM??CLR????????????????????????“???°汾?п??????bug??”
?????????????????????????ж?????????????????????????????????????????Thompson???????????????????????????????°汾?????????????????????е?????????????????????????????????С?
????9.?????????
????Thompson???????????????£??????????????Web???????????????????????????????????????????????????е?????????????????????profiler????????????????У?ORM????????7??000?Σ??????????????????????????????????????????????????????????????????????????????“???????ж?????????????????е??????????????????????????”
????8. ??????????????????
????Thompson???????????????????????????????????ò???????????RAM????1GB?????????long??????????????????????????????????η???????????????????
???????????????????????????е???????????????????????????????ν??д?????Thompson?????????????????????????????????????????????2GB??????????Java??HashMap???.NET??Dictionary?????????????????????????Щ????.NET???Java?????
????7. ???????????
???????????????У??????伸????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????Ч????90ns/op??????7ns/op????????????????????????
????6. ???ò???
??????????????????????????ò??к?????????????????????Щ????????????????Thompson??????“??????????????COST??Σ?”????????????????????????COST?????????????????Configuration that Outperforms a Single Thread?????????????????????????COST????????£?
??????????????У?????????COST???????????????????????????á?COST?????????????????????????????????????????????????????????????????????д??????????棬???????????????????????
??????????????????????????????????????ó????μ?????“???????????з?????COST???????????????????????????????????????????????????????????”
??????????????У?Thompson???????????????????????????????????????Щ???????????????е???????????С?????Amdahl??????????????5%?????????У??????????????????????????????????????????20????
????Thompson??????Neil J. Gunther??1993??????????????????????Universal Scalability Law??PDF????????????????з????????shared-nothing??????????????????????????????????????????????????????????????????????????????????????????????????????ο????????????????????檔?????????????????????????????????????????????????????
????Thompson??????USL????????????????????????????????????????????????????????“?????У???????????????·????????????????????Ч??????”
????Thompson??????????????????????????????????????mutable???????????“?????????????ж?……?????????????bug”????????????????÷?????????????????????????????????д??????
?????????????????????????飺?????????????????????????????з??????????跨?????????汾?????????????з??????????????
????5. ?????TCP
??????????????Thompson???????????????????????TCP????г?????????????????У??п????????????ACK????????????·??????????????????????????2-5????????????????TCP???????????????????Nagle???TCP Delayed Acknowledgement????200-500ms?????????????????????????????????????????????????????????????TCP_NODELAY?????????Nagle???????????С??????????η????????Thompson??????????е?????5??500 req/sec??
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11