# Failures and scaling

> What happens when the registrar, Route 53 or a renewal fails, and how Domains grows.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://domains.docs.sypnia.com/architecture/failures-and-scaling/

For agents: Domains failures: registry refusal → failed with reason, reservation released; slow registrar → pending with backoff (transfers take days); Route 53 throttle → queued and paced; renewal failure → retried daily, owners told; short credits → reminders, never renewed on credit; engine down → DNS keeps answering, only changes/purchases wait; outside edits → reconciler reports drift within an hour. Scaling: Route 53 serves DNS; engine on Lambda paced by SQS; plan for Route 53 per-account request rate and hosted-zone count.

## Failures

| What fails                           | What happens                                                                                                                          |
| ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------- |
| The registry refuses a registration  | the operation is `failed` with the registry's reason; the credit reservation is released                                              |
| The registrar is slow                | the operation stays `pending` and is polled with backoff; transfers can take days and that is normal                                  |
| Route 53 throttles                   | changes wait in the queue and are sent at the allowed pace; nothing is dropped                                                        |
| A renewal fails at the registrar     | it is retried daily until expiry; owners are told at once                                                                             |
| Credits are short for a renewal      | reminders as in [Renewals](https://domains.docs.sypnia.com/ownership/renewals); the domain is never renewed on credit you do not have |
| The engine is down                   | DNS keeps answering: Route 53 serves the zones on its own; only changes and purchases wait                                            |
| Someone edits a zone outside Domains | the reconciler reports the drift within an hour and offers to keep or revert it                                                       |

## Scaling

DNS answers are served by Route 53 and scale with it. The engine's work is small and bursty (purchases, changes, polling), and runs on Lambda paced by SQS. The limit to plan for is Route 53's per-account request rate and number of hosted zones, raised with AWS ahead of growth.
