Northwind Elixir Traders (PragProg)

On a per-tenant basis, this limit seems pretty generous, no? Except if the tenant represents an organization with multiple users. And even then, for frequent writes it makes more sense to handle this with Mnesia and periodically dump to disk for persistence. Or (neater), have a separate repo backed by an SQLite db to which you periodically dump from Mnesia. Perhaps even empty Mnesia when you dump, and then write a module that fetches from “hot” (Mnesia) for recent events, or “cold” (for older events), or both, if the query spans both.

1 Like