loading...

txtWeb Blog

Local numbers and it's effect on E2E

 

(Cross posted from the txtWeb Engineering Blog)

 

At txtWeb, we were faced with a hard problem : handling peak loads during the IPL season without impacting our end to end response times. The End to End response time chart(E2E) below is an indicator of how our latencies were increasing with load:

As you can observe, it is very clear that as the requests per day increased, the latency also shoots up, which means that our end users are getting back delayed responses. This was an issue because the platform was able to scale up to the huge loads which txtWeb was receiving, but the delay was happening after the response message leaves the platform. This was a very important problem for us to solve, as this effectively meant on all the days we get huge number of requests, our end users would receive delayed responses.

Simply put,

The Problem:

  • A single number - 9243342000 was being bombarded by millions of requests  a day.

Our solution:

  • Load balance our users and get local numbers.

What we did:

  • Got 25 different numbers for cities across India.
  • Especially those states which were participating in the IPL.
User experience:

We made it a point to ensure that the transition to local numbers was a seamless experience for the end user and the ease of use was not impacted.

A typical user flow in pictures would as depicted in the image below:

  1. A user sends a request to the txtWeb primary number : 9243342000
  2. User gets a response from a number which has been assigned to him by the system (maybe a load balanced number or a local number) - in this case 9243345678
  3. When the user hits reply, he automatically uses the load balanced number.
Outcomes:
  • As the load on the system increased, the E2E response time did not spike as earlier.
  • End user delight : The users get charged lesser per SMS, as it is a local SMS vs a national SMS.
  • Users get responses much faster, as they are using a load balanced number.

This E2E response time in the graph below is a clear indicator of the improvements made:

 

Few important links:

List of txtWeb local numbers : http://goo.gl/wAi4O

 

Comments (0)Add Comment

busy

Gopi Krishnan Nambiar

Currently: Employed

Company: txtWeb

Related Post

Enjoy Monsoons with txtWeb Apps

    In this issue, we bring you a basket of apps that can make those rainy days really special. W ..more >

Soothe your Soul with txtWeb’s Music Apps

  Shakespeare had said, “If music be the food of love, play on..” and we couldn’t agr ..more >

txtWeb recommended apps for this holiday season

  Tis the season to be jolly! Well December is already here and Christmas and the New Year is just a fe ..more >

You can bookmark it!

Lately, I have been using @omegle app a lot. To send a message, I had to precede my text with "@omegle.msg" e ..more >

txtWeb Developer Bytes -- Parth Lalcheta

    Shot to fame in App2Fame owing to his app @smsgps (which detects current location of a user ..more >

Platform and Community Updates

  When we spoke about our last platform and community updates in June this year, we promised you that t ..more >

View All