Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

remove use of ForkJoinPool in SubmissionController (closes #399) #495

Conversation

nils4cosee
Copy link
Contributor

As discussed in #399:

While a scheduled-executor makes sense for timing the response to
fake-requests, real requests should better be handled in the web-thread
directly. We still use the DeferredResult to as response, but do not
run real requests in new threads.

Checklist

  • Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests.
  • Make sure mvn install runs for the whole project and, if you touched any code in the respective service, submission and distribution service can be run with spring-boot:run

Description

While a scheduled-executor makes sense for timing the response to
fake-requests, real requests should better be handled in the web-thread
directly. We still use the DeferredResult to as response, but do not
run real requests in new threads
@nils4cosee nils4cosee force-pushed the issue-399-dangerous-use-of-forkjoinpool branch from 87f2031 to 3980752 Compare June 9, 2020 16:00
@stevesap stevesap added community This item is well suited to be worked on by the community. in review Moderators are investigating how to best proceed with the issue labels Jun 9, 2020
@michael-burwig
Copy link
Member

Branch out of date, cannot update/push to your fork branch :(

@ole-lilienthal
Copy link
Contributor

Closing in favour of #518. Thanks again for your contribution.

@stevesap stevesap removed the in review Moderators are investigating how to best proceed with the issue label Jun 11, 2020
@nils4cosee
Copy link
Contributor Author

@michael-burwig We noticed that you cannot switch on "maintainers can commit" in a fork of an organisation, sorry about that.

@michael-burwig
Copy link
Member

My apologies again for not having picked this PR after all. The issue in question became more and more pressing due to performance/high availability tests that were scheduled on that day.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
community This item is well suited to be worked on by the community.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants