Problem statement:
Let’s imagine that you want to record the website visits onto a database. The information to record is pretty simple,
Metadata of the record: <IP Address, User Agent, Location, Country>
Example record: <162.134.28.17, Mac/Chrome, California, US>
All databases come up with read/write limits. Let’s assume that the database we are going to use comes with write limit of 200 TPS.

Solving the problem:
Starting off with a simple solution without any distributed system bells and whistles. Focusing on the core architecture, we would like to have something that would prevent us from overwhelming the database with too many requests…

Prashanth Seralathan

Software Development Engineer @AWS. Distributed Systems and Algorithms.

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