Similar to litements litecache is DiskCache[0]. It is a pure python Redis/Memcached alternative which is faster than them for reads. Under the hood it uses shared Sqlite.
1. No network round trips 2. SQLite runs in the same process as your app, so reading from SQLite is basically like calling a function in your program (from a performance point of view).
> SQLite runs in the same process as your app, so reading from SQLite is basically like calling a function in your program
But SQLlite needs to write to disk, which will be much costly.
[0] - http://www.grantjenks.com/docs/diskcache/cache-benchmarks.ht...