Control.set :telemetry_request_purge_job_wait, 1
Moved from deleting 500 rows every 2 seconds to every second. Easy to see on the uptick on @PlanetScale graphs.
Controlling things at runtime is the way.
Website | https://johnnunemaker.com |
Control.set :telemetry_request_purge_job_wait, 1
Moved from deleting 500 rows every 2 seconds to every second. Easy to see on the uptick on @PlanetScale graphs.
Controlling things at runtime is the way.
Continuously purge data from mysql via good job in a safe way. Controlled by feature flag and runtime controls for how many records to delete in a batch and how long to wait to run the job again (to control replication lag).
Easy to turn off, slow down or speed up at runtime!
Flipper 1.3.5 is out. Mostly just some effort to make the active record and redis adapters Just Workβ’ more often than they were.
https://blog.flippercloud.io/flipper-1-3-4-and-1-3-5/
Enjoy!
So many goodies in rails of extras β particularly measure_queries. A lot of overlap with pghero.