Load Balancing - A Balancing Act

Load balancing is a technique used to distribute network or application traffic across a number of servers. Load balancers can be used to distribute traffic for a variety of applications, including web servers, databases, and file servers. They can also be used to distribute traffic for different types of traffic, such as HTTP, HTTPS, and DNS. Load balancing is important because it helps to improve the performance, reliability and security of applications. By distributing traffic across multiple servers, load balancing can help to prevent any single server from becoming overloaded. This can improve performance by ensuring that requests are processed quickly and efficiently. Load balancing can also help to improve reliability by preventing a single server failure from taking down an entire application or website. Finally, load balancing can help to improve security by making it more difficult for attackers to exploit a single server.

Read More

Spring Boot for a .NET Brain - Same Job, Different Dialect

For years my muscle memory has been C# and ASP.NET Core. Controllers, middleware, IServiceCollection, appsettings.json, NuGet, ship it. That is still how I think when nobody is watching. Lately the day job is pulling me into Java land — Spring Boot, Maven, a different IDE, and a package namespace that used to be javax and is now stubbornly jakarta.

I am not rewriting my career overnight. I am learning the dialect so I can read the codebase, review a PR without guessing, and stop treating the Java services on our map as black boxes. If you are a .NET person staring at Spring Boot 3 for the first time, this is the cheat sheet I wish someone had handed me on day one.

Spring Boot and ASP.NET Core are solving the same problem: get a web service running with less ceremony than the old frameworks. Both give you dependency injection, an embedded HTTP server, opinionated project layout, and a pile of starters so you are not hand-wiring every library.

Read More

Mesmerising Mountains - Our trip to Gangtok & Darjeeling

This is a guest post from my daughter

Our trip to Gangtok started with a lot of excitement and anxiety. Our cab driver was late to pick us up from home, so we had to rush to the airport. At the airport, we met Dipu uncle and his family, who were also going to Gangtok with us. We boarded the flight to Bagdogra just in time, after a confusion with change of gates at the last moment by the airlines company. The flight was smooth and we enjoyed the view of the mountains from the window. We landed in Bagdogra ahead of time and collected our checked-in bags. Since Bagdogra is a military airport, we were asked not to take any pictures in the airport. After landing in Bagdogra, we took a taxi to Gangtok. On the way, we stopped at Santa Banta Dhaba, where we had some delicious breakfast. The drive was very long, about five hours, but we had fun chatting along the way. Finally, we reached Gangtok and checked into our hotel – “The Muscatel Grand Silk Route”. The hotel was a nice and comfy, but the road leading to the hotel was anything but. The 200m of the road from MG Marg to the hotel was a steep downward section with a shard hairpin bend included. Anyone who learns to drive in Gangtok is surely an expert!

Read More

Crossing the Bridge - Challenges of transitioning from an Individual Contributor to Management Role

Many IT professionals dream of one day becoming a manager. After all, managers have more responsibility, more opportunities for growth and often earn more money. But not everyone is prepared for the challenges and trade-offs that come with this career move. The reality is that moving from an individual contributor (IC) role to a management one is hard and it requires you to make sacrifices and step outside your comfort zone. There’s a reason that some engineers hesitate to accept or pursue management roles, even when part of them wants that role. As somebody who has made that transition, here are some of the challenges that I faced.

As an IC, you spend most of your time working on technical tasks, solving problems and delivering results. You have a strong sense of ownership and take pride in your work. You identify yourself as an expert in your domain. As a manager, however, you have to shift your focus from doing the work to enabling others to do the work. You have to delegate tasks, provide feedback, coach, mentor and support your team members. You have less time and opportunity to use your technical skills and you may feel like you are losing touch with your craft.

Read More

Modernizing the Beast

Legacy software is a critical part of many businesses and in many cases there is no business without legacy software. Legacy systems are often referred to as “legacy” because they’re built using old and outdated technology, however it does not mean that these systems do not provide value.

Legacy applications are usually using older programming languages that are no longer taught in universities. This means that new developers won’t have the skills needed to work on these types of projects, which makes hiring new employees more difficult. Also, the cost of maintaining legacy systems gets high with time because there aren’t enough people with knowledge about how they work anymore.

Modernizing these legacy software is a big challenge that most companies have to face sooner or later. Lets look at some of the steps that you can take for a safe migration to modern software architecture.

Before you can begin the modernization process, you need to assess the current state of your legacy software. This can be a time-consuming and challenging endeavor, but it’s crucial that you take the time up front to thoroughly understand what needs modernizing and why.

Read More

ChatGPT API - Yesterday the Floodgates Opened

Yesterday OpenAI shipped what a lot of us have been waiting for since late November: a real ChatGPT API. Not a scraped session cookie. Not another playground experiment. A chat/completions endpoint, a model called gpt-3.5-turbo, and a price that makes side projects feel cheap again — $0.002 per 1k tokens, which they say is about 10x cheaper than the older GPT-3.5 completions path.

I spent December treating the browser tab like a slightly unhinged junior. I wrote about that three weeks in. Yesterday moves the same model family from “interesting tab” to “thing you can put behind a service boundary.” That is a different conversation at work.

Read More