Posted:
27-November-2007 11:13 The problem related to NVP is fixed. I found the NVP bug is related to MultiMap of jetty. I am not sure why it is OK for jetty 5 but not for jetty 6. The used methods of MultiMap did not change from jetty 5 to jetty 6 according to their source code. | Take a look at the following class: org.ten60.transport.http.parameter.representation.ParameterNVPAspect It provides the translation from the underlying jetty Multimap to the IAspectNVP implementation. API documentation for Jetty is often sparse but it looks like something has changed here. Maybe not the multimap itself but what Jetty puts into it. So the adaption code in the HTTP transport will need to change too. I am working on the evaluation of {NIO,BIO}X{Async,sync} setup of the platform. Do you have some suggestion on benchmark? And I am not if it is also do the testing for a single/multiple core aspect. | I'd suggest a few of benchmark tests: 1) test serving a static image resource from NetKernel, one that will be cached inside NetKernel and will be served with minimal computation. 2) create a test service inside NetKernel which does little work but has an elapsed time. For example using a Thread.sleep() statement. Then fire lots of concurrent requests at NetKernel and see what happens. You may want to increase the number of scheduler threads in system.xml for this test. 3) create a compute intensive service and profile this to see if the changes show any real world benefits. Metrics I'd look at would be throughput, response time and Java heap usage as I varied the load. You might be interested in this paper we wrote a while ago now: http://docs.1060.org/docs/3.3.0/book/administratorguide/doc_whitepaper_scalability.htmlCheers, Tony |