Afterthoughts - Haskell/STM Dojo

Yes, it was shady this time too
Wouldn't it be fun if you knew how to implement those trendy NoSQL database engines like MongoDB?

Well, as it happens that's what the dojo held by our code wizard Zouppen taught us. He illustrated the concept of Software Transactional Memory using Haskell Platform and as a side result came up with a NoSQL database engine.

Just like the last time each participant (around ten) got to code something. And I think everyone got something out of the event. There were plenty of Haskell beards around (without beard for some reason) and a couple of new faces even. Thanks for popping by!

In case you missed the event, check out the sample code. It describes our database scheme. You can run the database server even if you have the right dependencies installed. It's an in-memory storage so don't put anything too important there. You can exercise the server quite easily using extensions such as RESTClient (Firefox) or REST Console (Chrome). If you are hardcore, you'll use curl or something.

The packages needed to run the thing should be available as standard Ubuntu packages. Otherwise you might want to look into setting up Haskell Platform. If you are an absolute beginner, Learn You a Haskell is a nice starting point.


Post a Comment

Copyright © Geek Collision