View Full Version : Resin 4 Questions

05-04-2010, 08:02 PM
Hi everyone!

My name is Richard, and I recently downloaded Resin 4 opensource to evaluate it as the basis of my opensource project tofui (tofui). I'm presently using project grizzly as the foundation standalone server. The up side is non blocking NIO, the downside is the developers of the server make changes to the base without notice and regressions are common .. in short the project is a bit of a mess. so I have a few questions.. I was hoping that this community could answer.

1. As I see it, NIO is fairly crucial for efficient comet connection management. Tofui is 100% comet/websockets and has no standard http anything. Does Resin implement NIO? How does resin scale under many users?

2. I am having zero luck getting the sources to compile. The readme doc is for Reisn 3 and it is not helping much :)

Thank you,

05-05-2010, 07:40 PM
Hi Richard,

Resin uses non-blocking I/O, but not NIO. We have our own native implementation. It's only available in our Resin Professional product, but you get an evaluation license from here:


In our tests last year on commodity hardware, we were able to server 10k simultaneous requests with minimal load.

For the compilation check out this document:


Note that you're not actually compiling the Java classes - just the native C code.