Back to Making DNSimple (Changelog Interviews #637), with Anthony Eden.
Why Are Name Availability Checks So Hard for DNSimple?
The hard part of suggesting domain names is not coming up with words to string together and suggest. The hard part is determining whether the names are available. Most registries set really strict limits on how many times a query can ask whether a name is available, and in some cases the limits are absurdly small.
Some registries let you open two synchronous connections, and that is it. Everything being done has to fit through two. The connections are stateful, not stateless. A new version of the protocol that registrars use to connect to registries is being developed around REST and stateless transfer through the entire packet, so a long-lived connection does not have to stay open. Keeping a long-lived connection open does not scale to the level people need to operate at.
On the show, Anthony Eden has a feeling that search will be a lot easier to add once the new protocol starts getting deployed at some of the registries and registrars. The suggestion part is not what makes the search hard. The checking part is really hard.
Making DNSimple (Changelog Interviews #637) ·
From the transcript
the, the funny part about suggesting domain names isn't coming up with the words to put together, to string together and suggesting. It's actually determining if they're available.
Available, yeah, they're available, yeah.
There's,
there's
really, really strict limitations at most registries about how many times you can send a query, is this available?
Like, in
some cases, absurdly small limitations.
So,
for example, there are registries who let you open two
synchronous connections for your entire, and that's it. Like, you,
you,
you have to somehow fit everything you're doing through two. And it's like, how, because, and, and they're stateful. Connections. We're not talking stateless. We're freaking too stateful. So one of the things that's being developed right now is a new version of the protocol that we, that registrars use to connect to registries based on like actual REST and stateless, like state transfer through, through the entire packet so that you don't have to run in these situations where you have to keep a long-lived connection open because it just doesn't scale up to the level that, that people need to operate at.