erlang and MySQL Cluster

Ok, in case you just showed up going "finally!", I'm sorry to let you down - I haven't yet ported NDB API to erlang.

But I should - and I want to.

Brian was just talking about concurrent program and mentioned erlang. Turns out that when I was starting off working on the NDB/Connectors, Elliot asked me if I'd considered erlang. Always up for learning a new language I did a quick check, but there were no swig bindings, so I put it off until later.

Then later came and I still hadn't written any code, so I found a book online and started reading. I have to say erlang is very cool.

There is no way on earth I can wrap the NDB API in any meaningful way using erlang. However, I might be able to reimplement the wire protocol in erlang and have the resulting thing be way more stable and scalable. Thing is - it really made me thing we should reimplement all of NDB in erlang. It handles several of the tasks done by the NDB system already by itself - and it's not C++ so it doesn't crash and die every three seconds. On the other hand, I don't think it's as fast as C++ yet - so our speed-hungry friends might not want to play.

However... hey Brian - wanna sit down an write a new clustered database engine for MySQL using erlang? Could be fun...


Powered by ScribeFire.

0 Comments

Comment on this post