SlideShare a Scribd company logo
Scalable concurrency control  in a dynamic membership A. Ciuffoletti * – A. Asim ** *  INFN-CNAF, Bologna, Italy **  University of Paris Sud-XI, Paris, France 3 rd  CoreGRID Workshop on Middleware – June 2008
Problem statement A centralized resource A large, dynamic number of users Each user must be periodically granted access to the resource A use case A centralized registry that must be periodically checked  by each user to synchronize a local cache.
A multi-token approach Given  The service time (here  token latency )  t  and The number of nodes in the system  N We can figure out the number of tokens needed to sustain a certain period  p : But we need: An overlay ring (difficult) The size of the network (difficult)
Our solution Overlay topology: mesh with degree near to N Token routing: random neighbor Token number: closed loop over  p Problems: Security issues (tokens are received from “anybody”) Maintain a cache with most of the neighbors Closed loop control
Closed loop control Measure the time from the last token receive event Early tokens are delayed in a short queue (discard on overflow) Generate a new token upon timeout Appear to be quite simplistic: loop control is still to refine Problem (minor): sensitivity to network performance
Membership maintenance Recent updates to the local membership directory are piggybacked to the token Limited capacity of the token At each step the list of updates is recomputed Join event Create a new token and send it to a known peer Leave event File a leave event in the first availabletoken
Experimental results Decrease exponentially (good) Maximum at the minimum (bad) Average at 1.7 instead of 2.6 (bad) Waving? Due to buffering.
Experimental results The process converges (good!) Its dynamics are extremely fast (unexpectedly good) Number of token exceeds expectation (55 instead of 2!)
Experimental results All join events eventually received (good) Takes a long time (expected)
Conclusions One of the first experiments of this kind in the Internet scale (instead of theoretical investigation and simulations) Mixed results: The process stabilizes, local directories eventually converge Dynamics are not those expected: too many tokens, short lived, too frequent Overall: we are on the right way, tuning needed

More Related Content

PDF
Insight DE project
PPTX
A Framework to Evaluate the Effectiveness of Different Load Testing Analysis ...
PPTX
Metrics lightning talk
PDF
TMPA-2017: Live testing distributed system fault tolerance with fault injecti...
DOC
A new, efficiet coordinated checkpointing protocol combined with selective se...
PPTX
probability in telecom switching
PDF
PAC 2019 virtual Antoine Toulme
PPTX
Introduction to Reactive programming
Insight DE project
A Framework to Evaluate the Effectiveness of Different Load Testing Analysis ...
Metrics lightning talk
TMPA-2017: Live testing distributed system fault tolerance with fault injecti...
A new, efficiet coordinated checkpointing protocol combined with selective se...
probability in telecom switching
PAC 2019 virtual Antoine Toulme
Introduction to Reactive programming

What's hot (10)

PDF
pathtrace
PDF
Computer network (8)
PDF
Opentracing 101
PDF
WCRE06.ppt
PPTX
OpenTelemetry For Architects
PDF
Solution8 v2
PDF
Communicating with Channels
PPTX
Real time operating systems (rtos) concepts 4
PPT
Mutual Exclusion Election (Distributed computing)
PDF
Sistemas Distribuidos
pathtrace
Computer network (8)
Opentracing 101
WCRE06.ppt
OpenTelemetry For Architects
Solution8 v2
Communicating with Channels
Real time operating systems (rtos) concepts 4
Mutual Exclusion Election (Distributed computing)
Sistemas Distribuidos
Ad

Viewers also liked (7)

PPTX
Statement Of Strategy 1.2
PPT
Star Chart 2008
PDF
ZHAW 2016 - OCCI for monitoring
PPSX
Going Global With Out Going Broke
PPT
New Day
ODP
Grid Infrastructure Architecture A Modular Approach from CoreGRID
PDF
2013 03 occi-monitoring
Statement Of Strategy 1.2
Star Chart 2008
ZHAW 2016 - OCCI for monitoring
Going Global With Out Going Broke
New Day
Grid Infrastructure Architecture A Modular Approach from CoreGRID
2013 03 occi-monitoring
Ad

Similar to Scalable concurrency control in a dynamic membership (20)

PDF
The wandering token
PPTX
INC 2004: An Efficient Mechanism for Adaptive Resource Discovery in Grids
PDF
Link aware nice application level multicast protocol
PDF
Kernel Recipes 2014 - NDIV: a low overhead network traffic diverter
PPTX
HydraICN : Scalable Content Exchange in Challenged ICNs
PDF
HydraICN : Scalable Content Exchange in Challenged ICNs
PDF
The Zen of High Performance Messaging with NATS
PDF
The Zen of High Performance Messaging with NATS (Strange Loop 2016)
PDF
The Zen of High Performance Messaging with NATS
PDF
Design of a secure "Token Passing" protocol
PDF
Writing Networking Clients in Go - GopherCon 2017 talk
PDF
GopherCon 2017 - Writing Networking Clients in Go: The Design & Implementati...
PDF
A Decentralized Application for Secure Private and Group Messaging in a Peer-...
PPTX
Whisper
PDF
Mutual exclusion
PDF
Practical Byzantine Fault Tolernace
DOCX
Running Head CLIENT SERVER AUTHENTICATIONHANDLING CONCURRENT CL.docx
PDF
Overlapping Ping Monitoring
PPT
An overview of Peer-to-Peer technology new
ODP
Distributed Coordination
The wandering token
INC 2004: An Efficient Mechanism for Adaptive Resource Discovery in Grids
Link aware nice application level multicast protocol
Kernel Recipes 2014 - NDIV: a low overhead network traffic diverter
HydraICN : Scalable Content Exchange in Challenged ICNs
HydraICN : Scalable Content Exchange in Challenged ICNs
The Zen of High Performance Messaging with NATS
The Zen of High Performance Messaging with NATS (Strange Loop 2016)
The Zen of High Performance Messaging with NATS
Design of a secure "Token Passing" protocol
Writing Networking Clients in Go - GopherCon 2017 talk
GopherCon 2017 - Writing Networking Clients in Go: The Design & Implementati...
A Decentralized Application for Secure Private and Group Messaging in a Peer-...
Whisper
Mutual exclusion
Practical Byzantine Fault Tolernace
Running Head CLIENT SERVER AUTHENTICATIONHANDLING CONCURRENT CL.docx
Overlapping Ping Monitoring
An overview of Peer-to-Peer technology new
Distributed Coordination

More from Augusto Ciuffoletti (17)

PDF
An open-source testbed for IoT systems
PDF
Thingspeak: integrazione
PDF
Thingspeak: fondamenti
PDF
Design and implementation of a low-cost modular sensor
PDF
Open Cloud Computing Interface
PDF
Laboratorio Openstack
PDF
Automated deployment of a microservice based monitoring architecture
PDF
OCCI Monitoring at OGF42 - Concepts and demo
PDF
Extending the OCCI API with monitoring capabilities
PDF
Monitoring a virtual network infrastructure - An IaaS perspective
PDF
Collision avoidance using a wandering token in the PTP protocol
PDF
TIP: a course about IP convergence technology
PDF
Network Monitoring in the age of the Cloud
ODP
Prototype Implementation of a Demand Driven Network Monitoring Architecture
ODP
IEEE1588 - Collision avoidance for Delay_Req messages in broadcast media
ODP
Network Monitoring in the age of the Cloud
An open-source testbed for IoT systems
Thingspeak: integrazione
Thingspeak: fondamenti
Design and implementation of a low-cost modular sensor
Open Cloud Computing Interface
Laboratorio Openstack
Automated deployment of a microservice based monitoring architecture
OCCI Monitoring at OGF42 - Concepts and demo
Extending the OCCI API with monitoring capabilities
Monitoring a virtual network infrastructure - An IaaS perspective
Collision avoidance using a wandering token in the PTP protocol
TIP: a course about IP convergence technology
Network Monitoring in the age of the Cloud
Prototype Implementation of a Demand Driven Network Monitoring Architecture
IEEE1588 - Collision avoidance for Delay_Req messages in broadcast media
Network Monitoring in the age of the Cloud

Recently uploaded (20)

PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Network Security Unit 5.pdf for BCA BBA.
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
cuic standard and advanced reporting.pdf
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Cloud computing and distributed systems.
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Machine learning based COVID-19 study performance prediction
PDF
Approach and Philosophy of On baking technology
PPTX
A Presentation on Artificial Intelligence
Spectral efficient network and resource selection model in 5G networks
Network Security Unit 5.pdf for BCA BBA.
The AUB Centre for AI in Media Proposal.docx
The Rise and Fall of 3GPP – Time for a Sabbatical?
“AI and Expert System Decision Support & Business Intelligence Systems”
cuic standard and advanced reporting.pdf
Empathic Computing: Creating Shared Understanding
Cloud computing and distributed systems.
Programs and apps: productivity, graphics, security and other tools
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Agricultural_Statistics_at_a_Glance_2022_0.pdf
MYSQL Presentation for SQL database connectivity
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Machine learning based COVID-19 study performance prediction
Approach and Philosophy of On baking technology
A Presentation on Artificial Intelligence

Scalable concurrency control in a dynamic membership

  • 1. Scalable concurrency control in a dynamic membership A. Ciuffoletti * – A. Asim ** * INFN-CNAF, Bologna, Italy ** University of Paris Sud-XI, Paris, France 3 rd CoreGRID Workshop on Middleware – June 2008
  • 2. Problem statement A centralized resource A large, dynamic number of users Each user must be periodically granted access to the resource A use case A centralized registry that must be periodically checked by each user to synchronize a local cache.
  • 3. A multi-token approach Given The service time (here token latency ) t and The number of nodes in the system N We can figure out the number of tokens needed to sustain a certain period p : But we need: An overlay ring (difficult) The size of the network (difficult)
  • 4. Our solution Overlay topology: mesh with degree near to N Token routing: random neighbor Token number: closed loop over p Problems: Security issues (tokens are received from “anybody”) Maintain a cache with most of the neighbors Closed loop control
  • 5. Closed loop control Measure the time from the last token receive event Early tokens are delayed in a short queue (discard on overflow) Generate a new token upon timeout Appear to be quite simplistic: loop control is still to refine Problem (minor): sensitivity to network performance
  • 6. Membership maintenance Recent updates to the local membership directory are piggybacked to the token Limited capacity of the token At each step the list of updates is recomputed Join event Create a new token and send it to a known peer Leave event File a leave event in the first availabletoken
  • 7. Experimental results Decrease exponentially (good) Maximum at the minimum (bad) Average at 1.7 instead of 2.6 (bad) Waving? Due to buffering.
  • 8. Experimental results The process converges (good!) Its dynamics are extremely fast (unexpectedly good) Number of token exceeds expectation (55 instead of 2!)
  • 9. Experimental results All join events eventually received (good) Takes a long time (expected)
  • 10. Conclusions One of the first experiments of this kind in the Internet scale (instead of theoretical investigation and simulations) Mixed results: The process stabilizes, local directories eventually converge Dynamics are not those expected: too many tokens, short lived, too frequent Overall: we are on the right way, tuning needed