Thread: [Quickfix-developers] Multiple FIX acceptor servers
Brought to you by:
orenmnero
|
From: Pasquale d'A. <pas...@ga...> - 2005-05-17 17:42:09
|
Hi,
I have the need to start two FIX acceptors on two different machines =
letting an initiator connect alternatively to both ones. This scenario =
is useful to implement fault-tolerant services.
With the current release of QuickFIX library (1.9.4) I have the problem =
of maintaining the sequence numbers synchronized, even if I use the =
database storing; QuickFIX, in fact, keeps an internal copy of sequence =
numbers that it uses to validate the incoming messages and to set the =
outgoing ones.
So I have worked around the problem by adding the virtual method =
ReloadSeqNums() to the class MessageStore and to its derived MySQLStore. =
The MySQLStore implementation of this method is:
void MySQLStore::ReloadSeqNums() { populateCache(); }
I call the above mentioned method in void Session::nextLogon( const =
Message& logon ) by means of the following statement:
m_state.store()->ReloadSeqNums();
Do you think this update could be extended to future versions of the =
QuickFIX library?
If you have any concerns about my update, please let me know.
Regards,
Pasquale d'Aloise
GATE Tecnologie Informatiche s.r.l.
|
|
From: Oren M. <or...@qu...> - 2005-05-18 21:02:39
|
We will take a look at this. I don't think it will make it to the next =
release, but we may put this or something like it into one of the =
following releases.
--oren
----- Original Message -----=20
From: Pasquale d'Aloise=20
To: qui...@li...=20
Sent: Tuesday, May 17, 2005 12:41 PM
Subject: [Quickfix-developers] Multiple FIX acceptor servers
Hi,
I have the need to start two FIX acceptors on two different machines =
letting an initiator connect alternatively to both ones. This scenario =
is useful to implement fault-tolerant services.
With the current release of QuickFIX library (1.9.4) I have the =
problem of maintaining the sequence numbers synchronized, even if I use =
the database storing; QuickFIX, in fact, keeps an internal copy of =
sequence numbers that it uses to validate the incoming messages and to =
set the outgoing ones.
So I have worked around the problem by adding the virtual method =
ReloadSeqNums() to the class MessageStore and to its derived MySQLStore. =
The MySQLStore implementation of this method is:
void MySQLStore::ReloadSeqNums() { populateCache(); }
I call the above mentioned method in void Session::nextLogon( const =
Message& logon ) by means of the following statement:
m_state.store()->ReloadSeqNums();
Do you think this update could be extended to future versions of the =
QuickFIX library?
If you have any concerns about my update, please let me know.
Regards,
Pasquale d'Aloise
GATE Tecnologie Informatiche s.r.l.
|
|
From: Antonio C. <ant...@ga...> - 2005-05-20 16:45:54
|
Has anybody used open-souce portable libraries for thread management to = build applications embedding QuickFix ? Could you please help me locate = a few ? Regards, Antonio Caroselli GATE Tecnologie Informatiche s.r.l. |
|
From: Caleb E. <cal...@gm...> - 2005-05-20 19:54:43
|
On 5/20/05, Antonio Caroselli <ant...@ga...> wrote: > Has anybody used open-souce portable libraries for thread management to > build applications embedding QuickFix ? Could you please help me locate a > few ?=20 QuickFIX provides portable mechanisms for starting threads and doing synchronization, but if you want something more powerful, look at: * ACE - http://www.cs.wustl.edu/~schmidt/ACE-overview.html * Boost.Threads - http://www.boost.org/ * Apache Portable Runtime - http://apr.apache.org/ (C, not C++) Its not clear from what you're asking what thread management and embedding QuickFIX have to do with each other though. --=20 Caleb Epstein caleb dot epstein at gmail dot com |
|
From: Antonio C. <ant...@ga...> - 2005-05-24 19:30:50
|
Dear Caleb, We want to design and implement an OMS embedding QuickFix, but also implementing a complex logix for order handling. Therefore we shall need = to rely on thread mgmt. and that's why we were asking which are the best (i.= e. most robust) open-source portable libraries in order to write a single application running under Windows, Linux, SUN Solaris. Regards, Antonio Caroselli GATE Tecnologie Informatiche s.r.l. ----- Original Message ----- From: "Caleb Epstein" <cal...@gm...> To: "Antonio Caroselli" <ant...@ga...> Cc: <qui...@li...>; "Pasquale d'Aloise" <pas...@ga...> Sent: Friday, May 20, 2005 9:54 PM Subject: Re: [Quickfix-developers] Open-souce portable libraries for thre= ad management QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX FAQ: http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ QuickFIX Support: http://www.quickfixengine.org/services.html On 5/20/05, Antonio Caroselli <ant...@ga...> wrote: > Has anybody used open-souce portable libraries for thread management to > build applications embedding QuickFix ? Could you please help me locate= a > few ? QuickFIX provides portable mechanisms for starting threads and doing synchronization, but if you want something more powerful, look at: * ACE - http://www.cs.wustl.edu/~schmidt/ACE-overview.html * Boost.Threads - http://www.boost.org/ * Apache Portable Runtime - http://apr.apache.org/ (C, not C++) Its not clear from what you're asking what thread management and embedding QuickFIX have to do with each other though. -- Caleb Epstein caleb dot epstein at gmail dot com ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_idt12&alloc_id=16344&op=3Dick _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |
|
From: Caleb E. <cal...@gm...> - 2005-05-24 20:11:58
|
On 5/24/05, Antonio Caroselli <ant...@ga...> wrote: > We want to design and implement an OMS embedding QuickFix, but also > implementing a complex logix for order handling. Therefore we shall need = to > rely on thread mgmt. and that's why we were asking which are the best (i.= e. > most robust) open-source portable libraries in order to write a single > application running under Windows, Linux, SUN Solaris. The threading and synchronization primitives in QuickFIX work fine on all of these platforms, but If you want something with more bells and whistles, I'd recommend ACE. --=20 Caleb Epstein caleb dot epstein at gmail dot com |