Logo

» About

» Downloads

» GitHub

» GitLab

Mottek Blog

» Mottek

» Archive

2024 2023 2022 2020 2019 2018 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2004 2003

RSS

Yak Shaving

Yak Shaving

The keen eye will have notice some small changes and disruptions on 40Hz and in the RSS feed. What was that about? Well, some good yak shaving, of course!

It all started with the desire to visualize data from some small sensor motes I deployed (another yak which got shaved - yes, you can buy these things, but where’s the fun in that!). Which obvioulsy needs some sort of database. And while it’s possible to just use an off the shelf database, I wanted to see how an optimized time series database could be implemented in OCaml. Turns out it’s not too difficult, but at some point, I ran into a hard to diagnose deadlock, and while debugging it, I searched for a short term replacement.

One candidate is InfluxDB, which comes with a nice Grafana data source plugin. One issue to resolve is memory consumption of the database, and while my current server would likely handle the load, I was already earlier thinking about migrating to a slightly beefier machine.

Migrating a server is never fun though, so I checked which services I would like to discard in the process. And one candidate was the PHP-based content managament system I put together a long time ago. So while the server is not migrated, I switched the content management already to Hugo. There are some rough edges, I really liked for example the ability to refer to pages in a Wiki-style, but it is also nice to simplify the server setup.

That was however not all of the Yak, stay tuned for more!

PS: Apologies for some still remaining breakage. I tried to catch broken links with redirect, and will fix issues as I’ll find them.

2019-08-05