|
From: Chris H. <chr...@ho...> - 2007-03-28 10:10:57
|
<html><div style='background-color:'><P>I think you have to 'roll your own' solution, we have two current sessions, a primary and a backup , only one increments the sequence number (the primary) if that session dies the other which was just heart beating at this point becomes the primary and takes over using the sequence number last stored by the failed session in a central database, if the first session restarts it comes back in as a backup session until the new primary fails ... our side this involved a small amount of tweaking to session.java in the quickfixj libs.</P> <P>I'm sure there are other solutions ....<BR><BR></P> <BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #a0c6e5 2px solid; MARGIN-RIGHT: 0px"><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif"> <HR color=#a0c6e5 SIZE=1> From: <I>"Alex McGlashan" <ale...@eu...></I><BR>Reply-To: <I>qui...@li...</I><BR>To: <I><qui...@li...></I><BR>Subject: <I>[Quickfixj-users] Failover and Recovery</I><BR>Date: <I>Wed, 28 Mar 2007 10:40:09 +0100</I><BR>>QuickFIX/J Documentation: http://www.quickfixj.org/documentation/<BR>>QuickFIX/J Support: http://www.quickfixj.org/support/<BR> <P><BR> <META content="Microsoft SafeHTML" name=Generator> <STYLE> p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman';} a:link, span.MsoHyperlink {color:blue;text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple;text-decoration:underline;} span.EmailStyle17 {font-family:Arial;color:windowtext;} @page Section1 {size:612.0pt 792.0pt;margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.Section1 {page:Section1;} </STYLE> <DIV class=Section1> <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">All,</SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P> <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Can anyone advise the best way to configure QFJ for failover? For example, if the machine running a QFJ Acceptor fails, is it possible to switch to another machine, re-establish a connection and resume the session with the correct message sequence numbers? Would QFJ handle this automatically perhaps by storing the sequence number file on the network?</SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P> <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks in advance for any advice,</SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Alex</SPAN></FONT></P></DIV> <P align=left><FONT face=Tahoma size=2><FONT color=#0000ff>Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail. </FONT></FONT></P> <P align=left><FONT face=Tahoma size=2><FONT color=#0000ff>Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you receive this transmission in error, please notify us immediately, and then delete this E-mail. </FONT></FONT></P> <P align=left><FONT face=Tahoma size=2><FONT color=#0000ff>Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments.</FONT></FONT></P> <P align=left><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK.</FONT></SPAN></SPAN></P><BR> <P>>-------------------------------------------------------------------------<BR>>Take Surveys. Earn Cash. Influence the Future of IT<BR>>Join SourceForge.net's Techsay panel and you'll get the chance to share your<BR>>opinions on IT & business topics through brief surveys-and earn cash<BR>>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV<BR> <P>>_______________________________________________<BR>>Quickfixj-users mailing list<BR>>Qui...@li...<BR>>https://lists.sourceforge.net/lists/listinfo/quickfixj-users<BR> <P></FONT></P></BLOCKQUOTE></div><br clear=all><hr>Get Hotmail, News, Sport and Entertainment from <a href="http://g.msn.com/8HMBENUK/2737??PS=47575" target="_top">MSN on your mobile.</a> </html> |