Skip to content

Need help with a load balancer server translating REST requests to RPC servers #306

Discussion options

You must be logged in to vote

Hi, @ThusSpokeBieu

First and foremost, it's essential to determine the threading model of the application. ActiveJ offers great flexibility in this regard, but it's crucial to understand how the application operates and what outcomes you aim to achieve. Most components in ActiveJ belong to one event loop or another, each running in its own separate thread. Additionally, there's the main application thread. We have several options:

  • Running the event loop directly in the main thread. In this case, await() won't be necessary, and the application will operate within the main thread.
  • Running the event loop in a separate thread while the main thread waits for its completion.
  • Running multiple t…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ThusSpokeBieu
Comment options

Answer selected by ThusSpokeBieu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants