Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: server-mode parallel requests #741

Merged
merged 11 commits into from
Jun 21, 2023
Merged

feat: server-mode parallel requests #741

merged 11 commits into from
Jun 21, 2023

Conversation

jlahovnik
Copy link
Collaborator

@jlahovnik jlahovnik commented Jun 20, 2023

Description

The changes in this pull request solve the problem that only one request can be handled at the same time which could lead to long queues. Now, several different requests can be handled at the same time, e.g. a search can be done during a download.

Related to #701

jlahovnik added 4 commits June 1, 2023 15:10
new incoming download requests can now be processed before a previous one is finished
requests to the search, collections and items endpoints are now not blocking the thread anymore
@github-actions
Copy link
Contributor

github-actions bot commented Jun 20, 2023

Test Results

       4 files  ±0         4 suites  ±0   4m 23s ⏱️ +37s
   388 tests ±0     386 ✔️ ±0    2 💤 ±0  0 ±0 
1 552 runs  ±0  1 496 ✔️ ±0  56 💤 ±0  0 ±0 

Results for commit b62e971. ± Comparison against base commit d9708f9.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 20, 2023

Code Coverage (Ubuntu)

File Coverage
All files 82%

Minimum allowed coverage is 70%

Generated by 🐒 cobertura-action against b62e971

@github-actions
Copy link
Contributor

github-actions bot commented Jun 20, 2023

Code Coverage (Windows)

File Coverage
All files 77%

Minimum allowed coverage is 70%

Generated by 🐒 cobertura-action against b62e971

@sbrunato sbrunato changed the title Parallel requests feat: server-mode parallel requests Jun 20, 2023
tests/units/test_http_server.py Outdated Show resolved Hide resolved
eodag/rest/server.py Outdated Show resolved Hide resolved
eodag/rest/server.py Outdated Show resolved Hide resolved
@sbrunato sbrunato merged commit 791fb4d into develop Jun 21, 2023
@sbrunato sbrunato deleted the parallel-requests branch June 21, 2023 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants