hungrybread@lemmygrad.mltoProgramming@programming.dev•Does Lemmy really benefit from Rust? Is code execution speed the bottleneck?English
1·
1 year agoThere’s no need to migrate the database, that shouldn’t be an issue at this size. Caching should be implemented as another comment suggested.
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.