Throughout my career, I've heard over and over again, âKafka decouples servicesâ. Almost like a mantra, without hearing anything about or knowing how it actually helps in decoupling. I've been guilty of this too, telling my mentee exactly this, without fully knowing the reasons for this. While reading the incredible book Foundations of Scalable Systems, this became clear, and in this post, I'll go over the reasons for why Kafka decouples services. (because yes, it indeed does)
Author: David Gomes
Why Passkeys are more secure than Password + 2FA
There has been a huge hype on Passkeys. When you have one, the website/app only requires a single click with your password manager/browser to login. Where's the SMS/authenticator to validate the access? Is this more secure?
The Case Against Unit Tests
We've all heard of Unit Tests as the de facto way of testing our applications and libraries, but in this post, I'll cover the best way to apply Unit Tests, why they're overrated and possibly overused, and the better alternative most of the time.
Recovering a branch after force pushing (even main)
A mentee accidentally force-pushed, losing a README. Without a local copy, I recovered the commit via GitHub's CLI. By logging in and fetching the repository events, I found the lost commit's hash and was able to create a new branch, and rebase it onto main. A crucial notice: team members must also update their local branches. This experience shows the mutual learning in mentoring.
How to fix a CVE by overriding the version of a Spring Boot dependency
If you have a security scan flagging a dependency of a CVE (vulnerability) that is used Spring, you should not wait for their next update cycle to update it. You can update it yourself, find out how in this post.