Click here to load reader

TripleS deview

  • View
    259

  • Download
    4

Embed Size (px)

Text of TripleS deview

  • 1. TripleSShared Session System

2. TripleSShareSession(Cookie)Simple concept 3. Browser httpCookie 4. Browser Cookie Size?Chrom ( 21.0.1180.89) Test Results10:44:5.413: Guessing Max Cookie Count Per Domain: 18010:44:5.414: Guessing Max Cookie Size Per Cookie: 4096 bytes10:44:5.414: Guessing Max Cookie Size Per Domain: NAFire Fox (15.0.1) Test Results10:47:33.415: Guessing Max Cookie Count Per Domain: 15010:47:33.415: Guessing Max Cookie Size Per Cookie: 4097 characters10:47:33.416: Guessing Max Cookie Size Per Domain: NAIE (8) Test Results10:48:38.243: Guessing Max Cookie Count Per Domain: 5010:48:38.244: Guessing Max Cookie Size Per Cookie: 5117 bytes10:48:38.245: Guessing Max Cookie Size Per Domain: Between 10234 and 15350 bytes 5. setyb 6904600 5 irafaSsetyb 6904setyb 6904setyb 69044 irafaS irafaS irafaS irafaS irafaS3 irafaS6011 arepOsetyb 6904setyb 6904setyb 6904setyb 6904setyb 690401 arepO a arepO309 arepO8 arepOsretcarahc 7115sretcarahc 7115sretcarahc 7115sretcarahc 71159 EI sretcarahc 43201sretcarahc 7115sretcarahc 7115sretcarahc 7115sretcarahc 7115 8 EI50 EIs5904sretcarahc 5904 7 EIsretcarahc 6904sretcarahc 69046 EI7 xoFeriF6 xoFeriF5 xoFeriFsretcarahc 7904 504 xoFeriF xoFeriFxoFeriFxoFeriF3 xoFeriF2 xoFeriF51 emorhCAN41 emorhC31 emorhC21 emorhC180 11 emorhC01 emorhCsetyb 6904setyb 6904setyb 6904setyb 6904emorhCemorhC9 emorhC8 emorhC7 emorhC706 emorhC5 emorhC4 emorhCniamoD reP eziS xaMniamoD reP eziS xaMniamoD reP eziS xaMniamoD reP eziS xaM eikooC reP eziS xaMeikooC reP eziS xaMeikooC reP eziS xaMeikooC reP eziS xaM seikooC xaMseikooC xaMseikooC xaMseikooC xaM resworBresworBresworBresworB 6. Naver Cookie mail.naver.com2k3K cafe.naver.com2k3Knaver.comshopping.naver.comCookie size 1k2k3Kcookie 2K kin.naver.com1k4K blog.naver.com3k 7. TripleS & Cookie 8. ttlexpires value valuekeynameservice codepath TripleS Cookie LTT - eulaV - yeK - edoC ecivreS -)yek noisseS(DIUtamrof ataD SelpirT;EMAN_NIAMOD=niamod ;HTAP=htap ;ETAD=seripxe ;EULAV=EMAN :eikooC-teStamrof eikooC 9. Client CookieServer Cookie 10. Client CookieServer Cookie 11. Big Cookie Network 12. Mobile WEBMobile APP 13. Heavy dataNetwork Traffic 14. 0 0. 0y x al a G E T L T K S 0 0. 0 0 0 2i Fi W 0 0. 0 0 0 4 G3 T KS 0 0. 0 0 0 6 G 3 TK 0 0. 0 0 0 8 0 0. 0 0 0 0 111.7213 27.8713 98.9255 25.0035 )sm(emiT esnopseR 0 0. 0 0 0 2 1 ETL TKS iFiW G3 TKSG3 TKsm : Heavy Data Network Traffic 15. Heavy DataNetwork Traffic interval time(s) 16. Solution? 17. focusClient Cookie down sizingServer CookieLimited range 18. Concept of TripleS Server Cookie Limited rangeINTERNET 19. Concept of TripleS A(30B), B(1K),C(2K) Client CookieA,B,C,down sizing D(2K) A(30B), B(1K),A(30B)C(2K) INTERNET A(30B)A,B,C, D(2K)A(30B),B(1K), C(2K)A,B,C,D(2K) 20. Naver CookieClient Cookie Server Cookie mail.naver.com2k30B3K cafe.naver.com2k30B3Knaver.comshopping.naver.comCookie size 1k2k30B3Kcookie 30B2K kin.naver.com1k30B4K blog.naver.com3k 21. TripleS Architecture SelpirT INTERNET yrarbiL TripleS Library yrarbiL SelpirT TripleSTripleS ZK TripleS Storage 22. TripleS ClientTripleS TripleS Storage Library ZooKeeper 23. TripleSnBaseCubrid 24. 92 72 52 32 12 91 71 51 31 11 9 7 5 3 1000020004e d o n 9/ M 0 60006 T OStorage(RDB)e d o n 6/ M 0 4T0008 ALe d o n 3/ M 0 2T00001 PS Distribution Layer000210004100061 r e v r e S r e ni a t n o CReal Scalabilityr e vr es t n e m e g a n a m 92 72 52 32 12 91 71 51 31 11 9 7 5 3 10 r e v r e S r e ni a t n o Cr e v r e S r e ni a t n o C0005 s edon9T O s edon6T00001 AL s edon3Tr e v r e S r e ni a t n o CPS00051Scale out & 00002 Data (3copy) Node Scalability (20M rec) nBase 25. focus Client Cookiedown sizing Server Cookie Limited rangeShare Data 26. egarotS SelpirT KZ SelpirT SelpirT y r a r bi L S el pi r T yrarbiL SelpirTINTERNET y r a r bi L S el pi r T B yrarbiL SelpirTyrarbiL SelpirTyrarbiL SelpirT TripleS ArchitectureA 27. TripleS Performance 28. PC (/ ) TripleSMobile /