[Quickfix-developers] QuickFIX/J updates and new features
Brought to you by:
orenmnero
|
From: Steve B. <sb...@sm...> - 2006-02-02 18:25:59
|
I've updated the QuickFIX/J CSV HEAD with most of the features in the 1.11.0 version. I'm not currently planning to port the MSSQL and PostgreSQL-specific classes but those databases can be accessed using the existing JdbcLog and JdbcStore classes. =20 I've also added some new features to the QuickFIX/J CVS head. =20 I've added simple failover support for QF/J acceptors. When using a MessageStore that supports shared data (FileStore, JdbcStore, SleepycatStore) and implements the new RefreshableMessageStore interface, the Session can be configured to refresh the store information upon logon. You would typically run two acceptor processes using a shared message store. One process would be the active acceptor and the other would be the standby for any specific session. If one acceptor process dies, the client (assuming they have been configured with failover addresses) will attempt to logon to the other acceptor. When they do, the message store for that session will be refreshed and the session should continue normally. I've tried this with Banzai and two Order Executors and it appears to work well. Note that this approach doesn''t require that each acceptor is globally in an active or standby role. Since that role is session-specific, both acceptors could be be actively supporting sessions and when one node dies all the sessions on that node will be automatically switched to the other node. This is implemented simply by specifying the order of the failover addresses in the QF settings file so that some clients initially connect to one node and others connect to the other node. One weakness with this scenario is that there's no way to redistribute the sessions to the two nodes once the dead node is restarted. That can be added as future capability. I'll provide more documentation and configuration scenarios in the documentation (possibly after the beta 3 release). =20 I've also created a first implementation of QF message component classes. They still need more work, but you can try them by generating the classes using the code generator in the CVS HEAD. The components are in the quickfix.fix43.component and quickfix.fix44.component packages. =20 Steve Bate Smart Trade Technologies Phone: +33 4 42 90 03 97 http://www.smart-trade.net/ =20 =20 |