Notes on the new DocumentDB partitioning and pricing

The new pricing scheme and partitioning functionality for DocumentDB, made available at Build, was a significant improvement to the DocumentDB offering. I learned about this a few weeks beforehand, but I did not fully see the benefits until I started looking at how this would effect our current solution. Recap…

Unit testing Redis Lua scripts

With great power comes great responsibility. The power of Lua scripting with Redis and what you can achieve using data structures beyond a key/value store is amazing. Starting out is quick and easy, and with some VIM tricks you can easily create an efficient feedback loop. But then what…

Introducing DoubleCache

DoubleCache, https://github.com/AurumAS/DoubleCache, is my own open source implementation of a layered distributed cache, it builds upon solid projects like Redis, StackExchange.Redis and MsgPack and combines these with a local cache implementation on the .Net stack. Some history We're already running a similar solution with my…

Availability in an unreliable cloud

One of the first problems to solve when moving to the cloud is availability, or just plain uptime. Although it seems strange that the cloud should not be stable, but this is one of the constraints that is an enabler for solid solutions. By accepting unexpected service interuptions as a…

Versioning messages on Azure Servicebus

We currently found our self in a tight spot, a somewhat careless refactoring broke our protobuf format. As we are in multiple datacenters we need to handle 2 versions at a time during transitions between versions. This was not totally unexpected, however the problem occurred a little sooner than we…