当前位置:网站首页>Record the accidental success and failure of uploading large files
Record the accidental success and failure of uploading large files
2022-07-01 23:52:00 【Make a little progress every day】
Project situation :
The website uses Microsoft cloud server 、 Load balancing ( Multi machine operation )、 Microsoft cloud oss
The front end uses webuploader Upload plug-ins , The plug-in can only upload files successfully , To click the confirm button .
The wonderful situation encountered (webuploader Patch uploading ):
1、 Upload small files , Show upload success , Click the confirm button to confirm that it is normal
2、 Larger files , According to successful , Sometimes it is normal to click the confirm button , Sometimes clicking a button doesn't respond
Later found as a result of :
Load balancing distribution + Patch uploading Lead to accidental success and accidental failure , It's no problem to turn load balancing into single machine operation , Or it's no problem to upload and close the partition
Solution :
1: Change load balancing rules , Do not automatically assign , Change to the upper limit and distribute it to another machine ( There may be problems at the critical point )
2: Change the program directly to a separate file server ( Microsoft cloud oss)
3:
边栏推荐
- jpa手写sql,用自定义实体类接收
- 图的遍历之深度优先搜索和广度优先搜索
- 2022-07-01: at the annual meeting of a company, everyone is going to play a game of giving bonuses. There are a total of N employees. Each employee has construction points and trouble points. They nee
- notBlank 和 notEmpty
- 在代码中使用SqlCommand对象
- Key points and difficulties of the course "information content security" at Harbin Institute of Technology
- Concurrentskiplistmap -- principle of table skipping
- 记录一下大文件上传偶然成功偶然失败问题
- Write some suggestions to current and future doctoral students to sort out and share
- E-commerce RPA robot helps brand e-commerce to achieve high traffic
猜你喜欢
Is there a piece of code that makes you convinced by human wisdom
Chapter 6 data flow modeling
kubernetes资源对象介绍及常用命令(三)
Algolia's search needs are almost closed
E-commerce RPA robot helps brand e-commerce to achieve high traffic
【QT】测试Qt是否能连接上数据库
Overview of edge calculation
. env. XXX file, with constant, but undefined
[must] bm41 output the right view of the binary tree [medium +]
回顾数据脱敏系统
随机推荐
jpa手写sql,用自定义实体类接收
ConcurrentSkipListMap——跳表原理
How to realize parallel replication in MySQL replication
Multi table operation - one to one, one to many and many to many
PostgreSQL source code (58) tuple splicing heap_ form_ Tuple analysis
求逆序数的三个方法
Timer和ScheduledThreadPoolExecutor的区别
- Oui. Env. Fichier XXX, avec constante, mais non spécifié
[es practice] safe operation mode on ES
ADO. Net SqlDataAdapter object
2022-07-01: at the annual meeting of a company, everyone is going to play a game of giving bonuses. There are a total of N employees. Each employee has construction points and trouble points. They nee
华为HMS Core携手超图为三维GIS注入新动能
Iota in golang
Concepts of dictionary, hash table and array
BlocProvider为什么感觉和Provider很相似?
[QT] solve the problem that QT MSVC 2017 cannot compile
[QT] test whether QT can connect to the database
Postgresql源码(58)元组拼接heap_form_tuple剖析
kubernetes资源对象介绍及常用命令(三)
SQL optimization