A quick introduction into what pointers are, why they exist & how to use them
Arguably one of the more complicated aspects of any low level programming language is the subject of pointers. If you’ve ever struggled with the concepts behind them and how they work, you’re not alone!
I first became fully aware of pointers when I was working on an embedded C project using Atmel chips. There, memory was tight and I had to use it sparingly. It was a great introduction into the benefits of using pointers.
When computers run code, they pass around variables like ints, floats, strings and structs by value at runtime. …
A quick, hands-on introduction into Docker and containerization.
In this Article, we’ll go over what the tool is, what purpose it serves as well as working through an example to containerize a simple python application.
Docker is a tool to pull together a set of resources for your application to run anywhere. …
A quick guide on how to get up and running locally using Docker-compose.
If you’ve made it here you probably already have an app that you want to add some metrics to and have displayed. This is a good idea, mainly because:
Note: Prometheus is for logging metrics, or in other words, numbers. The four types of metrics available; Counter, Gauge, Histogram and Summary only take numbers as parameters, try putting in anything else and it’ll throw an error. This may seem obvious but if you want to get the most popular searched item for example, then I’d suggest using the ELK stack instead. …
How to connect data being distributed via a web-socket to Kafka and then onto an S3 bucket.
If you’ve made it here you’ve probably exhausted stack-overflow and just want to know how to stream data into an S3 bucket. Fear not, the code is included below.
But first, a couple of helpful resources (other than stack-overflow) that i came across on my quest for real-time data storage.