Search code examples
asp.nettimeoutexecution

Suggestion for this kind of execution in asp.net


I have a web application that sends a single sms to multiple numbers via gsm.Every user has this application in his local system. I am able to send messages one by one. Thus far i have only 10 numbers so there is no problem. Consider i have a file having 10000 mobile numbers,

  • what will happen to my execution time?
  • What is your suggestion for this scenario?

NOTE:
I dont use an sms gateway because its a simple application which ll be hosted in IIS of my user system only..

I have mobile phone connected to my system and i am sending sms through it..


Solution

  • Your execution time will grow edit:(linearly).

    Why dont you use windows queuing and then write every sms to the queue and then have a windows service running spinning up 1 - n number of threads to send sms's, but I guess the biggest problem for you will not be what your code limits you to do, but how many sms's you can send simultaneously with your gsm.