Skip to content

ThreadingModel.VirtualThread significant performance drop. #5245

@sanIncredible

Description

@sanIncredible

Questions

Version

4.5.8

Context

while running existing application with ThreadingModel.VirtualThread , application performance dropped significantly.

Do you have a reproducer?

Yes

Steps to reproduce

  1. deploy a verticle containing HTTP server , responding every request wuth 200-OK
  2. first execute with ThreadinModel.EventLoop
  3. execute with ThreadingModel.VirtualThread
  4. run http load test.

EventLoop model results : 31000 request per second
Virtual Thread model results : 811 request per second.

CPU utilization is very less in VT model ,

image

Extra

  • Anything that can be relevant such as OS version, JVM version

openJdk 21

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions