Hi Ken, It is for a financial application where fewer milliseconds = more money. I am trying to improve on the 3ms.
Cheers, Tony > Message du 09/01/10 21:03 > De : "Ken Krugler" > A : "HttpClient User Discussion" > Copie à : > Objet : Re: Efficiently repeating identical requests > > > Hi Tony, > > I'm wondering why you need to do this level of optimization - are you > running into issues with this type of POST request chewing up too many > CPU cycles, and/or not being able to send the request every 3ms > because it's taking too long? > > -- Ken > > On Jan 9, 2010, at 10:29am, Tony Poppleton wrote: > > > Hi, > > > > I send out the exact same HttpPost request every 3 milliseconds and > > would like to optimize it. > > > > As the POST data is exactly the same, I would like to hold it in a > > direct ByteBuffer so it is in the kernel memory, and then use the > > efficient NIO transfer methods to send it to the socket. Is this > > possible with HttpClient, and if so how would I go about > > implementing this? > > > > Many thanks, > > Tony > > -------------------------------------------- > Ken Krugler > +1 530-210-6378 > http://bixolabs.com > e l a s t i c w e b m i n i n g > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------------------------- > Orange vous informe que cet e-mail a ete controle par l'anti-virus mail. > Aucun virus connu a ce jour par nos services n'a ete detecte. > > >
