Python is a great programming language, as well as the most popular one according some statistics(e.g TIOBE Index). Its popularity has been only accelerating in recent years with the rise of AI/machine learning as Python has the richest set of APIs/Libraries in this space. As someone familiar/worked with a few different programming languages, I loved Python! It probably was the … [Read more...] about 5 Python Weird Behaviours you should know about
SerDe: The Unsung Hero of Microservices Architecture
Imagine a bustling city where thousands of cars rely on a well-functioning traffic management system to navigate smoothly. If even a minor glitch occurs in this system, the entire city can grind to a halt. In the world of microservices, SerDe, or Serialization/Deserialization, plays a similar critical role. Think of it as the traffic management system that ensures data flows … [Read more...] about SerDe: The Unsung Hero of Microservices Architecture
Mastering Java Concurrency: ForkJoinPool vs ThreadPoolExecutor
Modern software development relies heavily on concurrency since it enables apps to handle numerous amount of tasks all at once. For controlling concurrency in Java, ForkJoinPool and ThreadPoolExecutor are two highly effective technologies. In this tutorial, we will look into the specifics of each, consider the differences between ForkJoinPool and ThreadPoolExecutor, and provide … [Read more...] about Mastering Java Concurrency: ForkJoinPool vs ThreadPoolExecutor
Creating Custom Resource pool in Java
Using reusable objects/resources as a pool in Java is very common. In fact, the Java language itself comes with built-in thread-pool support. In this article, we will demonstrate how we can create a custom resource pool in Java. What is a Resource pool? A resource pool is a collection of reusable resources that can be shared among multiple clients or consumers in a … [Read more...] about Creating Custom Resource pool in Java
Building Auth With JWT – Part 2
This is the follow-up part to part 1 of Auth With JWT story. Highly recommended to go over that first if you haven't already. Challenges: JWT Payload Size: As you might have read in the first part, the business challenges we were trying to solve involved supporting different roles per context(e.g course). This means a user can be a student in one course and be a … [Read more...] about Building Auth With JWT – Part 2