当千位用户点击提交按钮时如何处理响应。 [英] How to handle response when thousand of user clicking on submit button.

查看:52
本文介绍了当千位用户点击提交按钮时如何处理响应。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在做一个财务项目。我想问一下,当1000个用户点击某个请求,并且请求转到某个API时,我该如何处理该请求。我怎样才能确定...哪个回复请求...



我尝试过:



我只是按照正常的方式做.. .. div class =h2_lin>解决方案

引用:

我如何识别..哪个响应请求..

你不需要。



仅仅因为服务器没有没有1000个网卡,每个请求当时收到1个,服务器为每个请求创建一个线程。这样一个线程向处理程序的副本显示1个请求。



这只是伟大的行。


Hi , I am doing a project of Finance . I want to ask that when 1000 of user hit the request for sometning, and the request goes to some API, then how can i handle the request. how can i identify..which response for which request ..

What I have tried:

I am just doing in normal way ..

解决方案

Quote:

how can i identify..which response for which request ..

You don't have to.

Simply because the server don't have 1000 network cards, each request is received 1 at the time and the server create a thread for each request. This way a thread show 1 request to the copy of the handler.

This is only the great lines.


这篇关于当千位用户点击提交按钮时如何处理响应。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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