Distributing consistency

  • resilient enough to withstand the loss of some computers
  • provide delivery guarantees between different computers
  • allow for global ordering for any two information
  • work across large geographical distances
  • not be bottlenecked locally by these constraints

A white piece of paper

“A man with a watch knows what time it is. A man with two watches is never sure.” (Segal’s law)

  • I had timestamps, to which I could compare other such timestamps, and
  • If each write-process wrote its information using a single such timestamp from the future and
  • If each read-process knew what the current timestamps is, and hence symbolize reliable information

A distributed, global clock

Overlapping transactions

  • B’s data is deleted, the client API is notified that it either has to retry or notify the client and
  • A can finalise its information, so that subsequent read processes can find its data.

Where this leads us

Conclusion

--

--

--

Neither distance nor latency nor badly synced clocks stays these transactions from the swift completion of their appointed writes!

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

Recommended from Medium

Snowflake Editions

#burlingtonarcade #a http://ift.tt/2iQaqoj

Easy way to install Neo4j on Docker

Developing in the Open at /programmes

Python for Everybody(chapter 13.1: eXtensible Markup Language — XML)

Struggling at programming? Let me share some tips on learning

“Computer Science for Business Professionals”

IT WORLD

Analysis of Binary Search Tree

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
Andras Gerlits

Andras Gerlits

Neither distance nor latency nor badly synced clocks stays these transactions from the swift completion of their appointed writes!

More from Medium

When Elastic Search masquerades as a database…

To the Cloud: Yemeksepeti Banabi

Engineers on air-flying aircraft.

Monolithic to Microservices: Why and How

Monolithic to Microservices: Why and How

Digital Transformation Use Case