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 | |
---|---|---|---|---|
Need to create a pod for each new request from frontend service in Kubernetes | 1 | 1638 | February 7, 2019 | |
Are queue-based background workers still relevant on K8s? | 7 | 2404 | June 28, 2023 | |
Dynamic pod creation in kubernetes | 1 | 2713 | August 12, 2022 | |
Kubernetes.io Blog: Get started with Kubernetes (using Python) | 0 | 1484 | July 23, 2019 | |
Custom load balancing in Kubernetes | 1 | 527 | June 9, 2021 |