mrproliu commented on issue #12372:
URL: https://github.com/apache/skywalking/issues/12372#issuecomment-2450021956

   After gaining a deeper understanding of the Armeria framework, I found that 
by default [it does not execute business logic in a separate thread pool but 
directly in the Event 
Pool](https://github.com/line/armeria/issues/1524#issuecomment-453425891). So I 
tried adding a `Time.Sleep` operation to Streaming again and found that its 
execution time increased significantly. 
   <img width="789" alt="image" 
src="https://github.com/user-attachments/assets/8d40f8c8-24aa-4c3e-b6a9-f5e812dd8720";>
   
   Then I attempted to use the [BlockingThreadExecutor 
feature](https://github.com/line/armeria/blob/5b317b0e98a1a4b0560c4ea1c195f058775e62f7/site/src/pages/docs/server-grpc.mdx#blocking-service-implementation)
 to customize the thread pool and discovered that its performance dropped 
sharply compared to the native gRPC framework. Therefore, this solution is 
temporarily not considered.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to