Skip to content

Any possible issues/gotchas with load balancing across multiple instances? #2953

Answered by Macroz
andrewpatto asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

Good questions. I think we can fix this lapse in the documentation sometime.

The simple answer is that we run all of our production instances with a single (sometimes beefy) instance.

In fact, the processing of commands/events currently requires there to be a single instance that does the processing. It is not configurable (e.g. to a single master server), so REMS should be run on only one server. In theory, the queries in the API are mostly stateless, but command processing is inherently not, and it is synchronous (not eventually consistent). It would have to be reworked, so that at least different applications can be handled independently. As REMS is currently implemented, sessio…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Macroz
Comment options

You must be logged in to vote
2 replies
@Macroz
Comment options

@Macroz
Comment options

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