Improvements for events, buffer is filling during backup compression

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

Post Reply
thunderstorm
Senior Boarder
Senior Boarder
Posts: 75
Joined: Sun Mar 31, 2019 11:00 am

Improvements for events, buffer is filling during backup compression

Post by thunderstorm »

I really appreciate that db compression is decoupled in the backup script, but it seems that events aren't necessarily executed and the buffer is filling - on my nano SD that takes about ~13min.
Would it be feasible to allow those updates during the compression / after the db is copied ? I'd assume db-locks aren't required anymore. Or is the event handling single-threaded or compression that expensive that other work should be delayed ?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Improvements for events, buffer is filling during backup compression

Post by admin »

Events are serialized to avoid doing too much in parallel and causing out-of-memory issues by that.
Post Reply