Re: [Quickfix-users] Getting a SocketConnection handle
Brought to you by:
orenmnero
From: Peter H. <pet...@ya...> - 2012-12-18 23:30:14
|
I need realtime analysis, the socket buffer size increases as needed. During high-traffic times, I can see the message latency increasing, sometimes the application will hang up for a few seconds, which is unacceptable. So I'm finding ways to accurately see what's going on under the hood. I'm surprised there is no easy way to do this. The closest thing I've found is that SocketInitiator keeps track of all its connections, but none of it is publicly accessible. I may resort to altering the quickfix code, but I'll troll around some more before I do. ________________________________ From: Hei Chan <str...@ya...> To: Peter Handel <pet...@ya...> Cc: "qui...@li..." <qui...@li...> Sent: Tuesday, December 18, 2012 3:18 PM Subject: Re: [Quickfix-users] Getting a SocketConnection handle You can configure the socket buffer size starting from 1.13.x I believe. So you don't have to query it (unless you want to do analysis in realtime without knowing the corresponding configuration). Maybe you can monitor your network queue at the OS level instead? ________________________________ From: Grant Birchmeier <gbi...@co...> To: Peter Handel <pet...@ya...> Cc: "qui...@li..." <qui...@li...> Sent: Tuesday, December 18, 2012 2:54 PM Subject: Re: [Quickfix-users] Getting a SocketConnection handle QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html Ah, right, carry on. (Sorry I can't help with the actual question.) On Tue, Dec 18, 2012 at 4:37 PM, Peter Handel <pet...@ya...> wrote: > >I want the socket file descriptor to do things like get the socket buffer size, get the number of unread bytes, etc. I want these for doing diagnostics in case the system gets overloaded. > > > > >________________________________ > From: Grant Birchmeier <gbi...@co...> > > > > >I'm not sure how. More importantly, why do you need to get that pointer? Offhand, I can't think of why you'd need it. > > > >Just asking in case you are inadvertently doing something unorthodox. > > > > > > > > >On Tue, Dec 18, 2012 at 3:13 PM, Peter Handel <pet...@ya...> wrote: > >QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html >>QuickFIX Support: http://www.quickfixengine.org/services.html >> >> >> >> >> >>Given a FIX:Session pointer, how can I get a pointer to the SocketConnection its using? The only thing I see is that a FIX::Session has a private pointer to a FIX::Responder, but no access to it. >> >> >> >>------------------------------------------------------------------------------ >>LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial >>Remotely access PCs and mobile devices and provide instant support >>Improve your efficiency, and focus on delivering more value-add services >>Discover what IT Professionals Know. Rescue delivers >>http://p.sf.net/sfu/logmein_12329d2d >>_______________________________________________ >>Quickfix-users mailing list >>Qui...@li... >>https://lists.sourceforge.net/lists/listinfo/quickfix-users >> >> > > >-- > >Grant Birchmeier > >Connamara Systems, LLC > >Made-To-Measure Trading Solutions. >Exactly what you need. No more. No less. > >http://connamara.com/ > > > > -- Grant Birchmeier Connamara Systems, LLC Made-To-Measure Trading Solutions. Exactly what you need. No more. No less. http://connamara.com ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Quickfix-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-users |