alisha-1000 commented on issue #535:
URL: https://github.com/apache/wayang/issues/535#issuecomment-3929002791

   Thanks for raising this concern 
   
   Currently, the JSON API processes requests sequentially, which can indeed 
become a bottleneck in server environments (e.g., web applications) where 
multiple concurrent requests are expected.
   
   To better understand and address the issue, could you clarify:
   
   Are you observing blocking behavior under concurrent requests?
   
   Is this happening in a specific deployment setup (e.g., single-threaded 
server, shared resource access)?
   
   Do you have benchmarks or logs demonstrating the concurrency limitation?
   
   If the issue stems from synchronous request handling or shared mutable 
state, potential improvements could include:
   
   Refactoring to async/non-blocking handlers
   
   Introducing request-level isolation
   
   Using thread-safe or concurrent data structures
   
   Leveraging worker pools or event-loop based execution
   
   If you'd like, I can investigate and propose a patch once more details are 
available.


-- 
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