Replies: 2 comments 7 replies
-
Armeria tries to provide a sensible default value for the number of event loops. However, it may be adjustable depending on the type of the workload. armeria/core/src/main/java/com/linecorp/armeria/common/Flags.java Lines 705 to 710 in 38d8d25
We recommend using https://github.com/reactor/BlockHound to detect blocking IO.
To handle blocking tasks, you could enable
As blocking tasks are not CPU-intensive, it may depend on your system memory.
I think so. HTTP/2 would make your server more performant.
Those are good questions. However, there are no recommended JVM tuning parameters of Armeria. They can vary depending on the type of your workload.
Armeria exports request metrics via Micrometer. https://armeria.dev/docs/advanced-metrics There were many questions, but I skipped some of them because they were too general or lacked enough context to answer. |
Beta Was this translation helpful? Give feedback.
-
|
This is my startup class This is my handler I have this REST service, and inside it there are some external HTTP calls (using Armeria’s HTTP client): one call to Outlook for calendar creation and two calls to an external service for data registration. How can I optimize or change the Armeria configuration to reduce the impact on my server’s performance? Sorry if these are more management-related questions, but we are an Italian team and your European division has shut down, so we’re struggling to find documentation and use cases. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🐞 Armeria Server Performance — Questions for Tuning Event Loop, Thread Pool & JVM
📌 Context
During load testing with about 300 parallel requests per second, we’re seeing the tail latency grow to around 30 seconds for the last request.
The test machine has 8 CPU cores and 30 GB RAM, so the issue is likely related to server configuration and JVM tuning, not hardware limits.
The service runs on a REST API built with Armeria.
❓ Questions for the Team
A. Event Loop & Thread Pool
BlockingTaskExecutor?B. JVM & Build Configuration
C. Profiling & Load Testing
🧾 Optional Discussion Points
Beta Was this translation helpful? Give feedback.
All reactions