Commit Graph

10 Commits

Author SHA1 Message Date
Claudio Ortolina 77141fbfaf Reduce machine size to 512MB
With current cover caching headers, the number of requests per page is
generally lower (except for one single spike when image cache expires).
It's therefore acceptable to lower the amount of connections in the
pool, which in turn decreases the amount of needed memory.
2024-12-28 12:26:44 +00:00
Claudio Ortolina 6660d195e4 Decrease visible records per page
After months of usage, I rarely paginate the list, so it's not necessary
to load 100 at a time. 20 is enough.

By matching 20 records with a 20 pool size, we should keep the repo
queue time to a minimum.
2024-12-15 11:15:46 +03:00
Claudio Ortolina 35435e11c0 Performance tuning
To decrease the repo queue time, we increase the pool size to 10, and
increas RAM accordingly.
2024-12-15 10:59:24 +03:00
Claudio Ortolina acc052933a Try and use a 512MB machine 2024-11-28 17:26:38 +00:00
Claudio Ortolina 33631ea89b Increase memory size 2024-11-13 20:44:03 +00:00
Claudio Ortolina 18ae8b7866 Refactor last_fm configuration
Move all configuration outside of the LastFm module, so that it's not
polluted with references to the parent music_library application.
2024-11-06 12:09:38 +00:00
Claudio Ortolina c55b94c347 Test suspending instead of stopping on inactivity 2024-10-15 15:46:25 +01:00
Claudio Ortolina cbdf809e69 Format fly.toml file 2024-10-15 15:45:05 +01:00
Claudio Ortolina 97ebf13c7b Update production host 2024-09-27 19:50:08 +01:00
Claudio Ortolina 7dec0309b5 Setup fly.io deployment 2024-09-27 19:38:17 +01:00