Software development, Technology

Making Threads Work Together — Synchronization

Picture a kitchen in India with two cooks, Gautam and Badal. They’re both preparing delicious dishes, but there’s a unique spice box they both want to use. However, only one cook can use it at a time. Here’s how they ensure a flavorful collaboration: Diverse Tasks: Gautam is making biryani, and Badal is crafting curry....

by Tushar Saxena
Tag: Multiprocessing
24-Apr-2024

Software development

Speed Boost: How Multi-Threading Makes Your Programs Faster

Imagine you’re at a grocery store, and you need to buy a bunch of items. Now, you have two options: Option 1: You’re the only person shopping, and you have to go through each aisle one by one, picking up items and waiting in line at the checkout each time. It’s like a slow-motion shopping marathon, and you end up spending a lot of...

by Tushar Saxena
Tag: Multiprocessing
06-Feb-2024

AWS, DevOps

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...

by Sakshi Singhal
Tag: Multiprocessing
14-Jul-2016