How Webhook Works?

A few years ago, my colleagues and I were tasked with implementing webhooks in one of our products. I immersed myself in numerous blogs and documentation until the concept of webhooks clicked. Excited to share my newfound understanding, I explained it to my colleagues using a simple analogy: “Imagine you’re hungry and order food at a restaurant. Instead of constantly asking the waiter every few mins if your food is ready, the waiter brings it to you the moment it’s prepared. That’s exactly what a webhook does. Instead of repeatedly requesting information, a webhook sends you data in real-time as soon as an event happens.” ...

April 12, 2024 · 6 min read · Yogesh Jain

How Base64 Encoding Works?

In my everyday work with Kubernetes, I often encounter Kubernetes secrets containing strings of seemingly random characters ending with equal signs. These are Base64 encoded texts. This made me curious: What exactly is Base64 encoding, and how does it work its magic? So, one day, I decided to learn how Base64 actually works. It turns out to be a pretty simple process where the data (normal text and numbers) are converted into a special format that machines can easily read and use. Even though it’s not super secure like encryption, it’s really handy for keeping things organized and safe in places like Kubernetes. ...

March 15, 2024 · 5 min read · Yogesh Jain