I now use the python program as the server side, the server side receives the request from the front-end and establishes a task queue and adds the request sent by the front-end to the queue, the backend regularly polls to detect the queue, and takes out the tasks in the queue according to the first-in, first-out principle, the task is mainly used to create containers according to parameters and execute scripts in them. So how do I create this task queue, can I use Kubernetes to create it directly, and do I need additional middleware?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Are queue-based background workers still relevant on K8s? | 7 | 2947 | June 28, 2023 | |
| Need to create a pod for each new request from frontend service in Kubernetes | 1 | 2192 | February 7, 2019 | |
| Application schedulers in Kubernetes | 0 | 473 | November 22, 2021 | |
| I want to use K8s's cronjob to run python code periodically | 1 | 280 | July 11, 2024 | |
| How to dynamically generate pods? | 0 | 670 | September 30, 2021 |