HerpSync
Soft launchRouting HerpSync Custom Domains Without Querying the Database
EVC Studios designed and built HerpSync end to end.
HerpSync is a multi-tenant SaaS product for animal breeders. It serves public tenant pages through platform subdomains and customer-controlled domains, so the incoming host must resolve to the correct tenant before the application handles the page request.
Verified system boundary
The architecture keeps domain ownership and activation state in the application database, then synchronizes only the routing key and tenant slug into an edge-readable configuration projection. Request routing reads the projection; application workflows and domain management continue to use authoritative database state.
- 01
Normalize host
Remove routing-irrelevant variation and distinguish platform hosts from custom hosts.
- 02
Read projection
Resolve a custom host to the minimum tenant-routing identifier at the edge.
- 03
Rewrite request
Send the request to the tenant-aware public route without querying the primary database.
- 04
Reconcile state
Synchronize approved domain changes and periodically repair projection drift.