際際滷

際際滷Share a Scribd company logo
TripleS
Shared Session System
TripleS
    Share

Session(Cookie)

Simple concept
襾殊 磯Μ螳 Browser 襯 伎覃伎 襷れ伎




       http


              Cookie
TripleS deview
Browser Cookie Size?

Chrom (覯 21.0.1180.89)           Test Results
10:44:5.413: Guessing Max Cookie Count Per Domain: 180
10:44:5.414: Guessing Max Cookie Size Per Cookie: 4096 bytes
10:44:5.414: Guessing Max Cookie Size Per Domain: NA

Fire Fox (15.0.1) Test Results
10:47:33.415: Guessing Max Cookie Count Per Domain: 150
10:47:33.415: Guessing Max Cookie Size Per Cookie: 4097 characters
10:47:33.416: Guessing Max Cookie Size Per Domain: NA

IE (8)   Test Results
10:48:38.243: Guessing Max Cookie Count Per Domain: 50
10:48:38.244: Guessing Max Cookie Size Per Cookie: 5117 bytes
10:48:38.245: Guessing Max Cookie Size Per Domain: Between 10234 and 15350 bytes
setyb 6904                              600           5 irafaS
                          setyb 6904
                          setyb 6904
                          setyb 6904                      4 irafaS     irafaS
                                                                       irafaS
                                                                       irafaS
                                                                       irafaS
                                                          3 irafaS
                                            60            11 arepO
    setyb 6904            setyb 6904
                          setyb 6904
                          setyb 6904
                          setyb 6904                      01 arepO     a
                                                                       arepO
                                            30            9 arepO
                                                          8 arepO
                        sretcarahc 7115
                        sretcarahc 7115
                        sretcarahc 7115
                        sretcarahc 7115                      9 EI
 sretcarahc 43201
                        sretcarahc 7115
                        sretcarahc 7115
                        sretcarahc 7115
                        sretcarahc 7115                     8 EI
                                            50                           EI
                        s          5904
                        sretcarahc 5904                     7 EI
  sretcarahc 6904
                        sretcarahc 6904                      6 EI
                                                          7 xoFeriF
                                                          6 xoFeriF
                                                          5 xoFeriF
                        sretcarahc 7904     50            4 xoFeriF   xoFeriF
                                                                      xoFeriF
                                                                      xoFeriF
                                                          3 xoFeriF
                                                          2 xoFeriF
                                                          51 emorhC
        AN                                                41 emorhC
                                                          31 emorhC
                                                          21 emorhC
                                            180           11 emorhC
                                                          01 emorhC
                          setyb 6904
                          setyb 6904
                          setyb 6904
                          setyb 6904                                    emorhC
                                                                        emorhC
                                                          9 emorhC
                                                          8 emorhC
                                                          7 emorhC
                                            70            6 emorhC
                                                          5 emorhC
                                                          4 emorhC
niamoD reP eziS xaM
niamoD reP eziS xaM
niamoD reP eziS xaM
niamoD reP eziS xaM   eikooC reP eziS xaM
                      eikooC reP eziS xaM
                      eikooC reP eziS xaM
                      eikooC reP eziS xaM   seikooC xaM
                                            seikooC xaM
                                            seikooC xaM
                                            seikooC xaM           resworB
                                                                  resworB
                                                                  resworB
                                                                  resworB
Naver Cookie
                   mail.naver.com

                        2k            3K
                   cafe.naver.com

                        2k
                                      3K

  naver.com      shopping.naver.com

Cookie size 1k          2k            3K
cookie 蠍磯 


                                      2K
                   kin.naver.com

                        1k



                                      4K
                   blog.naver.com

                        3k
TripleS & Cookie
ttl                        expires
                 value                         value
                  key                          name
              service code                      path
               TripleS                       Cookie
                     LTT - eulaV - yeK - edoC ecivreS -)yek noisseS(DIU
                                                    tamrof ataD SelpirT
;EMAN_NIAMOD=niamod ;HTAP=htap ;ETAD=seripxe ;EULAV=EMAN :eikooC-teS
                                                          tamrof eikooC
Client Cookie

Server Cookie
Client Cookie
Server Cookie
Big Cookie

 Network
Mobile WEB

Mobile APP
Heavy data

Network Traffic
0 0. 0
y x al a G E T L T K S                                                             0 0. 0 0 0 2
                i 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 1
                    11.7213   27.8713   98.9255   25.0035   )sm(emiT esnopseR 蠏
                                                                                   0 0. 0 0 0 2 1
                   ETL TKS     iFiW     G3 TKS    G3 TK                              sm : 
                     Heavy Data
                   Network Traffic
Heavy Data
Network Traffic



             一危 ′
             interval time(s)
Solution?
focus
        Client Cookie
         down sizing

        Server Cookie
        Limited range
Concept of TripleS




                       Server Cookie
                       Limited range
            INTERNET
Concept of TripleS

                                               A(30B),
                                               B(1K),
                                                C(2K)
                     Client Cookie
                                                    A,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)
Naver Cookie
                                      Client Cookie   Server Cookie
                   mail.naver.com

                        2k                30B            3K
                   cafe.naver.com

                        2k
                                          30B            3K

  naver.com      shopping.naver.com

Cookie size 1k          2k                30B            3K
cookie 蠍磯 


                                          30B            2K
                   kin.naver.com

                        1k



                                          30B            4K
                   blog.naver.com

                        3k
TripleS Architecture

                                                          觜 覯 蟲

                                                                                 SelpirT


     INTERNET
                                                                                 yrarbiL



                                     TripleS Library


                                                                         yrarbiL SelpirT



                       TripleS




                        TripleS ZK




                                                       TripleS Storage
TripleS Client                      TripleS
                 TripleS Storage
   Library                         ZooKeeper
TripleS

nBase



Cubrid
92 72 52 32 12 91 71 51 31 11 9 7 5 3 1
                                                                0
                                                                0002
                                                                0004
e d o n 9/ M 0 6                                                0006 T
                                                                     O
                                                                                                Storage(RDB)
e d o n 6/ M 0 4                                                      T
                                                                0008 AL
e d o n 3/ M 0 2                                                      T
                                                                00001 P
                                                                      S   Distribution Layer
                                                                00021
                                                                00041
                                                                00061
                                                                                                             r e v r e S r e ni a t n o C
                        Real Scalability
                                                                                                            r 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 1
                                                                0
                                                                             r e v r e S r e ni a t n o C                                    r e v r e S r e ni a t n o C
                                                                0005
     s edon9                                                          T
                                                                     O
     s edon6                                                          T
                                                                00001 A
                                                                      L
     s edon3                                                          T                                      r e v r e S r e ni a t n o C
                                                                      P
                                                                      S
                                                                00051                          Scale out & 螳
                                                                00002

                                                                                               Data 覿一 (3copy)
                   Node Scalability (20M rec)                                                                                               nBase
focus
         Client Cookie
          down sizing
         Server Cookie
         Limited range


        Share Data
egarotS SelpirT
                                                                                                     KZ SelpirT
                                                                                                         SelpirT
                                   y r a r bi L S el pi r T
                                                                                   yrarbiL SelpirT
                                                                                                                      INTERNET
                           y r a r bi L S el pi r T
                                                        炎規 覯 る        B
         yrarbiL SelpirT
                                                              yrarbiL SelpirT
yrarbiL SelpirT
                  炎規 覯 る
                                                                                                             TripleS Architecture
                                                      A
TripleS Performance
PC 牛蟆 (豕蠏/ 蟆)
 TripleS


Mobile / 願




                  蟆 企殊危
TripleS deview
TripleS deview

More Related Content

TripleS deview

  • 2. TripleS Share Session(Cookie) Simple concept
  • 3. 襾殊 磯Μ螳 Browser 襯 伎覃伎 襷れ伎 http Cookie
  • 5. Browser Cookie Size? Chrom (覯 21.0.1180.89) Test Results 10:44:5.413: Guessing Max Cookie Count Per Domain: 180 10:44:5.414: Guessing Max Cookie Size Per Cookie: 4096 bytes 10:44:5.414: Guessing Max Cookie Size Per Domain: NA Fire Fox (15.0.1) Test Results 10:47:33.415: Guessing Max Cookie Count Per Domain: 150 10:47:33.415: Guessing Max Cookie Size Per Cookie: 4097 characters 10:47:33.416: Guessing Max Cookie Size Per Domain: NA IE (8) Test Results 10:48:38.243: Guessing Max Cookie Count Per Domain: 50 10:48:38.244: Guessing Max Cookie Size Per Cookie: 5117 bytes 10:48:38.245: Guessing Max Cookie Size Per Domain: Between 10234 and 15350 bytes
  • 6. setyb 6904 600 5 irafaS setyb 6904 setyb 6904 setyb 6904 4 irafaS irafaS irafaS irafaS irafaS 3 irafaS 60 11 arepO setyb 6904 setyb 6904 setyb 6904 setyb 6904 setyb 6904 01 arepO a arepO 30 9 arepO 8 arepO sretcarahc 7115 sretcarahc 7115 sretcarahc 7115 sretcarahc 7115 9 EI sretcarahc 43201 sretcarahc 7115 sretcarahc 7115 sretcarahc 7115 sretcarahc 7115 8 EI 50 EI s 5904 sretcarahc 5904 7 EI sretcarahc 6904 sretcarahc 6904 6 EI 7 xoFeriF 6 xoFeriF 5 xoFeriF sretcarahc 7904 50 4 xoFeriF xoFeriF xoFeriF xoFeriF 3 xoFeriF 2 xoFeriF 51 emorhC AN 41 emorhC 31 emorhC 21 emorhC 180 11 emorhC 01 emorhC setyb 6904 setyb 6904 setyb 6904 setyb 6904 emorhC emorhC 9 emorhC 8 emorhC 7 emorhC 70 6 emorhC 5 emorhC 4 emorhC niamoD reP eziS xaM niamoD reP eziS xaM niamoD reP eziS xaM niamoD reP eziS xaM eikooC reP eziS xaM eikooC reP eziS xaM eikooC reP eziS xaM eikooC reP eziS xaM seikooC xaM seikooC xaM seikooC xaM seikooC xaM resworB resworB resworB resworB
  • 7. Naver Cookie mail.naver.com 2k 3K cafe.naver.com 2k 3K naver.com shopping.naver.com Cookie size 1k 2k 3K cookie 蠍磯 2K kin.naver.com 1k 4K blog.naver.com 3k
  • 9. ttl expires value value key name service code path TripleS Cookie LTT - eulaV - yeK - edoC ecivreS -)yek noisseS(DIU tamrof ataD SelpirT ;EMAN_NIAMOD=niamod ;HTAP=htap ;ETAD=seripxe ;EULAV=EMAN :eikooC-teS tamrof eikooC
  • 15. 0 0. 0 y x al a G E T L T K S 0 0. 0 0 0 2 i 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 1 11.7213 27.8713 98.9255 25.0035 )sm(emiT esnopseR 蠏 0 0. 0 0 0 2 1 ETL TKS iFiW G3 TKS G3 TK sm : Heavy Data Network Traffic
  • 16. Heavy Data Network Traffic 一危 ′ interval time(s)
  • 18. focus Client Cookie down sizing Server Cookie Limited range
  • 19. Concept of TripleS Server Cookie Limited range INTERNET
  • 20. Concept of TripleS A(30B), B(1K), C(2K) Client Cookie A,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)
  • 21. Naver Cookie Client Cookie Server Cookie mail.naver.com 2k 30B 3K cafe.naver.com 2k 30B 3K naver.com shopping.naver.com Cookie size 1k 2k 30B 3K cookie 蠍磯 30B 2K kin.naver.com 1k 30B 4K blog.naver.com 3k
  • 22. TripleS Architecture 觜 覯 蟲 SelpirT INTERNET yrarbiL TripleS Library yrarbiL SelpirT TripleS TripleS ZK TripleS Storage
  • 23. TripleS Client TripleS TripleS Storage Library ZooKeeper
  • 25. 92 72 52 32 12 91 71 51 31 11 9 7 5 3 1 0 0002 0004 e d o n 9/ M 0 6 0006 T O Storage(RDB) e d o n 6/ M 0 4 T 0008 AL e d o n 3/ M 0 2 T 00001 P S Distribution Layer 00021 00041 00061 r e v r e S r e ni a t n o C Real Scalability r 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 1 0 r e v r e S r e ni a t n o C r e v r e S r e ni a t n o C 0005 s edon9 T O s edon6 T 00001 A L s edon3 T r e v r e S r e ni a t n o C P S 00051 Scale out & 螳 00002 Data 覿一 (3copy) Node Scalability (20M rec) nBase
  • 26. focus Client Cookie down sizing Server Cookie Limited range Share Data
  • 27. egarotS SelpirT KZ SelpirT SelpirT y r a r bi L S el pi r T yrarbiL SelpirT INTERNET y r a r bi L S el pi r T 炎規 覯 る B yrarbiL SelpirT yrarbiL SelpirT yrarbiL SelpirT 炎規 覯 る TripleS Architecture A
  • 29. PC 牛蟆 (豕蠏/ 蟆) TripleS Mobile / 願 蟆 企殊危