6 ms·
The key moment is not to have any persistent state in the app. App may use a database, that's ok, but the app itself should not store any persistent state on a
by garganzol 4y ago
The key moment is not to have any persistent state in the app. App may use a database, that's ok, but the app itself should not store any persistent state on a hard drive.
Once that simple requirement is met, the scaling becomes easy.
- mtlynch 4y agoRight, but keeping a database externally adds a lot of complexity. My apps are self-contained in a single Docker container. Just Go, SQLite, and Litestream: https://mtlynch.io/litestream/ https://mtlynch.io/litestream/