========================
(¯`·._.·[ MEMORY ]·._.·´¯)
             by Kai Elvin
 ========================

2 layers of memory.

Disk (hard drive / ssd) :
* Large
* persistent
* super slow

RAM (Dram) :
* Smaller
* volatile
* super fast (close to CPU)

# Mechanism 1
store on database (slow)
query database (slow)
Load on memory, caching (added layer of complexity)
work on memory

# Mechanism 2
load from raw file, slow (deserialization)
work on memory
dump on file (layer of complexity : serialization)


FUTURISM, exciting

Moore's law, exponential growth             EVERY one or two years
64MB, half a gig of memory, 1, 2, 4, 8.     EVERY one or two years
16 32 64 200 500 1TB
Technologies out there in labs : persistent RAM

Server : 200GB mem, "database free", fully functionnal