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]

Reply via email to