Acceptor horizontal scaling #759
Replies: 2 comments 1 reply
-
Sorry it is not entirely clear to me what you want to achieve. You say acceptor server and want to communicate from server 1 to server 2. But in FIX protocol communication goes between acceptor and initiator. |
Beta Was this translation helpful? Give feedback.
-
We do the actual message processing in an external app(worker), in order to do that messages are sent through a queue system then processed. Problem is if we try to provide high availability on the fix engine it means with have multiple instances and sinces the sessions are in memory if a response is handled by a fix engine A but the connected session is actually on fix engine B then it is not found Basically the fix engine is only used as proxy and don't do any business logic We actually implement some kind of broadcasting with redis, like the socket io [https://socket.io/docs/v4/redis-adapter/ ](https://socket.io/docs/v4/redis-adapter/) does with pub/sub mechanism, but since our storage is a mysql dbtabase i thought there would be some kind of option to provide working with multiple instances |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am wondering how you can achieve horizontal scaling of an acceptor server.
Let say I have 5 servers, each one has a session opened to it and they want to communicate.
Sending a message from server 1(session A) to server2(session B) will not work as the server 1 does not have the session B connected to it.
Let's assume as well I want to allow only one connection from a session, how do you prevent it in this scenario ?
Beta Was this translation helpful? Give feedback.
All reactions