我使用php和laravel作为我的web服务.
I want to know does laravel store and process requests in these situation?
- requests to different controllers from many users;
- 来自同一用户对同一控制器的请求.
Is the laravel store these requests in a queue by the sequence the requests reached?
Is laravel parallel process requests for different users, and in sequence for the same user?
例如,用户有两个请求.这两个请求路由到同一控制器中的两个方法.第一个请求将花费很长的时间用于服务器端处理,而第二个请求将花费很少的时间.当用户先建立第一个请求,再建立第二个请求时,虽然第二个请求花费的时间很短,但服务器端不会处理第二个请求,直到它处理完第一个请求.
所以我想知道laravel是如何存储和处理请求的?