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

Partionnate TaskSupervisor #1561

Closed
Neylix opened this issue Sep 23, 2024 · 0 comments · Fixed by #1589
Closed

Partionnate TaskSupervisor #1561

Neylix opened this issue Sep 23, 2024 · 0 comments · Fixed by #1589
Assignees
Labels
enhancements good first issue Good for newcomers quality Improve code quality

Comments

@Neylix
Copy link
Member

Neylix commented Sep 23, 2024

Is your feature request related to a problem?

In many situation in the code we create a new Task to do asynchronous stuff, but we don't want it to be linked to the caller process but still supervised. To do so we use the module Task.Supervisor which require the application to start a TaskSupervisor process.
Currently we only have 1 TaskSupervisor process, and according to the documentation, it could lead to bottleneck.

Describe the solution you'd like

Create multiple instance of a TaskSupervisor using the PartitionSupervisor as mentionned in the documentation: https://hexdocs.pm/elixir/Task.Supervisor.html#module-scalability-and-partitioning

Additional context

No response

Epic

No response

@Neylix Neylix added quality Improve code quality enhancements labels Sep 23, 2024
@samuelmanzanera samuelmanzanera added the good first issue Good for newcomers label Oct 3, 2024
@bchamagne bchamagne self-assigned this Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancements good first issue Good for newcomers quality Improve code quality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants