A. Nesovic 🚀 Synthesizing Singularity

I am a writer passionate about technology, health, and philosophy. My software engineering background informs my perspective on how technology can enhance lives. Creating elegant, informative, and thought-provoking content is my goal.

Singleflight in Go: Optimize Concurrent Requests

Optimizing Concurrent Data Fetching in Go with singleflight In high-throughput applications, efficiency isn’t just a nicety—it’s a necessity. When multiple requests for the same resource flood in simultaneously, handling them efficiently can make or break your system’s performance. This is a challenge I’ve encountered numerous times, and one elegant solution in Go is the singleflight package. Let’s dive into how singleflight can optimize concurrent data fetching, using the example of fetching currency exchange rates in a financial application. ...

November 13, 2024 Â· 10 min Â· Aleksandar Nesovic

Container-Optimized OS on GCP

Container-Optimized OS: A Pragmatic Approach to Running Containers on Google Cloud As cloud computing continues to evolve, so does the need for efficient, secure, and scalable ways to run containerized applications. In this essay, we’ll delve into what makes COS stand out, its security advantages—particularly root filesystem immutability, seamless updates, and how it can be smartly utilized with regional managed instances for scaling. We’ll also explore the role of startup scripts and other practical considerations for engineering teams. ...

November 5, 2024 Â· 12 min Â· Aleksandar Nesovic

Timeless

Life Happens Almost two full years have passed since the point when I had “the energy” to write content. And, as most podcasts fail after just a few episodes, I’ve been unable to keep up with the writing. It was a genuine surprise to see how much effort goes into even the simplest of articles. This, in turn, generated a significant inspirational backlog for potential content shortly. Looking back on those two years, I’m happy with the outcome, and I don’t feel much regret for not writing. As the internet doesn’t forget, this might serve mostly as a reminder to myself when I look back on this point a few years down the road. Just writing my own timeline took some time, as each week was packed with more work than I wanted it to be! Work-life balance?! ...

November 2, 2024 Â· 4 min Â· Aleksandar Nesovic

Overcoming Scalability Challenges in a Modular-Monolith

Building a Health-Data Platform I have had the opportunity to work on several complex and challenging projects. One such project was a health-data platform designed as a modular monolith with a plethora of complex requirements to fulfill. As a health-data platform, ensuring the security and compliance of our users’ sensitive information was paramount. To that end, we made it a priority to align with both HIPAA and SOC-2 standards. Compliance and Security Measures for a Health-Data Platform SOC-2 Compliance For SOC-2 compliance, we implemented various strict controls to guarantee the safety of our user’s data. This included implementing multi-factor authentication, such as FIDO tokens, for added security. We also conducted regular security assessments and backups to ensure that any data would be protected in the event of a security breach. Additionally, we employed SOC-2-compliant cloud providers to host and store sensitive data. Furthermore, a robust Governance, Risk management, and Compliance (GRC) program were established and regularly reviewed to ensure compliance with SOC-2 standards. ...

January 26, 2023 Â· 7 min Â· Aleksandar Nesovic

Modular Monoliths - Boilerplate

From Theory to Practice It is recommended that readers familiarize themselves with the principles outlined in the article Modular Monoliths - Simplified before delving into the practical example provided in this follow-up piece. This article will explore a specific implementation of a modular monolith architecture, utilizing a clear separation of handlers, services, and repository layers. The accompanying GitHub Repository serves as a reference and starting point, providing a boilerplate structure that can be easily adapted to suit the specific needs of your project. ...

January 25, 2023 Â· 5 min Â· Aleksandar Nesovic