SlideShare uma empresa Scribd logo
1 de 28
Baixar para ler offline
Arcus:NHNMemcachedCloud




                   박준현/NHN
ARCUS




2 / SDEC 2011 발표자료
ARCUS개발배경
                                                   
                                                                                                                  •                                         
                                                                                                                       •                                                                                   


                                                              
                                                                                                                  •                                                                                                 
                                                                                                                                                                                                    
                                                                                                       •                                                                                 
                                                                                                                       •                                                                                                       
                                                                                               •                                                                      
    

                                                                            


3 / SDEC 2011 발표자료
ARCUS개발배경
                                                                                                                                        
                                                                                                                                                                                                                 •                                          
                                                                                                                                                                                                                                                          

                                                                                                  

                                                                                                                                                                                         •                                                                     
                                                                                                                                                                                                                                                                                                  
                                       
                            
                                                                                            
                                                                                                       

                                                                                                                                                                                   



                                                                                                                                                        


4 / SDEC 2011 발표자료
ARCUSCacheCloud

•                                                                                                                  
•                                                                                                 
•                                                                                      
•                                                                                                                             
•                                                                               
•                                                                                                               



     5 / SDEC 2011 발표자료
Memcached



•                                                                                                                                                        
•                                                                                                                                                    
•                                                                                                                                                                                                       
•                                                                                                                                                                         
•                                                                                                                                                                                            
                                                             

     6 / SDEC 2011 발표자료
MemcachedOperations

•                                                                                                                                          Commands

     •                              
                                                                                                                                                                                                                
•                                                                                                                                                                              

•                                                                                                                                              ,                                                                    )

                                                                            
     •                                                                                                                  ,                           
                                                         
                                                                                                                                                                     (                                                   ),
                                                                                                                                                                          




     7 / SDEC 2011 발표자료
MemcachedOperationExamples
•                      
     set	
  key	
  flags	
  exptime	
  bytes	
  [noreply]rn	
  
     valuern	
  
     	
  
                                 [jhpark@XXXX]$	
  telnet	
  localhost	
  11211	
  
     get	
  keyrn    Trying	
  127.0.0.1...	
  
                                          Connected	
  to	
  localhost.localdomain	
  (127.0.0.1).	
  
                                          Escape	
  character	
  is	
  '^]'.	
  
                                          	
  
                                          set	
  sample_key	
  0	
  0	
  12	
  
                                          sample_value	
  
                                          STORED	
  
                                          	
  
                                          get	
  sample_key	
  
                                          VALUE	
  sample_key	
  0	
  12	
  
                                          sample_value	
  
                                          END	
  




      8 / SDEC 2011 발표자료
MemcachedPerformance
•                                       

                      Throughput (TPS)              Response Time
     250000                                           (microsec)
                                              800
     200000                                   700
                                              600
     150000
                                              500
                                              400
     100000
                                              300
                                              200
     50000
                                              100

          0                                     0




     9 / SDEC 2011 발표자료
ConsistentHashing
•                                                                                                                       
                                                                                              •                                                               
                                                                                                      •                           
                                      Key z                                 Node 3
                                                                                                            Node 2
     Remapped to
                                                                              Join
     Node 3

                                                                                                               Key y
                          Node 1                                                                                         Remapped to
                                                                                                                         Node 1

                                                                                                         Node 0
                                                        Key x
                                                                                                    Leave (Failure)
     10 / SDEC 2011 발표자료
ConsistentHashing
•                                                                                      
                           Node 0 Node 2                                 •                                                                     
               Node 2                            Node 0                          •                                                                                       
     Node 0                                                                      •                                                               
                                                              Node 1
                                                                                 •                                                                                    
Node 1                                                               Node 2

                                                                     Node 1
Node 1
                                                            Node 2
     Node 2
                                                 Node 0
                   Node 0
                                    Node 1

     11 / SDEC 2011 발표자료
Arcus1.5Architecture
                      Clients               Cache Nodes
            Consistent hashing




         Java  C Smart Client
         + Local caching (Java)          Unified Cloud Admin
                                        (Zookeeper ensemble)


12 / SDEC 2011 발표자료
ZookeeperIntegration
•                                                
     •                                                                                                                                                                                    
     •                                                                                                                                                                                      
     •                                                                                                                                                                                                                               
     •                                                                                                                                                                                                                  
                                                


•                                                                                                                            
     •                                                                                                                                                                                                    
     •                                                                                            

     13 / SDEC 2011 발표자료
ZookeeperIntegration
Clients                                                       Cache Nodes
               Cache Node List M
                  aintenance
                                    Zookeeper Ensemble



                                   Cache Node List
                                   ------------------
                                   Node 1 IP:Port
                                   Node 2 IP:Port
                                   Node 3 IP:Port
                                   Node 4 IP:Port
                                                            Cache Node 구동

                                                           Zookeeper 세션 연결
                                                         Ephemeral Node 수동 생성

14 / SDEC 2011 발표자료
Arcus1.5Memcached
•                                                                                              
•                                                                                           

                                                   Memcached Core

                                                                                     ZK
                                                   Community Engine                 Client


                                                 Default              Arcus
                                                 Engine               Engine




     15 / SDEC 2011 발표자료
Collection개발배경
•                                                                                                                                                                                                                                                    
     •                                                                                                                      ­–                                                                                                                                                                   

•                                                                                                                        ­–                                                                                                                                        
     •                                                                 ­–                                                                                            
             •                                                                                                                                                                                                         
     •                                                                                                                                                      
     •                                                                                                                                                                                                     
     •                                                                                                                                                                                                            

•                                                                                                                                                                                                                                                                                                   

     16 / SDEC 2011 발표자료
Collection개요
•                                                                                                                                     
     •                 ­–                                                                                                                               
     •                                                                                                                                                                                                                       
             •                                                                                                                                                                                                                 
     •                                      ­–                                                                                                                                                                                                           
             •             64bitintegerkey(bkey),value                                                                                                                                                                                                                
             •                                                                                                                                                                                                                                                                        
                       •                                                                                                                                                               
             •                                                                                                                                                                                                          
•                                                                                                                                                                                                                                    
     •                                                                                           
     17 / SDEC 2011 발표자료
Collection저장구조
                                                                   Hash Table For Uniqueness Checking
header key                value
                                                                                                                                        value2

                                                                                                                                                                                  ..
                                                                                                                                                                                                            
                                                                                                                                                                                           .
header key             setinfo


                  item                                                                             Forward/Backward Range Scan
header key b+treeinfo
                                                                                                                                                     ..
                                                                                                                                                      .


                                                                 bkey1                ..                                                                                       ..                           
                                                                                
                                                                                                       .                                                                         
                                                                                                                                                                                                                        .                
                                                                                                                                                                                                       
                                                                 value


      18 / SDEC 2011 발표자료
NAVERMeCollection활용사례

정보콘텐츠on네이버

     카페    블로그


     뉴스        웹툰



       책       뮤직


                   etc...
   지식인




                                          

19 / SDEC 2011 발표자료
NAVERMeCollection활용사례
•                                                                     ­–                                              
     SELECT	
  *	
  	
  
     FROM	
  messages	
  
     WHERE	
  feedid	
  in	
  (feedID1,	
  feedID2,	
  …,	
  feedIDn)	
  
     	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  AND	
  create_time	
  	
  sysdate()	
  
     ORDER	
  BY	
  create_time	
  DESC	
  
     LIMIT	
  20;


•                                                                                                                                  
     •                                                                                                                                                    
     •                                                                                                                                                  
•                                                                                                                                                        
     20 / SDEC 2011 발표자료
NAVERMeCollection활용사례
•                                             
     •                                                                       
     •                                                                                          ­–                

                                                                                 Push Delivery
                                                                                                                                                User Inbox 1
     Feed 1

                                                                                                                                                User Inbox 2
     Feed M
                                                                                                                                                User Inbox N



     21 / SDEC 2011 발표자료
NAVERMeCollection활용사례

                                                                                                                                                                                              구독관계Cache
                                                                                                                                                                                                       (SETtype)
                                                                                         
                                                                                                                                                                                                           


                                                                                                                                                                                                      사용자별
                                                                                                                                           구독글목록Cache
      
                                                                                                                                                                                                    (B+Treetype)
                                                                                                                                                                                                                             
                                                                                                                                                                                                                           



                                                                                                                                                                                                   구독글내용Cache
                                                                                                                                                                                     (K/Vtype)
                                                                                                                                                                                    

           22 / SDEC 2011 발표자료
BulkInsert
•                                                                                                                           

•                                                                      
     •                                                                                                                                               
     •                                                                                                                                               

•                                                                                                    
     •                                                                                                                                                    


     23 / SDEC 2011 발표자료
SequentialCommandExecution
•                                                                                                                                                                            Client   Server

                                                                                                                                                                                           0 ms
              •                                                                                                                    
              •                                                                                                                                                                  40 usec

                                                                                                                                           1 ms
•                                                          
                                                                                                                                                                                                         40 usec
              •                                                                                                                                                         
                                                                                                                                                                                           2 ms
              •                                                                                                                                            
                                                                                                                                                                                                 40 usec

•                                                                                                                                          3 ms


              24 / SDEC 2011 발표자료
Server-sideCommandPipelining
•                                            ­–                                                 Client   Server

      •                                                                      
                                                                                                                         0 ms
                                                                                                                                                    120 usec
      •                                                                                       
                                                                                                               1.x ms



•                                                                            
      •                                                                                         
                                                          

      25 / SDEC 2011 발표자료
OtherFeatures
•                                                                                                                        
•                                                                            
•                                                                                                                                     
•                                                                                                         
•                                                              
•                          
                                                                                                                     New Technology
      Requirements                                                                                                   New Idea  Features
                                                                                                                     New Products

     26 / SDEC 2011 발표자료
ArcusandMembase
                              기술 협조,
                              공동 개발
                                                      Memcached 기반
                                                      Elastic data cloud




27 / SDEC 2011 발표자료
28 / SDEC 2011 발표자료

Mais conteúdo relacionado

Semelhante a SDEC2011 Arcus NHN memcached cloud

23 1-3191-03-fa534
23 1-3191-03-fa53423 1-3191-03-fa534
23 1-3191-03-fa534Kamil Kamil
 
Visual spaces final__-1
Visual spaces final__-1Visual spaces final__-1
Visual spaces final__-1tuesdaytalks
 
Hive at Last.fm
Hive at Last.fmHive at Last.fm
Hive at Last.fmhuguk
 
Jan’s Health Bar Proposed Patio Revisions
Jan’s Health Bar Proposed Patio RevisionsJan’s Health Bar Proposed Patio Revisions
Jan’s Health Bar Proposed Patio Revisionswedway
 
North Central Pa Hiking Trails
North Central Pa Hiking TrailsNorth Central Pa Hiking Trails
North Central Pa Hiking Trailskevinburkman
 
Jingle bells alessia&clarissa
Jingle bells   alessia&clarissaJingle bells   alessia&clarissa
Jingle bells alessia&clarissajoshua1900
 
The Power of Choice - CAPSYS CAPTURE Value Proposition
The Power of Choice - CAPSYS CAPTURE Value PropositionThe Power of Choice - CAPSYS CAPTURE Value Proposition
The Power of Choice - CAPSYS CAPTURE Value PropositionCAPSYS Technologies
 
Citrix Presentation
Citrix PresentationCitrix Presentation
Citrix Presentationyoon1
 
Architectural Portfolio
Architectural PortfolioArchitectural Portfolio
Architectural PortfolioSam Sampoux
 
E commerce search strategies
E commerce search strategiesE commerce search strategies
E commerce search strategiesRoger Xia
 
마인드맵 워크북
마인드맵 워크북마인드맵 워크북
마인드맵 워크북Jinho Jung
 
Sheet Music: Tsubasa Chronicle - Hear our prayer (violin 2)
Sheet Music: Tsubasa Chronicle - Hear our prayer (violin 2)Sheet Music: Tsubasa Chronicle - Hear our prayer (violin 2)
Sheet Music: Tsubasa Chronicle - Hear our prayer (violin 2)sayakahime
 
Boom startup overview
Boom startup overviewBoom startup overview
Boom startup overviewbjb84
 
Ambleside (sketchy draft)
Ambleside (sketchy draft)Ambleside (sketchy draft)
Ambleside (sketchy draft)John Turville
 
Coping strategies and management measures to strengthen national capacity to ...
Coping strategies and management measures to strengthen national capacity to ...Coping strategies and management measures to strengthen national capacity to ...
Coping strategies and management measures to strengthen national capacity to ...International Aquafeed
 
Angel beats! 108 - my most precious treasure
Angel beats!   108 - my most precious treasureAngel beats!   108 - my most precious treasure
Angel beats! 108 - my most precious treasureMarlon Saldaña Olguin
 

Semelhante a SDEC2011 Arcus NHN memcached cloud (20)

Glebe ascending
Glebe ascendingGlebe ascending
Glebe ascending
 
23 1-3191-03-fa534
23 1-3191-03-fa53423 1-3191-03-fa534
23 1-3191-03-fa534
 
Visual spaces final__-1
Visual spaces final__-1Visual spaces final__-1
Visual spaces final__-1
 
Hive at Last.fm
Hive at Last.fmHive at Last.fm
Hive at Last.fm
 
Jan’s Health Bar Proposed Patio Revisions
Jan’s Health Bar Proposed Patio RevisionsJan’s Health Bar Proposed Patio Revisions
Jan’s Health Bar Proposed Patio Revisions
 
North Central Pa Hiking Trails
North Central Pa Hiking TrailsNorth Central Pa Hiking Trails
North Central Pa Hiking Trails
 
Jingle bells alessia&clarissa
Jingle bells   alessia&clarissaJingle bells   alessia&clarissa
Jingle bells alessia&clarissa
 
The Power of Choice - CAPSYS CAPTURE Value Proposition
The Power of Choice - CAPSYS CAPTURE Value PropositionThe Power of Choice - CAPSYS CAPTURE Value Proposition
The Power of Choice - CAPSYS CAPTURE Value Proposition
 
Citrix Presentation
Citrix PresentationCitrix Presentation
Citrix Presentation
 
Space Plan
Space PlanSpace Plan
Space Plan
 
Architectural Portfolio
Architectural PortfolioArchitectural Portfolio
Architectural Portfolio
 
Fire
FireFire
Fire
 
E commerce search strategies
E commerce search strategiesE commerce search strategies
E commerce search strategies
 
마인드맵 워크북
마인드맵 워크북마인드맵 워크북
마인드맵 워크북
 
Sheet Music: Tsubasa Chronicle - Hear our prayer (violin 2)
Sheet Music: Tsubasa Chronicle - Hear our prayer (violin 2)Sheet Music: Tsubasa Chronicle - Hear our prayer (violin 2)
Sheet Music: Tsubasa Chronicle - Hear our prayer (violin 2)
 
Boom startup overview
Boom startup overviewBoom startup overview
Boom startup overview
 
Ambleside (sketchy draft)
Ambleside (sketchy draft)Ambleside (sketchy draft)
Ambleside (sketchy draft)
 
Coping strategies and management measures to strengthen national capacity to ...
Coping strategies and management measures to strengthen national capacity to ...Coping strategies and management measures to strengthen national capacity to ...
Coping strategies and management measures to strengthen national capacity to ...
 
Angel beats! 108 - my most precious treasure
Angel beats!   108 - my most precious treasureAngel beats!   108 - my most precious treasure
Angel beats! 108 - my most precious treasure
 
ARCHITECTURAL ORDERS
ARCHITECTURAL ORDERSARCHITECTURAL ORDERS
ARCHITECTURAL ORDERS
 

Mais de Korea Sdec

SDEC2011 Big engineer vs small entreprenuer
SDEC2011 Big engineer vs small entreprenuerSDEC2011 Big engineer vs small entreprenuer
SDEC2011 Big engineer vs small entreprenuerKorea Sdec
 
SDEC2011 Implementing me2day friend suggestion
SDEC2011 Implementing me2day friend suggestionSDEC2011 Implementing me2day friend suggestion
SDEC2011 Implementing me2day friend suggestionKorea Sdec
 
SDEC2011 Introducing Hadoop
SDEC2011 Introducing HadoopSDEC2011 Introducing Hadoop
SDEC2011 Introducing HadoopKorea Sdec
 
Sdec2011 shashank-introducing hadoop
Sdec2011 shashank-introducing hadoopSdec2011 shashank-introducing hadoop
Sdec2011 shashank-introducing hadoopKorea Sdec
 
SDEC2011 NoSQL Data modelling
SDEC2011 NoSQL Data modellingSDEC2011 NoSQL Data modelling
SDEC2011 NoSQL Data modellingKorea Sdec
 
SDEC2011 Essentials of Pig
SDEC2011 Essentials of PigSDEC2011 Essentials of Pig
SDEC2011 Essentials of PigKorea Sdec
 
SDEC2011 Essentials of Mahout
SDEC2011 Essentials of MahoutSDEC2011 Essentials of Mahout
SDEC2011 Essentials of MahoutKorea Sdec
 
SDEC2011 Essentials of Hive
SDEC2011 Essentials of HiveSDEC2011 Essentials of Hive
SDEC2011 Essentials of HiveKorea Sdec
 
SDEC2011 NoSQL concepts and models
SDEC2011 NoSQL concepts and modelsSDEC2011 NoSQL concepts and models
SDEC2011 NoSQL concepts and modelsKorea Sdec
 
Sdec2011 Introducing Hadoop
Sdec2011 Introducing HadoopSdec2011 Introducing Hadoop
Sdec2011 Introducing HadoopKorea Sdec
 
SDEC2011 Replacing legacy Telco DB/DW to Hadoop and Hive
SDEC2011 Replacing legacy Telco DB/DW to Hadoop and HiveSDEC2011 Replacing legacy Telco DB/DW to Hadoop and Hive
SDEC2011 Replacing legacy Telco DB/DW to Hadoop and HiveKorea Sdec
 
SDEC2011 Rapidant
SDEC2011 RapidantSDEC2011 Rapidant
SDEC2011 RapidantKorea Sdec
 
SDEC2011 Mahout - the what, the how and the why
SDEC2011 Mahout - the what, the how and the whySDEC2011 Mahout - the what, the how and the why
SDEC2011 Mahout - the what, the how and the whyKorea Sdec
 
SDEC2011 Going by TACC
SDEC2011 Going by TACCSDEC2011 Going by TACC
SDEC2011 Going by TACCKorea Sdec
 
SDEC2011 Glory-FS development & Experiences
SDEC2011 Glory-FS development & ExperiencesSDEC2011 Glory-FS development & Experiences
SDEC2011 Glory-FS development & ExperiencesKorea Sdec
 
SDEC2011 Using Couchbase for social game scaling and speed
SDEC2011 Using Couchbase for social game scaling and speedSDEC2011 Using Couchbase for social game scaling and speed
SDEC2011 Using Couchbase for social game scaling and speedKorea Sdec
 

Mais de Korea Sdec (16)

SDEC2011 Big engineer vs small entreprenuer
SDEC2011 Big engineer vs small entreprenuerSDEC2011 Big engineer vs small entreprenuer
SDEC2011 Big engineer vs small entreprenuer
 
SDEC2011 Implementing me2day friend suggestion
SDEC2011 Implementing me2day friend suggestionSDEC2011 Implementing me2day friend suggestion
SDEC2011 Implementing me2day friend suggestion
 
SDEC2011 Introducing Hadoop
SDEC2011 Introducing HadoopSDEC2011 Introducing Hadoop
SDEC2011 Introducing Hadoop
 
Sdec2011 shashank-introducing hadoop
Sdec2011 shashank-introducing hadoopSdec2011 shashank-introducing hadoop
Sdec2011 shashank-introducing hadoop
 
SDEC2011 NoSQL Data modelling
SDEC2011 NoSQL Data modellingSDEC2011 NoSQL Data modelling
SDEC2011 NoSQL Data modelling
 
SDEC2011 Essentials of Pig
SDEC2011 Essentials of PigSDEC2011 Essentials of Pig
SDEC2011 Essentials of Pig
 
SDEC2011 Essentials of Mahout
SDEC2011 Essentials of MahoutSDEC2011 Essentials of Mahout
SDEC2011 Essentials of Mahout
 
SDEC2011 Essentials of Hive
SDEC2011 Essentials of HiveSDEC2011 Essentials of Hive
SDEC2011 Essentials of Hive
 
SDEC2011 NoSQL concepts and models
SDEC2011 NoSQL concepts and modelsSDEC2011 NoSQL concepts and models
SDEC2011 NoSQL concepts and models
 
Sdec2011 Introducing Hadoop
Sdec2011 Introducing HadoopSdec2011 Introducing Hadoop
Sdec2011 Introducing Hadoop
 
SDEC2011 Replacing legacy Telco DB/DW to Hadoop and Hive
SDEC2011 Replacing legacy Telco DB/DW to Hadoop and HiveSDEC2011 Replacing legacy Telco DB/DW to Hadoop and Hive
SDEC2011 Replacing legacy Telco DB/DW to Hadoop and Hive
 
SDEC2011 Rapidant
SDEC2011 RapidantSDEC2011 Rapidant
SDEC2011 Rapidant
 
SDEC2011 Mahout - the what, the how and the why
SDEC2011 Mahout - the what, the how and the whySDEC2011 Mahout - the what, the how and the why
SDEC2011 Mahout - the what, the how and the why
 
SDEC2011 Going by TACC
SDEC2011 Going by TACCSDEC2011 Going by TACC
SDEC2011 Going by TACC
 
SDEC2011 Glory-FS development & Experiences
SDEC2011 Glory-FS development & ExperiencesSDEC2011 Glory-FS development & Experiences
SDEC2011 Glory-FS development & Experiences
 
SDEC2011 Using Couchbase for social game scaling and speed
SDEC2011 Using Couchbase for social game scaling and speedSDEC2011 Using Couchbase for social game scaling and speed
SDEC2011 Using Couchbase for social game scaling and speed
 

Último

WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 

Último (20)

WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 

SDEC2011 Arcus NHN memcached cloud

  • 1. Arcus:NHNMemcachedCloud 박준현/NHN
  • 2. ARCUS 2 / SDEC 2011 발표자료
  • 3. ARCUS개발배경 •  •  •  •  •  •  3 / SDEC 2011 발표자료
  • 4. ARCUS개발배경 •  •  4 / SDEC 2011 발표자료
  • 5. ARCUSCacheCloud •  •  •  •  •  •  5 / SDEC 2011 발표자료
  • 6. Memcached •  •  •  •  •  6 / SDEC 2011 발표자료
  • 7. MemcachedOperations •  Commands •  •  •  , ) •  , ( ), 7 / SDEC 2011 발표자료
  • 8. MemcachedOperationExamples •  set  key  flags  exptime  bytes  [noreply]rn   valuern     [jhpark@XXXX]$  telnet  localhost  11211   get  keyrn Trying  127.0.0.1...   Connected  to  localhost.localdomain  (127.0.0.1).   Escape  character  is  '^]'.     set  sample_key  0  0  12   sample_value   STORED     get  sample_key   VALUE  sample_key  0  12   sample_value   END   8 / SDEC 2011 발표자료
  • 9. MemcachedPerformance •  Throughput (TPS) Response Time 250000 (microsec) 800 200000 700 600 150000 500 400 100000 300 200 50000 100 0 0 9 / SDEC 2011 발표자료
  • 10. ConsistentHashing •  •  •  Key z Node 3 Node 2 Remapped to Join Node 3 Key y Node 1 Remapped to Node 1 Node 0 Key x Leave (Failure) 10 / SDEC 2011 발표자료
  • 11. ConsistentHashing •  Node 0 Node 2 •  Node 2 Node 0 •  Node 0 •  Node 1 •  Node 1 Node 2 Node 1 Node 1 Node 2 Node 2 Node 0 Node 0 Node 1 11 / SDEC 2011 발표자료
  • 12. Arcus1.5Architecture Clients Cache Nodes Consistent hashing Java C Smart Client + Local caching (Java) Unified Cloud Admin (Zookeeper ensemble) 12 / SDEC 2011 발표자료
  • 13. ZookeeperIntegration •  •  •  •  •  •  •  •  13 / SDEC 2011 발표자료
  • 14. ZookeeperIntegration Clients Cache Nodes Cache Node List M aintenance Zookeeper Ensemble Cache Node List ------------------ Node 1 IP:Port Node 2 IP:Port Node 3 IP:Port Node 4 IP:Port Cache Node 구동 Zookeeper 세션 연결 Ephemeral Node 수동 생성 14 / SDEC 2011 발표자료
  • 15. Arcus1.5Memcached •  •  Memcached Core ZK Community Engine Client Default Arcus Engine Engine 15 / SDEC 2011 발표자료
  • 16. Collection개발배경 •  •  ­– •  ­– •  ­– •  •  •  •  •  16 / SDEC 2011 발표자료
  • 17. Collection개요 •  •  ­– •  •  •  ­– •  64bitintegerkey(bkey),value •  •  •  •  •  17 / SDEC 2011 발표자료
  • 18. Collection저장구조 Hash Table For Uniqueness Checking header key value value2 .. . header key setinfo item Forward/Backward Range Scan header key b+treeinfo .. . bkey1 .. .. . . value 18 / SDEC 2011 발표자료
  • 19. NAVERMeCollection활용사례 정보콘텐츠on네이버 카페 블로그 뉴스 웹툰 책 뮤직 etc... 지식인 19 / SDEC 2011 발표자료
  • 20. NAVERMeCollection활용사례 •  ­– SELECT  *     FROM  messages   WHERE  feedid  in  (feedID1,  feedID2,  …,  feedIDn)                      AND  create_time    sysdate()   ORDER  BY  create_time  DESC   LIMIT  20; •  •  •  •  20 / SDEC 2011 발표자료
  • 21. NAVERMeCollection활용사례 •  •  •  ­– Push Delivery User Inbox 1 Feed 1 User Inbox 2 Feed M User Inbox N 21 / SDEC 2011 발표자료
  • 22. NAVERMeCollection활용사례 구독관계Cache (SETtype) 사용자별 구독글목록Cache (B+Treetype) 구독글내용Cache (K/Vtype) 22 / SDEC 2011 발표자료
  • 23. BulkInsert •  •  •  •  •  •  23 / SDEC 2011 발표자료
  • 24. SequentialCommandExecution •  Client Server 0 ms •  •  40 usec 1 ms •  40 usec •  2 ms •  40 usec •  3 ms 24 / SDEC 2011 발표자료
  • 25. Server-sideCommandPipelining •  ­– Client Server •  0 ms 120 usec •  1.x ms •  •  25 / SDEC 2011 발표자료
  • 26. OtherFeatures •  •  •  •  •  •  New Technology Requirements New Idea Features New Products 26 / SDEC 2011 발표자료
  • 27. ArcusandMembase 기술 협조, 공동 개발 Memcached 기반 Elastic data cloud 27 / SDEC 2011 발표자료
  • 28. 28 / SDEC 2011 발표자료