简体   繁体   English

在 Django (Python) 中处理多个 post 请求

[英]Handle multiple post request in Django (Python)

Have created one web application using Django and Python.已经使用 Django 和 Python 创建了一个 Web 应用程序。 I am passing some inputs to the pickle model and getting prediction value(on the web page) based on the input data passed to the ML model present in pickle format.我正在将一些输入传递给 pickle 模型,并根据传递给 pickle 格式的 ML 模型的输入数据获取预测值(在网页上)。

I want the web to handle multiple requests parallelly using Django.我希望网络使用 Django 并行处理多个请求。 ie if multiple users are passing inputs on the web page and wanting prediction values at the same time.即,如果多个用户在网页上传递输入并同时想要预测值。 How to manage the above scenario.如何管理上述场景。

Please provide me high-level scenarios like how to handle this case.请向我提供高级方案,例如如何处理这种情况。 You can provide links, videos etc您可以提供链接、视频等

Django Version: 3.0.2 Python Version: 3.7 Django 版本:3.0.2 Python 版本:3.7

There is a multithreading issue and a related question.有一个多线程问题和一个相关问题。

Can Django do multi-thread works? Django 可以做多线程工作吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM