数据上传时的性能问题 [英] performence issue while data uploading

查看:99
本文介绍了数据上传时的性能问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai,



我们有一个用于发送短信的短信面板..



在该面板中我们可以选择上传excel表。这个excel表包含超过100000个手机号码..



有一个按钮就像提交..点击提交后我们需要发送带有一些内容的短信到手机号码。



主要问题:

----------- ---







点击提交按钮后上传excel表格时需要3到4小时...我的意思是一些性能问题正在发生...







如何在asp.net中解决它。





我需要解决方案,就像我点击提交按钮一样。我们需要向用户显示一些消息llike谢谢你提交..然后后端进程就像那样......

解决方案

引用:

上传excel表格后点击提交按钮时需要3到4个小时





您可以参考以下链接,这对于在后台异步执行SMS非常有用。在链接中,它用于批量邮件发送,您用SMS发送逻辑替换。



http://www.aspsnippets.com/Articles/How-to-send-email-Asynchronously-in-ASPNet-using-Background-Thread.aspx [ ^ ]


Hai,

We have an sms panel for sending sms..

In that panel We have an option to upload excel sheet..That excel sheet contains more than 100000 mobile numbers..

There is one button like submit.. after clicking on submit we need to send sms with some content to that mobile numbers.

Main Issue:
--------------



After uploading excel sheet when i click submit button it was taking 3 to 4 hours time.. what i mean some performence issue is going on...



How to resolve it in asp.net.


I need solution like when i click on submit button. we need to show some message to user llike thank you for submitting.. and after that the backend process was going on like that....

解决方案

Quote:

After uploading excel sheet when i click submit button it was taking 3 to 4 hours time



You can refer the below link which can be useful to execute the SMS asynchronously in the background. In the link its used in Bulk mail sending that you replace with SMS sending logic .

http://www.aspsnippets.com/Articles/How-to-send-email-Asynchronously-in-ASPNet-using-Background-Thread.aspx[^]


这篇关于数据上传时的性能问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆