Accidental data-store .. is go!

Thursday, 19 May 2016

A couple of days ago I wrote::

The code is perl-based, because Perl is good, and available here on github:

..

TODO: Rewrite the thing in #golang to be cool.

I might not be cool, but I did indeed rewrite it in golang. It was quite simple, and a simple benchmark of uploading two million files, balanced across 4 nodes worked perfectly.

https://github.com/skx/sos/

| 2 comments.

 

Comments On This Entry

[gravitar] natxo

Submitted at 19:51:15 on 19 may 2016

hi,

did you remove the perl code? Is the go code faster/robuster?

Just curious, no particular reason.

[author] Steve Kemp

Submitted at 03:06:56 on 20 may 2016

Yes there seemed little point in keeping both codebases alive in parallel. (Although I guess it might have allowed interesting testing in isolation.)

The golang code is smaller, neater, easier to deploy, as well as faster.

 

Comments are closed on posts which are more than ten days old.

Recent Posts

Recent Tags