|
From: Charles B. <cha...@gm...> - 2015-08-05 18:04:43
|
Hi, It should be accessible on git hub online, in the pull request section. Bit I don't think it's transposable to other projects, except for the CharSequenceReader class which is code from ths jdk to convert value from a StringBuilder to a double (avoiding the String convertion, and some inner BigInt allocations for this purpose, but not all). In Message class, I put code from the jdk to find substring in a StringBuilder too, as it was making allocations too. Another wellknown concept I used is to cache some strings, I allocate once all the Character as strings in CharConverter class for example. Last concept is the usage of ThreadLocal to get some reusable buffers like StringBuilder. Have to be careful to never share to other threads what is stored in a threadlocal... Regards, > Le 5 août 2015 à 12:43, Chris Hurst <chr...@ho...> a écrit : > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > Hi, > > Is Charles's work easily accessible for anywhere (I was just interested as I do similar work on other engines) ? I wanted a look and I'm not that up on my GIT, though migrating soon. > > Chris > > > > From: chr...@ma... > Date: Sun, 2 Aug 2015 15:53:12 +0200 > To: qui...@li...; cha...@gm... > Subject: Re: [Quickfixj-users] Performance latency improvement when sending messages > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > Hi Charles, thanks for this. Much appreciated. I will have a closer look after my vacation. Cheers, Chris. Am 1. August 2015 09:59:50 MESZ, schrieb Charles Briquel : >QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >QuickFIX/J Support: http://www.quickfixj.org/support/ > > >Hi, > >I finished to pull request everything, I hope quick fix is quicker now >; ) > >I did not pull treeMap replacement by lists, may be one day, as an >optional behavior that we can set in the settings, if you like the >rest. >I hope it is clean enough for you, I suppose we have to put a buffer >size in settings if you take the FIXMessageEncoder change. > >In our fx environnement, we dropped from gigabytes of allocated data in >few minutes to one hundred of megabytes, we are brokers. This is not >perfect but still 10 times better. It means 10 times less minor GC if >quick fix is the only memory consumer… > >Regards, > >Charles > > >Le 24 juil. 2015 à 03:58, Christoph John a écrit : > >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J Support: http://www.quickfixj.org/support/ >> >> >> Hi Charles, >> >> thanks for your offer. W > Hi Charles, > thanks for this. Much appreciated. I will have a closer look after my vacation. > Cheers, > Chris. > > Am 1. August 2015 09:59:50 MESZ, schrieb Charles Briquel <cha...@gm...>: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > Hi, > > I finished to pull request everything, I hope quick fix is quicker now ; ) > > I did not pull treeMap replacement by lists, may be one day, as an optional behavior that we can set in the settings, if you like the rest. > I hope it is clean enough for you, I suppose we have to put a buffer size in settings if you take the FIXMessageEncoder change. > > In our fx environnement, we dropped from gigabytes of allocated data in few minutes to one hundred of megabytes, we are brokers. This is not perfect but still 10 times better. It means 10 times less minor GC if quick fix is the only memory consumer… > > Regards, > > Charles > > > Le 24 juil. 2015 à 03:58, Christoph John > a écrit : > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > Hi Charles, > > thanks for your offer. W > > ------------------------------------------------------------------------------ > _______________________________________________ Quickfixj-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfixj-users > ------------------------------------------------------------------------------ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users |