Hi, On Sun, Apr 29, 2012 at 04:15, David Walend <[email protected]> wrote: > I'm working on a project where I need direct access to memory via ByteBuffers > and the ability to use http protocols to push the data around the internet. > Can Jetty do that? How hard is it to do? > > (An early aspect of this project is transferring ~10GB files. Does Jetty have > any baked-in limits on size of a single transfer?) > > I haven't been able to find doc or an email thread on ByteBuffers, so a "go > read this" answer would be great help. Heck, even "go read this part of the > source code" would be fine.
Jetty's DefaultServlet is already doing a bunch of smart things related to mapped file buffers and such, see http://wiki.eclipse.org/Jetty/Feature/Servlets_Bundled_with_Jetty#DefaultServlet (in particular parameter "useFileMappedBuffer"). If that's not enough, you need to be more explicit on what you want to do. Simon -- http://cometd.org http://intalio.com http://bordet.blogspot.com ---- Finally, no matter how good the architecture and design are, to deliver bug-free software with optimal performance and reliability, the implementation technique must be flawless. Victoria Livschitz _______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
