Zerodha's Tech Magic: How They Cut Processing Time from 8 Hours to 25 Minutes!
Table of contents
Curious for more details?
Check out the full story here and get ready to be wowed by the tech journey of Zerodha!
Hey there finance enthusiasts! Today, we're diving into the tech world of Zerodha, the cool company that's making waves with their impressive engineering skills. They recently pulled off something amazing โ slashing the time it takes to process a whopping 1.5+ million PDF contract notes from 8 hours to just 25 minutes. Now, that's some serious efficiency!
So, here's the lowdown on how they did it. Imagine having to deal with tons of contract notes that need to be sent out to customers every day after executing stocks. It used to take Zerodha ages, like 7 to 8 hours, to get this done. Why? Well, their old system was running on this giant server that handled everything in one go. Not the fastest or smartest way to get things done.
Now, picture this: Zerodha's new setup is like a superhero โ fast, smart, and elastic. They switched to a horizontally scalable system, which means they can tackle tasks independently and way more efficiently. Amazon's S3 storage does the heavy lifting, processing files with each worker node managing different parts of the job.
They brought in Redis, not just for storing job info, but also to act as a kind of traffic cop, making sure each worker knows what it needs to do. EC2 instances take care of the nitty-gritty, writing results to shared storage on S3. And here's where the magic happens โ they use Nomad and Terraform to orchestrate everything, setting up clusters with auto-scaling groups for different tasks like making PDFs, sending emails, and signing PDFs.
For the behind-the-scenes admin stuff, Zerodha uses Rundeck, a handy tool that keeps everything in check. Once the heavy lifting is done, they clean up shop using a monitoring system and Redis. The result? A process that used to take 8 hours is now a blink-and-you'll-miss-it 25 minutes.
Zerodha's tech makeover not only sped things up but also made the whole system more flexible and cost-effective. It's another win for the wizards at Zerodha, who never fail to impress with their engineering prowess.
#zerodha #devopschallenge #DevOps
Subscribe to my newsletter
Read articles from Aabir Deb directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
Aabir Deb
Aabir Deb
Hey there, I'm your go-to DevOps maestro, turning chaos into seamless operations! With a passion for optimizing workflows, I've spearheaded numerous projects that redefine the DevOps landscape. ๐ง Project Overhauls: Microservices Marvel: Engineered a scalable microservices architecture, boosting efficiency and cutting response times by 40%. Containers, orchestration, and continuous integration โ I've got it covered! Cloud Migration Maven: Led a successful migration to AWS, leveraging Terraform for infrastructure as code. Result? Reduced costs, enhanced scalability, and unleashed the true power of the cloud. ๐ Automation Aficionado: CI/CD Symphony: Orchestrated CI/CD pipelines like a virtuoso, ensuring swift and error-free deployments. Automated testing and integration? Just another day at the office. Infrastructure as Code Sorcerer: Mastered the art of Infrastructure as Code (IaC) using Ansible and Terraform, turning infrastructure management into a code ballet. Infrastructure changes at the speed of code! ๐ป Monitoring Magician: Alerting Alchemist: Implemented robust monitoring systems with Prometheus and Grafana, conjuring up real-time insights. Say goodbye to surprises โ I spot issues before they even think about causing trouble. Log Wizardry: Centralized log management with the ELK stack โ because understanding your system's heartbeat is crucial. Troubleshooting made easy, turning logs into insights. ๐ Security Sentinel: Fortress Builder: Implemented robust security measures, incorporating Docker security scanning and vulnerability assessments. Your applications are not just functional; they're bulletproof! ๐ Continuous Learning Advocate: Certification Crusader: Constantly upgrading skills with certifications like AWS Certified DevOps Engineer and Docker Certified Associate. Because staying ahead in the tech game is non-negotiable. Ready to elevate your projects to the next level? Let's connect and craft the future of DevOps together!