[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] ByteBuffers and Jetty?

> Date: Tue, 1 May 2012 13:31:26 -0400
> From: Jeffrey Kesselman <jeffpk@xxxxxxxxx>

Thanks again for the replies, Jeff and Simone.

> WHat do you want access to?

Ultimately, big contiguous blocks of code in C memory. In a later phase I need to tie a large piece of mathematical analysis code on the clients to an even larger piece of mathematical analysis code in the server. I'd like to tap the C memory via direct ByteBuffers to avoid copying data through Java.

> Are you trying to get a block of binary data that was sent as a post
> pameter, like in a file upload? or are you trying to get the entire http
> request as binary block of data?

> If the latter you might want to consider using Netty instead.

I'm interested in the former. I'd like to use http requests and replies to move the data around on the wire, and use other servlets to build up less complicated (and differently complicated) parts of the system behind a single front-end. I think with Netty I'd have the power to solve the hardest problems I'll face, but would make all the easy problems similarly hard to solve.

Thanks again,