About

Software Engineer & Former Competitive Programmer

I build the services and test pipelines that bring open-source packages to Amazon Linux. Before that, I designed routing algorithms and delivery systems at Chaldal.

Hello, I'm Apurba Saha, a Software Development Engineer in the Amazon Linux org at Amazon Web Services, based in Dresden, Germany. I spent over two years at Chaldal before joining AWS, and I earned my B.Sc. in Computer Science and Engineering from BUET in 2023. I have more than 3 years of professional experience and 7 years of competitive programming.


During my undergraduate years, I participated in various programming contests and hackathons. I had the honor of representing my country in the 45th ICPC World Finals in Dhaka, Bangladesh, and the 47th ICPC World Finals in Luxor, Egypt. I am rated Master on Codeforces (max rating 2242).


For my undergraduate thesis, I worked on new algorithms for Parameterized String Matching with Mismatches. My research interests are Algorithms and Systems, especially Distributed Systems and Databases.

Experience

Amazon Web Services (AWS)

October 2025 - Present

I work as a Software Development Engineer in the Amazon Linux org at Amazon Web Services in Dresden, Germany. I work on the systems that bring open-source packages into Amazon Linux and release them to customers. The services are built on AWS (ECS, Lambda, Step Functions, SQS and CDK in TypeScript), Python and Bash, with RPM packaging and Koji for building packages.

Supplementary Packages for Amazon Linux (SPAL)

  • Goal: Many customers could not migrate from Amazon Linux 2 to Amazon Linux 2023 because packages they depended on were not available. SPAL provides those packages for Amazon Linux 2023.
  • Impact: We launched SPAL with 2,800+ source packages (14,500+ binary packages), unblocking large-scale customer migrations from Amazon Linux 2. SPAL was featured at AWS re:Invent. My Zero-Touch release process cut SPAL's operational effort from 1 FTE to 0.
  • My Contribution:
    • Released the enablement package that gives all Amazon Linux 2023 instances and containers access to the SPAL repository.
    • Designed and built the Zero-Touch SPAL release process, which automates package testing, superseding, signing and staging.
    • Established a data-driven SPAL-to-Core promotion process that uses download telemetry and automated upgrade validation to safely promote high-demand packages to Amazon Linux Core, with CVE tracking.

Amazon Linux Package Importer

  • Goal: Replace the manual process of importing open-source packages into Amazon Linux's build infrastructure.
  • Impact: The service imports 13K+ open-source packages from Fedora, CentOS Stream, GitHub and GitLab into AWS build infrastructure, with provenance and security scanning. It feeds package builds and CVE patches for all Amazon Linux distros.
  • My Contribution: I wrote the design doc and the migration docs, and built the service.

NVIDIA Drivers and CUDA on Amazon Linux

  • Worked with NVIDIA to package and qualify NVIDIA drivers and CUDA libraries for Amazon Linux, including for air-gapped environments.

Chaldal

June 2023 - August 2025

I worked as a Software Engineer (Level 2, then Level 3) in the Logistics and Dispatcher team at Chaldal (YC W15), Bangladesh's largest online grocery platform, based in Bangladesh and California. My main goal was to fully automate warehouse and routing operations. The system is distributed, with .NET (C#/F#) for the backend, React for the frontend and Python for algorithm and ML services, all running on our in-house infrastructure. I designed and built backend systems, researched and developed algorithms to optimize deliveries, and did some frontend work on the web and mobile apps.

Every Chaldal order goes through two systems: the Dispatcher, which assigns warehouse tasks to pickers who prepare the order, and Logistics, which plans routes for riders on cycles, bikes and vans, and keeps deliveries on time.

ASAP and 10-Minute Delivery

  • Goal: Regular orders are delivered in fixed time windows and typically take 2-3 hours. ASAP delivery offers customers a delivery window 20 or 40 minutes after they place the order, and 10-minute delivery goes further for customers near the warehouse.
  • My Contribution: I led the logistics (algorithms and backend) side of the project, and architected and launched Bangladesh's first 10-minute grocery delivery system.
  • Impact: ASAP delivery serves 1,000+ daily users with 20-45 minute fulfillment.

Deep dive: how ASAP delivery works

Logistics Routing Algorithm

  • Goal: Automatically group shipments into routes and assign them to riders. Routes used to be assigned manually by the dispatcher in charge, which did not scale as order volume grew.
  • My Contribution: I led the project, designed and implemented the algorithm, and integrated it with the existing backend system.
  • Impact: The routing system serves over 10,000 daily users and increased the on-time delivery rate from 67% to 82%.

Deep dive: the routing algorithm

Dispatcher Automatic Task Assignment

  • Goal: Automatically assign picking tasks to pickers, who used to choose tasks themselves.
  • My Contribution: I designed and implemented the algorithm, integrated it with the existing backend system, and built the frontend changes in the Picking App that show the tasks to the pickers.
  • Impact: Dispatch reliability increased from 83% to 90%.

Deep dive: the assignment algorithm

Others

  • Traffic Estimation: We used the open-source routing engine Valhalla, built on OpenStreetMap data, to estimate travel distance and time between locations. Accurate estimates need the speed of every road segment at 5-minute intervals for each day of the week. A team collected these speeds manually from Google Maps, we polled the Google Maps API for traffic on important roads, and we interpolated the rest. I integrated and deployed the C++ Valhalla engine, along with our routing and warehouse task assignment algorithms, on bare-metal Linux servers, with load balancing for compute-intensive routing requests.
  • Dispatcher Task Duration Estimation: Trained a Machine Learning model on historical warehouse data that predicts how long a task will take from features such as the task type and the number and weight of products. The task assignment algorithm and the picker incentive system use these predictions.
  • Dispatcher Picker Incentive System: Developed an algorithm that scores each picker's daily performance by comparing the predicted duration of the tasks they completed with the predicted duration of all tasks that day. The score determines each picker's incentive.

Projects

  • Chess Mortem

    Chess Mortem

    Flutter, Dart, Stockfish, Python

    2026

    An Android app that reviews your chess games offline. On-device Stockfish evaluates every move, an algorithm grades each one from Brilliant to Blunder, and the app explains it in plain English. Board-analysis detectors recognize 60+ chess ideas such as forks, pins and trapped pieces, and a ranker trained on labeled moves picks the one worth explaining. Optionally, an LLM can write a more detailed explanation, grounded in the facts the engine and detectors have already found, so it doesn't make up chess ideas or positions, even with free models. Available on Google Play.

  • Maelstrom

    Distributed Systems Challenges

    C++17, Multithreading, Boost, CRDTs

    2026

    A multithreaded C++17 framework for Jepsen's Maelstrom, used to implement partition-tolerant gossip broadcast, CRDT counters, a hash-partitioned Kafka-style log with leader forwarding, and totally available transactions, passing Jepsen's safety and liveness tests. Batching the gossip on a 25-node cluster cut network traffic 40x (from 1,250 to 30 messages per broadcast) while still delivering every broadcast to all nodes within 0.8 s.

  • Shaako

    Shaako

    Django, React, React Native, PostgreSQL

    2022

    Shaako helps community health workers diagnose diseases in rural Bangladesh. It has separate modules for health workers, supervisors and organizations. Organizations and supervisors use the web app to manage and train health workers. Health workers use the mobile app to collect patient data, diagnose diseases from symptoms with an ML model, and find the nearest hospital in an emergency.

  • Image-Super-Res

    Image Super Resolution

    Python, PyTorch

    2023

    A deep learning model that upscales images 4x while keeping them sharp. It is trained from scratch on the DIV2K dataset and combines FSRCNN with Channel Attention and Residual Blocks.

  • Pool

    8 Ball Pool

    Java, JavaFX, MySQL

    2019

    A multiplayer 8-ball pool game where players can challenge anyone who is online. It features 3D ball rendering and real-time game updates, and all the physics, including ball movement and rotation, is implemented from scratch in Java.

  • Compiler

    C Compiler

    Flex, Bison, C++, 8086 Assembly

    2022

    A compiler for a subset of C, built from scratch in four stages: symbol table, lexical analysis, syntax and semantic analysis, and code generation. It compiles functions, recursion, arrays and loops to 8086 assembly that runs in emu8086, and a peephole optimizer removes redundant MOV and PUSH/POP instructions from the output.

  • Ray Tracing

    Ray Tracing

    C++, OpenGL

    2022

    A 3D scene of geometric objects with a fully controllable camera, rendered using the Phong lighting model and recursive ray tracing for accurate lighting and reflections.

  • CNN

    CNN From Scratch

    Python, NumPy, Pandas

    2023

    A Convolutional Neural Network (CNN) implemented from scratch with NumPy, including the forward and backward propagation steps. Using the LeNet architecture and trained on a dataset of Bangla handwritten digits, it reaches about 80% accuracy on the test data.

  • Rokomari

    Rokomari

    Python, Django, Oracle, HTML, CSS, JavaScript

    2020

    An e-commerce website for selling books with separate admin and buyer modules. The buyer module gives consumers a simple-to-use interface to browse, purchase, and review books. The admin module handles dashboards, catalog management and order processing.

Achievements

International Programming Competitions

Roll_Num_56

Master (max rating 2242)

Top 0.86%

7 years of competitive programming in C++ (2017 - 2024).

Ranked 36th

April 2024

5th in Asia West Continent, 1st in Bangladesh.

Dhaka, Bangladesh

Ranked 50th

November 2022

3rd in Asia West Continent, 1st in Bangladesh.

Ranked 180th

Top 0.8%

Ranked 385th

Top 1.3%

Ranked 449th

Top 1.3%


Hackathon

BUET CSE Fest Hackathon

Dhaka, Bangladesh

1st Runner-up

January 2019

Our team was 1st runner-up in the Cloud Computing category of the BUET CSE Fest 2019 Hackathon (project on GitHub).

Regional Programming Competitions

Ranked 7th

May 2023

ICPC Asia Dhaka Regionals

Dhaka, Bangladesh

1st Runner-up

August 2021

Dhaka, Bangladesh

Ranked 4th

October 2022

ICPC Asia Dhaka Regionals

Dhaka, Bangladesh

2nd Runner-up

March 2023


Others

Dean's List and Merit Scholarship

Bangladesh University of Engineering and Technology

Every undergraduate academic year.

Problem Setter and Judge

Served on the judge panel of the Bangladesh Olympiad in Informatics, the National Girls' Programming Contest and multiple inter-university programming contests.

Education

B.Sc. in Computer Science and Engineering

March 2018 - May 2023

Bangladesh University of Engineering and Technology

CGPA: 3.88/4.00

Received merit scholarships and made the Dean's List every academic year. Notable courses:

  • CSE 305 - Computer Architecture
  • CSE 307 - Software Engineering
  • CSE 309 - Compiler Design
  • CSE 313 - Operating Systems
  • CSE 317 - Artificial Intelligence
  • CSE 321 - Computer Networks
  • CSE 405 - Computer Security
  • CSE 409 - Computer Graphics
  • CSE 411 - Simulation and Modeling
  • CSE 453 - High Performance Database Systems
  • CSE 463 - Introduction to Bioinformatics
  • CSE 471 - Machine Learning
  • MATH 245 - Statistics and Probability
  • MATH 247 - Linear Algebra

Research

Algorithms for Parameterized String Matching with Mismatches

Undergraduate thesis · arXiv preprint, 2024
Co-authors: Iftekhar Hakim Kaowsar, Mahdi Hasnat Siyam, Dr. M. Sohel Rahman (Supervisor)
String matching, Data structures, FFT

Two strings parameterized-match when a one-to-one renaming of their symbols turns one into the other. This has applications in software duplicate detection, image processing and computational biology. We study finding every position where a pattern parameterized-matches the text with at most k mismatches, and give two algorithms:

  • General case: An algorithm built on Fast Fourier Transform (FFT) and minimum-cost bipartite matching. Its running time does not depend on k, so it improves on the previously known algorithm by Hazay, Lewenstein and Sokol when k is large compared to the alphabet size. It is also parallelizable on multi-core machines.
  • One mismatch (k = 1): A probabilistic O(n log n) algorithm using a Segment Tree, hashing and a transformation of the strings.

Contact

💡 Feel free to reach out if you share similar interests or want to discuss opportunities or collaboration.

Location

Dresden, Germany