r/programming • • Oct 19 '16

Google open sources the code that powers its domain registry

https://techcrunch.com/2016/10/18/google-open-sources-the-code-that-powers-its-domain-registry/
114 Upvotes

3 comments sorted by

11

u/ThisIs_MyName Oct 19 '16

https://nomulus.foo

Very neat! It's released under Apache too :D

I wonder how difficult it would be to rip out Google App Engine.

7

u/[deleted] Oct 19 '16

Very. It looks like they're using datastore and bigquery. Datastore is like any other NoSQL'y thing. It has semantics of its own which would not trivially translate to Cassandra and others. I haven't seen enough of how they're using datastore since they abstracted parts of it.

As for bigquery, depends if they're using legacy sql (its their own version of SQL which is not very compliant w/ the standards) or the standard one. By default, legacy is on, so you have to turn it off in code as a flag. An easy example of legacy sql vs SQL11 compliance is..

SELECT * from FOO1, FOO2

in legacy is equivalent to

SELECT * FROM FOO1 UNION SELECT * FROM FOO2

in SQL11. To not do a union, you have to do an explicit left join.

They also use other facilities like app engine's task queue.

4

u/gecko Oct 19 '16

Well, there are tools like AppScale, but since its APIs tend to lag behind, I wouldn't have high hopes.