Clocks, Event Ordering and Lamport
2024-10-11
The order in which event’s occur is an interesting topic and lately i have been thinking about it a lot. Particularly in the context of distributed systems. The rationale behind my thinking is fairly simple. In a large distributed system, how does the system maintain order ? Better still how does each process know which event came first? Before the rambling continues, perhaps i should start by defining what an event is. An event simply refers an occurrence or action within a process. This could include sending or receiving a message or some kind of local action such as writing to disk. …
In Search of Coherence
2024-04-13
Speak to me enough times, and at some point, you’ll hear me say, “Hold on, let me collect my thoughts” This is a small portion of a bigger goal I think I strive for. Coherence- the state of being connected. Logical, orderly, and consistent relation of parts. This is as important in speech and more so for me in thought; it’s easy to convey an idea and have the person you are talking to have a rough idea of what you mean. Bringing your thoughts together so that they are consistent is a problem that I have a hard time describing. How do I describe what I’m thinking if I’m not sure of it myself? …
Kubernetes on ARM
2022-08-21
Kubernetes on ARM It’s a nice Tuesday morning, the sun is out and I have had my first cup of coffee, what a lovely time to attempt to install Kubernetes on my Raspberry Pi. I’m using the Raspberry Pi 4 with a 128GB SD card running Raspbian. Would this be enough? No idea but I’m about to find out. Current Setup So far the only configuration I have made is assigning a static IP address and connected the PI to my router over Ethernet. …
Two phase commit ?
2022-03-26
Two phase commit? Lately I have found myself pondering how distributed systems handle transactions, particularly what happens if one database replica is out of sync, how should the “ideal” distributed system handle such? Turns out there are few ways of handling distributed transactions, and two phase commit or 2PC is one of them. So I am doing the logical thing and writing down what I have managed to learn at 2:32am on a weekday. …
TLS in a Nutshell
2021-10-06
TLS in a nutshell So it’s 1 am once again and I suddenly find myself questioning how the web works from the ground up(not even kidding this time), after roughly 30mins of re validating my knowledge, i have arrived at TLS whilst watching a nice talk by Daniel Stenberg, the author of curl,talk is over here btw . In this talk Daniel goes over how the web has evolved from HTTP/1.1 down to HTTP2 and now HTTP 3 which is apparently going to save us all(no offense,i think QUIC) is an amazing protocol, but that’s besides the point here. …
Infrastructure Automation With Kubestack
2021-06-07
Infrastructure Automation with Kubestack Over the weekend I got to try out Kubestack and in this post, I would be giving some of my thoughts on it. FULL DISCLAIMER: while I am being paid to write this post the opinions and views expressed here are completely mines. So what’s this thing anyway? That was my first question as I have only ever heard about Kubestack in passing. Kubestack is a GitOps framework aimed at simplifying the process of spinning up a Kubernetes cluster and automating subsequent deployments to your cluster. At the time of writing, Kubestack supports GKE, AKS, and EKS. Alright, now I know what it is but how is this any different than building my own CI/CD pipeline? Only one way to find out… …
What the heck is a data plane?
2021-05-12
As i sit here at 12:50am . I attempt to answer the question that’s been on my mind for days now. “What the heck is a data plane?”. To fully understand we need to back track a bit. A data plane is one of two major components of a service mesh , yet that alone is far from the answer i seek. Taking a closer look To find the answers i seek, it’s worth taking look at the architecture of a typical service mesh and analyze from there. …
First Post
2021-04-26
Wow it works Hello world