Contains various design strategies with the implementation of them on a small level with an example. This repo helps us to understand how and why one should implement various designs while creating applications.
- Mimics the case of an url shortner. Uses 2 queues where the shortened url are generated and kept as some request comes it is consumed and is allocated to the allocated queue which says that shortened url is used.
- This allows to rate limit a particular api request.
- Logger is used to log the application uses the sequencing accordingly. Uses heap to map the requests.
- rabbit_mq application upload asynchronously and notify user about upload using rabbit mq
- This was just a try and mimic program for the simulation in run time memory.
- How the things work. What are the assumptions?
- So we aim to build the trie which is distributed. Now the distribution can be done on the basis of multiple things.For the ease of things we willl keep it simple and will distribute the trie as per the region. So this means every region will have different trie node. The data between them are mutually exclusive to each other.
- Code for
Distributed Trie v1
at Link to Distributed Trie v1 - Refer to diagram below
Feel free to reach me out and give suggestions on the same.
Connect at amit3200