pls compare this with no-caching
On Sat, Jun 11, 2011 at 2:06 PM, Charitha Kankanamge <[email protected]>wrote:
> Did a quick performance comparison of RC10 and RC9 versions of
> Carbon-3.2.0.
>
> Test:
> =====
> Service hosted in AS which reads a resource in embedded registry (service
> impl class is as follows)
>
> Registry registry =
> CarbonContext.getCurrentContext().getRegistry(RegistryType.SYSTEM_CONFIGURATION);
>
> Resource r1 = null;
> try {
> r1 = registry.get("d1/d2/d3/r1");
> } catch (RegistryException e) {
> e.printStackTrace(); //To change body of catch statement use
> File | Settings | File Templates.
> }
> return r1.getDescription();
>
> java-bench client:-
>
> while true;do java -jar benchmark.jar -p registry_get_request.xml -n 1000
> -c 200 -k -H "SOAPAction: urn:getResource" -T "application/soap+xml;
> charset=UTF-8" http://192.168.122.1:9763/services/RegistryGetService/;done
>
>
> RC9
> =====
> Requests per second: 3,291.87 [#/sec] (mean)
> Requests per second: 3,448.57 [#/sec] (mean)
> Requests per second: 3,417.59 [#/sec] (mean)
> Requests per second: 3,334.18 [#/sec] (mean)
> Requests per second: 3,291.88 [#/sec] (mean)
> Requests per second: 3,433.59 [#/sec] (mean)
> Requests per second: 3,477.33 [#/sec] (mean)
> Requests per second: 3,368.26 [#/sec] (mean)
> Requests per second: 3,323.68 [#/sec] (mean)
> Requests per second: 3,364.71 [#/sec] (mean)
>
> RC10
> =====
> Requests per second: 2,931.87 [#/sec] (mean)
> Requests per second: 2,992.98 [#/sec] (mean)
> Requests per second: 2,964.73 [#/sec] (mean)
> Requests per second: 2,977.55 [#/sec] (mean)
> Requests per second: 3,047.40 [#/sec] (mean)
> Requests per second: 2,909.69 [#/sec] (mean)
> Requests per second: 3,121.50 [#/sec] (mean)
> Requests per second: 2,992.58 [#/sec] (mean)
> Requests per second: 2,845.01 [#/sec] (mean)
> Requests per second: 3,052.30 [#/sec] (mean)
> Requests per second: 2,817.33 [#/sec] (mean)
>
> Regards
> Charitha
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
--
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>**
email: **[email protected]* <[email protected]>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev