SRAM vs DRAM
Static RAM ( SRAM ) and Dynamic RAM ( DRAM ) are both types of volatile memory used in computers, but they differ significantly in how they store data, speed, cost and power consumption. SRAM uses flip flops to store data and retains it as long as the other hand, stores data as a charge on capacitors and requires periodic refreshing to maintain data, making it slower and less expensive but also more power efficient. SRAM DRAM Data retention Retains data as long as power is supplied Requires periodic refreshing to retain data Speed Faster access time Slower access time Power consumption Consumes less power Consumes more power Use Cache memory, CPU registers Main memory, system memory, storage