fluree / core

Fluree releases and public bug reports
0 stars 0 forks source link

HTTP Server Async Request Handling #69

Open aaj3f opened 6 months ago

aaj3f commented 6 months ago

Description

Need to investigate if the jetty client being used to handle incoming HTTP requests is doing so synchronously or asynchronously. The goal would be to configure async handling of those requests (although it is not clear if the newer versions of jetty support this or if we need to replace jetty in order to provide this to server)

cap10morgan commented 6 months ago

Is the goal async itself, or is it making sure we can handle the desired level of concurrency (of which async processing would be a potential tool towards that end)?

bplatz commented 6 months ago

I'm not sure I fully understand the question... but the goal is to maximize concurrency through fully utilizing CPU at the most minimal memory impact. The entire database is built on an async framework to do this (and also some JS compatibility reasons). I think we just want to make sure that doesn't get negated by the web server - which it may not be, just want it confirmed that it isn't.