non-blocking image generation over http
Drew Kutcharian
drew at venarc.com
Tue Sep 13 15:00:32 EDT 2011
Hi All,
I'm trying to implement a simple web service that generate images using Netty. I'm using the Netty's HttpStaticFileServer example as a base. The issue is the image generation is a slow process and I don't want to block when the image is being generated.
I see that in the example most of the work is being done in HttpStaticFileServerHandler.messageReceived(). Is that where I should put the image generation code?
BTW, where can I find a bit more about the Netty Thread model? I would like to know how the methods are being called from various (boss/worker) threads.
Thanks,
Drew
More information about the netty-users
mailing list