Category: Tech Learnings
Just a random collection of my tech learning notes
-
Bloom Filters
They are a probabilistic data structure. It is just a bit array. This is used in conjunction with Disk. So every time instead of querying the disk once can check the bloom filter and know if it’s absent. Let’s take size as 8. _ _ _ _ _ _ _ _ _ If you get…
-
How VPN protects the identity
VPN helps to protect the requestor to go through a resource without letting the requested entity know who the requestor is. Let’s say there is an SSL connection to google.com and we search something Translates to GET request – > www.google.com/q=search (Layer 7) Layer 4 – [ SourcePort – 123 ][ www.google.com/q=search – Body ][…
-
Types of Caching
Spatial Cache It works on keeping in cache all the pages which are present nearby of a particular request. If the application is able to predict what the next set of elements/tools is going to be used then it can bring that into memory. Example – if the application is Photoshop – if the user uses…
-

Write Amplification – Application, DB, SSD
Application Write Amplification It’s a single operation on the front-end – let’s say -> mark a task completed. This may translate to multiple things on the backend. It would change the status to completed based on the status completion – another task needs to be marked completed update a log table for maintaining history So…