Image for post
Image for post
Photo by Jari Hytönen on Unsplash

This is the second in a multi-part series aimed at identifying how organisations can manage and optimise costs to get the best of their cloud infrastructure. At Momenton we place a strong focus on leveraging cloud whilst also seeking to optimise cost management. I will be looking on the compute aspect of cloud in this blog.

About five years ago, Public Cloud services were not well understood. Large enterprises debated if migration to the cloud would meet their security requirements, paralyzed with the fear of the unknown. We have since come a long way — Digital Transformation is now synonymous with migration to the cloud. …


Image for post
Image for post
Gopher Friends

I’ve been doing some interesting work with the team at MFloW writing HTTP clients that consume financial data and it’s been eye-opening to see how different API platforms choose to protect their resources. Best practices for client side rate-limiting seems to be scarce when compared to sever-side on the web. So here are my thoughts on the subject and some code samples.

Most API endpoints implement resource consumption quotas in the form of rate limits. This is generally done either to protect their servers from being abused by too many requests or to monetize the endpoints for more frequent updates. For example, Yahoo Finance(RIP) enforces a rate limit of 2000/hr. Another platform IndependentReserve enforces a rate limit of 1/sec. If you pay close attention, these two limits are slightly different from each other in the way the quota is managed over the timeframe. In the case of Yahoo finance, you can consume the allocation of 2000 requests in 5 mins if you wish, which means bursty/high volume requests are allowed. …


Image for post
Image for post
“Lights in the windows of an office building in Moscow” by Mike Kononov on Unsplash

For the uninitiated

Linux container technology has existed for over 10 years in the form of LXC but Docker has been responsible for popularising it with its easy interface to building and managing all aspects of a containerised application life-cycle. Similar technologies have existed in other Operating Systems in the form of FreeBSD jails, AIX Workload Partitions and Solaris Containers.

In 2015 CoreOS introduced Rkt — A new App Container Image to rival Docker’s container specification, it was quite likely that the container movement would start to fragment and to curb this from happening Open Container Initiative (OCI) formerly Open Container Project was established. OCI is now run by the Linux Foundation and aims to standardise container formats & runtimes. …

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store