In Proof-of-Work (PoW) systems, a 51% attack happens when an attacker controls more than half of the blockchain’s hashing ...
Going to the database repeatedly is slow and operations-heavy. Caching stores recent/frequent data in a faster layer (memory) ...