Trade-offs in distributed system (part 2)

What can be compromised?

  • Network partition
  • Serializability
  • SLA-availability

A note on throughput(QPS)

Low latency without linearizability(eventual consistency)

Primary-replica setup of MySQL

Look-aside cache

W + R <= N in NoSQL

Linearizability with high latency

Google Spanner

  • Very high SLA-availability(99.999%)
  • Lock-free read(high concurrency, low latency)
  • Serializability
  • Linearizability





“Writing in essence is rewriting”

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

No, Covid-19 Vaccines Won’t Change Your DNA

The Second Project of Ironhack’s Web Dev Bootcamp

Cypress Test Automation Reports on Netlify

11 Things Java Programmers Should Learn in 2022

Quick Test: Ubuntu Studio 20.04.3

Service Mesh Communication Across Kubernetes Clusters

Python Dictionary — A Complete Guide

Python dictionary

How to make the last business card you'll ever need. (NFC Business Card)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


“Writing in essence is rewriting”

More from Medium

Some of the best practices in designing a REST API in 3min

Basics Of Consistency And Locking In Databases

Why are message queues so important in software engineering (and pizza shops)?


Starting the journey with scalability, horizontally scaling with load balancing