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

Performance Improvement #296

Open
Arooba-git opened this issue Jun 17, 2024 · 0 comments
Open

Performance Improvement #296

Arooba-git opened this issue Jun 17, 2024 · 0 comments

Comments

@Arooba-git
Copy link

Arooba-git commented Jun 17, 2024

Hello 🙂

Thank you for this handy service and straightforward instructions. I successfully executed your project.

As we explore the latest trends in Java app development, particularly reactive apps and virtual threads, we are conducting research on open-source projects. Our focus is on comparing performance across three web development paradigms: imperative, reactive, and using virtual threads. We've measured performance in terms of CPU and memory usage, as well as throughput, latency and request concurrency. With your clear guidance, we managed to run your project across all three paradigms. Our findings clearly show that while the original version has better throughput, virtual threads significantly enhances overall performance, as highlighted in the following table:

Metric Original Virtual
Latency (longest processing time) 25.85 20.37
Memory Usage (MB) 1040.42 630.55
CPU Usage (%) 10.04 10.14
Throughput (requests/sec) 2565.82 2375.13
Requests Passed (%) 19.86 20.57

To showcase the impact of virtual threads, we created a simplified version of your project with a single endpoint for demonstration purposes. You can explore and compare its performance with the original project here .

For profiling, we utilized Jmeter, and you can find the test file here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant