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

Mix Virtual Threads with OS #34108

Closed
liqs02 opened this issue Dec 17, 2024 · 1 comment
Closed

Mix Virtual Threads with OS #34108

liqs02 opened this issue Dec 17, 2024 · 1 comment
Labels
status: duplicate A duplicate of another issue

Comments

@liqs02
Copy link

liqs02 commented Dec 17, 2024

Enhancements Request

Use Case

In a microservices architecture, some endpoints perform CPU-intensive tasks like password hashing, while others are I/O-bound. Current Spring configurations do not allow selective threading models for different endpoints, leading to potential inefficiency.

Proposed Enhancement

Introduce some type of annotations to specify threading models at the endpoint level within Spring, enabling a mix of virtual and OS threads based on the operation's nature.

Benefits

  • Improved performance through tailored threading.
  • Increased flexibility and control
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Dec 17, 2024
@snicoll
Copy link
Member

snicoll commented Dec 18, 2024

@liqs02 this has already been requested, please see #31212.

@snicoll snicoll closed this as not planned Won't fix, can't repro, duplicate, stale Dec 18, 2024
@snicoll snicoll added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants