Open-EO / Open-EO/openeo-python-driver

Run with multiple gunicorn workers?

Open
#127 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
12
Forks
8
Avg merge
6d 3h
Merged PRs (30d)
4

Description

https://github.com/Open-EO/openeo-python-driver/blob/9c6ca37277548d03e8812656187866c447f634cd/openeo_driver/server.py#L24-L36

we now run just one gunicorn worker (and 20 threads in prod).
This probably does not scale probably because threading is a bit fake in Python (only one thread can run at a time)

can we increase the number of workers in some way to have a bit more real concurrency?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the gunicorn setup in openeo_driver/server.py at lines 24-36, focusing on the current single-worker and 20-thread configuration described in the issue. Determine how multiple workers could be enabled and verify that the production setup provides more real concurrency without breaking server startup.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.