Am just curious on how mobile service providers manage the data used to top-up airtime in your cell phone.
In my region, when you want to top-up airtime on your cellphone, you buy a "scratch" card that has a unique number which you key in on to your cellphone. If the number is valid the amount value of the card is added to your account as airtime.
By now am trying to imagine there must be billions if not trillions of rows holding the previous used numbers, i guess thats how the system get to know if the number you keyed in has been used previously or not. The system must be doing a lookup to some table and verify if the number is valid or not (am guessing).
My question is how do you well do you manage such huge amount of data in a table? What systems(databases) would be the best to handle this kind of a problem? An do you save this records forever? What is the best approach/technique/algorithm can you use to tackle this kind of a problem?
Gath