False Sharing — The lesser known performance killer

False sharing is a performance-degrading usage pattern that can arise in systems with distributed, coherent caches at the size of the smallest resource block managed by the caching mechanism. When a system participant attempts to periodically access data that will never be altered by another party, but those data share a cache block with data that are altered, the caching protocol may force the first participant to reload the whole unit despite a lack of logical necessity....

Any fool can write code that a computer can understand. Good programmers write code that humans can understand.

Martin Fowler

Demystifying Consensus Algorithms and Their Implementations.

A deep dive into consensus algorithms and fundamentals of distributed computing What are consensus algorithms? What are distributed databases?How do Kubernetes and ZooKeeper store data in a fault-tolerant way? These are some of the questions that we will try to answer in this article. Part A of the article will try to explain some of the...

SQL Injection and XSS Security Threats

SQL injection A SQL injection attack happens when structured query language (SQL) code is injected into forms, cookies, or http headers that do not use data sanitising or validation methods to verify the request. This flaw allows data extraction, changes, or deletion from databases that are connected to websites. Cross-Site Scripting (XSS) An XSS attack...

Local Storage vs Session Storage vs Cookie.

Are you always confused between session storage, local storage and cookies? If yes, then you are at the right placeThis article will give you a brief, to the point understanding of these 3 important features LocalStorage Stores data with no expiration date, and gets cleared only through JavaScript, or clearing the Browser cache / Locally...