简体   繁体   English

QuickFIXJ会话的负载均衡器

[英]Load Balancer for QuickFIXJ Session

We have single session with our broker. 我们与经纪人进行一次会议。 We are getting market data on that session. 我们正在该会议上获取市场数据。 Basically we want to distribute that data to different team on FIX only. 基本上,我们只想将数据分发给FIX上的其他团队。 Is there any ready solution which can work both as acceptor and initaor. 是否有任何既可以作为接受者又可以作为初始者的解决方案。

Initator would get message from Broker and would pass those to acceptor and acceptor would pass those messages to it's client. 初始化程序将从Broker获取消息,并将消息传递给acceptor,而acceptor将这些消息传递给它的客户端。

We are using apache camel quickfixj for this. 我们为此使用apache camel quickfixj。

Acceptor and initiator are properties of a Fix session, and determine which server on each side of the session creates the FIX connection and which server sits and waits for the other to connect. 接受者和发起者是Fix会话的属性,并确定会话两端的哪台服务器创建FIX连接,以及哪台服务器位于并等待另一台服务器连接。 It's not related to what the server does with the received information. 它与服务器处理接收到的信息无关。

So your application will receive market data over one FIX session, and you will discuss with your broker as to whether this should be an acceptor or initiator. 因此,您的应用程序将通过一个FIX会话接收市场数据,并且您将与您的经纪人讨论这应该是接受者还是发起者。

Your application can create more FIX sessions with your other team; 您的应用程序可以与您的其他团队创建更多的FIX会话; it is up to you and the other team to decide whether this other session on your side is an acceptor or not. 由您和另一个团队决定您这一边的其他会话是否是接受者。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM