在 ASP.NET 中这种执行的建议

发布于 2024-09-12 09:09:06 字数 282 浏览 2 评论 0原文

我有一个网络应用程序,可以通过 gsm 向多个号码发送一条短信。每个用户的本地系统中都有这个应用程序。我能够一条一条地发送消息。到目前为止我只有 10 个号码,所以没有问题。假设我有一个包含 10000 个手机号码的文件,

  • 我的执行会发生什么 时间?
  • 对于这个场景你有什么建议?

注意:
我不使用短信网关,因为它是一个简单的应用程序,仅托管在我的用户系统的 IIS 中。

我的手机连接到我的系统,我通过它发送短信。

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..

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ㄟ。诗瑗 2024-09-19 09:09:06

你的执行时间将会增长编辑:(线性)。

为什么你不使用 Windows 队列,然后将每条短信写入队列,然后运行一个 Windows 服务,启动 1 - n 个线程来发送短信,但我想你最大的问题不会是你的代码限制你的内容可以,但是您可以使用 GSM 同时发送多少条短信。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文