Skip to content

Reliable software, engineered in Kathmandu for businesses in Nepal and around the world.

Case study

Staying online through the Dashain shopping rush

Rebuilding an online store and its inventory system, which had crashed during two festival seasons in a row, in time for the third.

Client
Annapurna Retail
Industry
E-Commerce
Duration
4 months

Results

Peak simultaneous visitors
14,200
with no downtime
Checkout completion
78%
up from 61%
Page load time (95th percentile)
1.1 s
Suppliers managing their own stock
60+

The challenge

Annapurna runs 14 shops and an online store. During Dashain, traffic rises about twelve-fold over two weeks. The old platform had crashed at the peak two years running, each time on the most profitable days of the year.

The cause was not the number of visitors. Every page view checked live stock levels in a single database table, while all 14 shops were constantly updating the same table, and the two kept blocking each other.

What we built

We separated reading stock levels from updating them. Shoppers now see stock levels from a fast cache that is updated continuously, and stock is reserved, through a queue, only when someone reaches the checkout.

  • A catalogue optimised for browsing, with stock levels for each shop held in Redis.
  • A reservation queue that holds items for 15 minutes during checkout.
  • Load tests that replayed the previous year’s real traffic, rather than an artificial pattern.
  • A supplier portal where vendors update their own stock and prices.

The outcome

The new platform handled the next Dashain with a peak of 14,200 simultaneous visitors and no downtime. The share of shoppers completing checkout rose from 61% to 78%, mostly because the delay caused by stock checks on the basket page had gone.

“We had been told twice before that the site was fixed. This time they showed us a load test replaying last year’s traffic and let us watch the site hold up. That was when I believed it.”

SBSujata BasnetHead of Digital, Annapurna Retail

Have a project in mind?

Tell us what you want to build. We will reply with a clear scope, a delivery plan and an honest view of what it will take.