• Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,306
On Slideshare
0
From Embeds
0
Number of Embeds
5

Actions

Shares
Downloads
35
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. TripleSShared Session System
  • 2. ShareSession(Cookie)Simple concept
  • 3. 먼저 우리가 Browser 를 이용하면서 만들어지는 http Cookie
  • 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. Browser Max Cookies Max Size Per Cookie Max Size Per Domain Chrome 4 Chrome 5 Chrome 6 70 Chrome 7 Chrome 8 Chrome 9Chrome 4096 bytes Chrome 10 Chrome 11 180 Chrome 12 Chrome 13 NA Chrome 14 Chrome 15 FireFox 2 FireFox 3FireFox FireFox 4 50 4097 characters FireFox 5 FireFox 6 FireFox 7 IE 6 4096 characters 4096 characters IE 7 4095 characters IE 50 IE 8 5117 characters 10234 characters IE 9 5117 characters Opera 8 Opera 9 30Opera Opera 10 4096 bytes 4096 bytes Opera 11 60 Safari 3Safari Safari 4 4096 bytes Safari 5 600 4096 bytes
  • 6. Naver Cookie mail.naver.com 2k 3K cafe.naver.com 2k 3K naver.com shopping.naver.comCookie size 1k 2k 3K cookie 크기는 예임 kin.naver.com 1k 2K blog.naver.com 3k 4K
  • 7. TripleS & Cookie
  • 8. Cookie formatSet-Cookie: NAME=VALUE; expires=DATE; path=PATH; domain=DOMAIN_NAME;TripleS Data formatUID(Session key)- Service Code - Key - Value - TTL Cookie TripleS path service code name key value value expires ttl
  • 9. Client CookieServer Cookie
  • 10. Client CookieServer Cookie
  • 11. Big Cookie Network
  • 12. Mobile WEBMobile APP
  • 13. Heavy dataNetwork Traffic
  • 14. Network Traffic Heavy Data단위
  • 15.   :
  • 16.   ms
  • 17.    KT 3G
  • 18.    SKT 3G
  • 19.    WiFi
  • 20.    SKT LTE
  • 21.   12000.00
  • 22.   
  • 23.    평균 Response Time(ms)
  • 24.    5300.52
  • 25.    5529.89
  • 26.    3178.72
  • 27.    3127.11
  • 28.   10000.00
  • 29.   
  • 30.    8000.00
  • 31.   
  • 32.    KT
  • 33.   3G
  • 34.    6000.00
  • 35.   
  • 36.    SKT
  • 37.   3G
  • 38.    4000.00
  • 39.   
  • 40.    WiFi
  • 41.    2000.00
  • 42.   
  • 43.    SKT
  • 44.   LTE
  • 45.   Galaxy
  • 46.    0.00
  • 47.   
  • 48.   
  • 49. Heavy DataNetwork Traffic 데이터 전송시 interv al time(s)
  • 50. Solution?
  • 51. focus Client Cookie down sizing Server Cookie Limited range
  • 52. Concept of TripleS Server Cookie Limited range INTERNET
  • 53. 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)
  • 54. Naver Cookie Client Cookie Server Cookie mail.naver.com 2k 30B 3K cafe.naver.com 2k 30B 3K naver.com shopping.naver.comCookie size 1k 2k 30B 3K cookie 크기는 예임 kin.naver.com 1k 30B 2K blog.naver.com 3k 30B 4K
  • 55. TripleS Architecture 서비스 서버 구성 TripleS Librar y INTERNET TripleS Library TripleS Library TripleS TripleS ZK TripleS Storage
  • 56. TripleS Cli TripleS St TripleS Zoent Library orage oKeeper
  • 57. Triple SnBaseCubrid
  • 58. nBase 18000 Node Scalability (20M rec) 16000 Data 분산저장 (3copy) 14000 Scale out & 가용성 12000 TOTAL TPS Container Server 10000 3nodes 8000 6nodes 6000 9nodes 4000Container Server Container Server 2000 0 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 management server Real Scalability Container Server 16000 14000 12000 10000 TOTAL TPS Distribution Layer 20M/3node 8000 40M/6node Storage(RDB) 6000 60M/9node 4000 2000 0 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29
  • 59. focus Client Cookie down sizing Server Cookie Limited range Share Data
  • 60. TripleS Architecture A 서비스 서버 구성 TripleS Library TripleS Library TripleS Library B 서비스 서버 구성 TripleS Library INTERNET TripleS Library TripleS Library TripleS TripleS ZK TripleS Storage
  • 61. TripleS Performance
  • 62. PC 통합검색 (최근/내 검색어) TripleSMobile 웹/앱 내검색어 검색어 하이라이팅