Easy scaling with Cosmos DB for large loads

Working with a customer we need to load a batch of 40-50K documents to Cosmos DB. We could let this pass, but it will result in quite a few HTTP 429 RequestRateTooLarge responses. The operation will be retried, but it will also hurt other clients accessing the same data. Potentially…

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…

Single digit response times

Single digit response times are fully possible. And I think we should try to get there, it may not always be possible but that's no reason not to explore our options. A fast site will feel more responsive, and using less resources means that you can handle massive load on…

Patterns and Practices for Cloud development

Earlier this month, the developer team at Microsoft Norway managed to hijack Masashi Narumoto and Christopher Bennage from the Patterns and Practices team while they were in the UK. The short stop in Oslo was highly appreciated with a packed theater. Now, we might all have our opinion on the…