Optimize Miniflux call batches and dilute Postgres load #4403
Replies: 1 comment 1 reply
|
Not tested, but by reading the doc, I think what you could make miniflux fetch one feed at a time rather in parallel.
I think that then the scheduler would then wake up every minute, retrieves exactly 1 feed, hands it to the single worker, updates Postgres, and goes back to sleep. Spreading the load instead of by default having batches of 1600 feed polling each hour. Of course, polling 100 feeds will now take 100 minutes. There is no free lunch :-) PS: POLLING_SCHEDULER=entry_frequency may be worth trying: "The polling interval for each feed is based on the average update frequency over the past week." to avoid waiting too long to poll active feeds? |
Uh oh!
There was an error while loading. Please reload this page.
We have a subscriber instance for our platform, and the PostgreSQL CPU usage due to batch calls from Miniflux has been our biggest problem.
We haven't been able to find a way to spread the number of calls throughout the day instead of making large batches of calls.
Miniflux:
Postgres:
All reactions