Closed raimohanska closed 3 years ago
I've been thinking about the smarter persitence model. Currently full board history is kept in memory for active boards and written to the db on all changes. Not sustainable, lots of mem usage and outrageous amount of IO towards DB (all events are sent over and over again to DB).
Well there it is: d3a128bd9c0a86124bd8adff945901c46d891c05
What's still missing:
Currently the full board history is rewritten to the db in JSON for each change (throttled on the server though). It would be very desirable to be able to just append the newest events to the DB.
Currently the single JSON blob object is used to save rows on the DB, as Heroku psql is row limited :)