Claudio Ortolina
a4bd6c3609
Increase pool size to avoid resource contention on stats page
2025-08-17 09:28:43 +03:00
Claudio Ortolina
719f6cc8bb
Increase memory size to 2048mb
2025-06-19 17:51:23 +03:00
Claudio Ortolina
0768176e70
Use two CPUs
2025-06-07 22:15:29 +01:00
Claudio Ortolina
eb064a65a5
Increase machine memory
...
Needed to be able to vacuum the database
2025-05-19 11:42:06 +01:00
Claudio Ortolina
0577f72484
Remove Prometheus-based metrics
...
Never use them
2025-05-15 16:14:26 +01:00
Claudio Ortolina
c44fcc7321
Install Oban with dedicated repo
2025-04-13 18:09:53 +01:00
Claudio Ortolina
32c11f86c9
Make timezone configurable
2025-04-10 18:34:05 +01:00
Claudio Ortolina
d73f2dca3e
Expose metrics port
2025-03-04 17:59:22 +00:00
Claudio Ortolina
7c6fe3c0d2
Mount metrics in application
...
Avoids pulling entire TelemetryMetricsPrometheus dependency.
2025-03-04 17:55:07 +00:00
Claudio Ortolina
1d23bd17a4
Experimental Prometheus metrics
2025-03-04 14:31:55 +00:00
Claudio Ortolina
a6c8b39947
Reduce pool size
...
Since covers are cached for 1 year, the pressure on the db is much lower
(despite etag checking), so we can tune the application to use even more
capacity without visible slowdown.
2025-02-06 08:16:51 +00:00
Claudio Ortolina
6d64153ea8
Define ERROR_DATABASE_PATH env variable
2025-01-23 10:29:18 +00:00
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