- Do I need to pay for anything to follow these guides?
- No. The Aurora Meter core is a free MIT package on Hex with no account and no expiry, and it covers counting, plans, limits and screens. Only the Stripe guides need Aurora Meter Pro, which has a 14 day free trial.
- Is Aurora Meter a hosted service?
- No. It is a dependency in your application. Your usage data stays in your own Postgres database, there is no sidecar to run and no third party to call on the hot path.
- Where should I start?
- Build a metered SaaS, end to end. It goes from a new Phoenix app to a paid invoice in one sitting and touches every part of the library. The other guides then take one job each in more depth.
- How fast is the counting?
- An increment is an atomic operation on an in-memory table, measured at roughly 5.5 million increments a second on the bundled benchmark. Totals are written to Postgres every five seconds by a background worker, so nothing touches the database on the request path.
- Can I use it with more than one server?
- Yes. Every node counts into its own memory and writes deltas, so nodes add up rather than overwrite each other, and the row in Postgres is the cluster total. It needs the distributed PubSub you already run for LiveView.
- What if I only need part of it?
- Take the part you need. Counting, plan entitlements and billing are three separate jobs in the library and none of them requires the others. Plenty of products use the plan gate and never meter anything.