Skip to content
Breaking
Latest technical intelligence from Northeast India • Infrastructure, AI, Cloud & Security Analysis • Precision Analysis | Raw Intelligence | Your North Star of Tech Latest technical intelligence from Northeast India • Infrastructure, AI, Cloud & Security Analysis • Precision Analysis | Raw Intelligence | Your North Star of Tech
WEBDEV

Analysis: From Raw Sockets to Serverless: Reimagining the Architect's Portfolio

From Bare-Metal to Serverless: A Senior Architect's Journey

From Bare-Metal to Serverless: A Senior Architect's Journey

In a world where technology is constantly evolving, staying relevant and adapting to new trends is crucial for any professional. This is especially true for Senior .NET & C++ Architect, Donghun Lee, who embarked on a journey to refresh his online presence using a modern web stack and deploy it on Google Cloud Run. This article delves into the motivations, challenges, and solutions of this transformation.

Making the Invisible, Visible

For years, Donghun Lee has been optimizing raw sockets, architecting IoT networks, and tuning low-level system performance. However, he felt that his work lacked a "visual" interface. He wanted to build a portfolio that wasn't just a static CV, but a living proof of concept that combines his core engineering values - speed, control, and efficiency - with modern web technologies.

A C++ Developer's Approach to the Frontend Stack

Performance was a top priority for Donghun Lee when choosing a frontend stack. He opted for a stack that mirrors the efficiency he strives for in C++. His choices included React 19, TypeScript for type safety and modern UI patterns, esbuild as the build tool for its near-native speed, and serve as a lightweight static file serving handler for production.

Navigating the Container Lifecycle

The most interesting part of this project wasn't the React code but the Container Lifecycle. When deploying to Cloud Run, the container would crash immediately upon startup due to a closed input stream in the serverless environment. Donghun Lee had to re-architect the entry point, separating the build process from the runtime process, switching to serve for the production environment, and mapping the container's PORT environment variable dynamically.

Why Google Cloud Run?

Google Cloud Run was the ideal choice for Donghun Lee's personal portfolio because it allowed him to deploy stateless containers that scale to zero, incur zero cost when no one is visiting the site, provide a secure URL automatically, and be ready for the Python/AI backend services he plans to attach next.

Relevance to North East India and the Broader Indian Context

The adoption of cloud infrastructure and serverless technologies is on the rise in India, including the North East region. Companies and individuals alike are recognizing the benefits of these technologies, such as cost savings, scalability, and improved efficiency. Donghun Lee's journey serves as an example of how these technologies can be leveraged to create a modern, efficient online presence.

Looking Ahead

Donghun Lee's portfolio is just the foundation. His roadmap involves integrating his expertise in AI, including RAG Agent Integration and a section dedicated to deep dives into .NET architecture and Blazor Hybrid patterns. This project serves as a testament to the importance of staying adaptable and embracing new technologies in the ever-evolving world of technology.