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

Parallel execution of computations #43

Open
darkodraskovic opened this issue Sep 7, 2023 · 0 comments
Open

Parallel execution of computations #43

darkodraskovic opened this issue Sep 7, 2023 · 0 comments
Assignees
Labels
architecture enhancement New feature or request

Comments

@darkodraskovic
Copy link
Collaborator

Currently, we utilize blocking endpoints, which necessitates that request processing should be swift in terms of response time.

To achieve this, one possible approach is to delegate the processing of virtual machines to different processes or threads. Go routines, with their inherent concurrency features, make good candidates for handling this workload. Upon receiving a request to initiate a computation, we can initiate both the health check process and the computation process within a single Go routine.

This approach to parallel processing of run requests requires the use of a Go channel to collect relevant data about the running go routines.

@darkodraskovic darkodraskovic added the enhancement New feature or request label Sep 7, 2023
@darkodraskovic darkodraskovic self-assigned this Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant