> It's the Rails convenience stuff which slows things down massively.
Yeah no kidding.. https://samsaffron.com/archive/2018/06/01/an-analysis-of-mem...
Yeah no kidding.. https://samsaffron.com/archive/2018/06/01/an-analysis-of-mem...
Ideally, you'd serialize directly from the database, bypassing the application entirely. Easily doable in ActiveRecord, but it's an explicit action, not the default. Not even sure if it's available in other databases besides PostgreSQL.