PCAP Project: Probabilistic CAP and Adaptive
1 / 1

PCAP Project: Probabilistic CAP and Adaptive

Author : danika-pritchard | Published Date : 2025-05-16

Description: PCAP Project Probabilistic CAP and Adaptive Keyvalue Stores Indranil Gupta Associate Professor Dept of Computer Science University of Illinois at UrbanaChampaign Joint work with Muntasir Raihan Rahman Lewis Tseng Son Nguyen Nitin

Presentation Embed Code

Download Presentation

Download Presentation The PPT/PDF document "PCAP Project: Probabilistic CAP and Adaptive" is the property of its rightful owner. Permission is granted to download and print the materials on this website for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

Transcript:PCAP Project: Probabilistic CAP and Adaptive:
PCAP Project: Probabilistic CAP and Adaptive Key-value Stores Indranil Gupta Associate Professor Dept. of Computer Science, University of Illinois at Urbana-Champaign Joint work with Muntasir Raihan Rahman, Lewis Tseng, Son Nguyen, Nitin Vaidya Distributed Protocols Research Group (DPRG) http://dprg.cs.uiuc.edu 1 Key-value/NoSQL Storage Systems Key-value/NoSQL stores: $3.4B sector by 2018 Distributed storage in the cloud Netflix: video position (Cassandra) Amazon: shopping cart (DynamoDB) And many others NoSQL = “Not Only SQL” 2 Key-value/NoSQL Storage Systems (2) Necessary API operations: get(key) and put(key, value) And some extended operations, e.g., “CQL” in Cassandra key-value store Lots of open-source systems (startups) Cassandra (Facebook) Riak (Basho) Voldemort (LinkedIn) Closed-source systems with papers Dynamo 3 Key-value/NoSQL Storage: Fast and Fresh Cloud clients expect both Availability: Low latency for all operations (reads/writes) 500ms latency increase at Google.com costs 20% drop in revenue each extra ms  $4 M revenue loss Consistency: read returns value of one of latest writes Freshness of data means accurate tracking and higher user satisfaction Most KV stores only offer weak consistency (Eventual consistency) Eventual consistency = if writes stop, all replicas converge, eventually Why eventual? Why so weak? 4 CAP Theorem  NoSQL Revolution Conjectured: [Brewer 00] Proved: [Gilbert Lynch 02] When network partitioned, system must choose either strong consistency or availability. Kicked off NoSQL revolution Abadi PACELC If P, choose A or C Else, choose L (latency) or C Consistency Partition-tolerance Availability /Latency RDBMSs Cassandra, RIAK, Dynamo, Voldemort HBase, HyperTable, BigTable, Spanner 5 Hard vs. Soft Partitions CAP Theorem looks at hard partitions However, soft partitions may happen inside a data-center Periods of elevated message delays Periods of elevated loss rates Data-center 1 (America) Data-center 2 (Europe) Hard partition ToR ToR CoreSw Congestion at switches => Soft partition 6 Our work: From Impossibility to Possibility C  Probabilistic C (Consistency) A  Probabilistic A (Latency) P  Probabilistic P (Partition Model) Probabilistic CAP Theorem PCAP System to support SLAs (service level agreements) 7 PCAP Theorem: Impossible to achieve both Probabilistic Consistency and Latency under Probabilistic Partitions if: tc + ta < tp and pua + pic < α Bad network -> High (α, tp ) To get better consistency -> lower (pic ,tc) To get better latency -> lower (pua ,ta) Probabilistic CAP 8 9 Towards Probabilistic SLAs Consistency SLA: Goal is to Meet a desired freshness probability (given freshness interval) Maximize probability that client receives operation’s result within the timeout

Download Document

Here is the link to download the presentation.
"PCAP Project: Probabilistic CAP and Adaptive"The content belongs to its owner. You may download and print it for personal use, without modification, and keep all copyright notices. By downloading, you agree to these terms.

Related Presentations

WinPcap Sniffing the Section 2.1 PCAP Project: Probabilistic CAP and Adaptive Key-value Stor Probabilistically Consistent WinPcap  Do’s and Don’ts Parent-Child Assistance Program (PCAP) PCAP Certified Associate in Python Programming Certification Exam Certified Associate in Python Programming {PCAP}| Nexon Certification Exam PCAP-31-03 : Certified Associate in Python Programming Exam PCAP-31-02 : Certified Associate in Python Programming Course Logistics and Introduction to Probabilistic Machine Learning Adaptive Immunity Acquired or adaptive immunity: It is the resistance of individuals to