![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://programming.dev/pictrs/image/8140dda6-9512-4297-ac17-d303638c90a6.png)
3·
1 year agoThe basic idea is to keep data as close to the processor as possible, so with a database that means storing the result of commonly used queries in memory.
The basic idea is to keep data as close to the processor as possible, so with a database that means storing the result of commonly used queries in memory.
There’s no need to migrate the database, that shouldn’t be an issue at this size. Caching should be implemented as another comment suggested.
I’d be interested as well.
Exactly! Blockchain and PoW are terrible but id really like to know how much time and electricity is consumed to serve ads, cool servers, train and educate people to effectively become ad engineers.