JS

Node.js Worker Threads vs Cluster: When to Use Which

Introduction We had one API endpoint that generated a PDF report. It worked fine in testing. Then a customer ran it on a big dataset, and for about four seconds every other request to the server just hung. Health checks timed out, and the load balancer pulled the instance out of rotation. The database was […]

Java/JVM

Multithreading in Java

Multithreading is a fundamental concept in modern software development, allowing programs to efficiently utilize the processing power of today’s multi-core processors. Java, a versatile and widely used programming language, provides robust support for multithreading. In this comprehensive guide, we will dive deep into the world of multithreading in Java, exploring its benefits, challenges, and best […]

Md Shazad
Md Shazad
Read

AWSDevOps

Concurrency and Parallelism using Python

As we know Python supports multiple approaches for concurrent programming with threads, sub-processes and some other ways which could help achieving solutions built on multiple CPUs or multi-core CPU.   I tried implementing something similar on my existing use case for AWS Security Re-Check where I was running a check on AWS for my responsibilities […]