Any idea on this?

It could be a hardware or OS problem?

Jorge.

-----Mensaje original-----
De: [email protected] [mailto:[email protected]] En
nombre de Jorge Infante Osorio
Enviado el: miércoles, 16 de marzo de 2011 13:27
Para: 'Prabath Siriwardana'; [email protected]
CC: [email protected]
Asunto: Re: [Carbon-dev] UT security performance.

Hi Prabath.

The policy: UT over HTTPS. The default that came with the 1rst security
scenario.

The user store: ESB use an ApacheDS as the user store.

Thanks.


De: Prabath Siriwardana [mailto:[email protected]] Enviado el: martes, 15 de
marzo de 2011 20:52
Para: [email protected]
CC: Jorge Infante Osorio; Afkham Azeez
Asunto: Re: [Carbon-dev] UT security performance.

Hi Jorge,

What is the security policy you are using...? Is it UT over HTTPS or UT with
message level encryption signature...?

How do you validate user credentials...? What user store you are connected
to [LDAP/JDBC]...?

Thanks & regards,
-Prabath
On Wed, Mar 16, 2011 at 12:43 AM, Jorge Infante Osorio <[email protected]>
wrote:
Ok thanks. In this particular case I made a lots of test and in all case the
response time are up the 8s.

Using the CommodityQuote service in AS 4.0, I build it, and with no security
the response time was about 1.7s.

When I put the security to the service the response time in the first
execution was 6.5s, the subsequent requests was about 3.5s in all case as
you say.

The scenario in my case incorporate the ESB at the front end and AS at the
backend. Using the same configuration and code, the response time is
duplicated  consuming  the proxy service that expose the back end
functionality.

Jorge.

De: Afkham Azeez [mailto:[email protected]] Enviado el: lunes, 14 de marzo de
2011 16:31
Para: Jorge Infante Osorio
Asunto: Re: [Carbon-dev] UT security performance.
The initial request will be a bit slow, but if you reuse the stub for
subsequent request, you will see that the difference is negligible. Try
CommodityQuote sample scenario 1 in WSO2 AS.
On Tue, Mar 15, 2011 at 1:57 AM, Jorge Infante Osorio <[email protected]>
wrote:
I tried with the echo service inside ESB and the same results.
 
This the code that I used:
 
            Long start = System.currentTimeMillis();
            String policyFilePath = "d:\\UTOverTransport.xml";
            String trustStore = "c:\\keys\\cliente.jks";
            System.setProperty("javax.net.ssl.trustStore",trustStore);
            System.setProperty("javax.net.ssl.trustStorePassword","#####");
 
            ConfigurationContext ctx =
                 
ConfigurationContextFactory.createConfigurationContextFromFileSystem("repo",
                             "repo/conf/client.axis2.xml");
           
            EchoStub stub = new EchoStub(ctx);
            stub._getServiceClient().engageModule("rampart");
            stub._getServiceClient().engageModule("addressing");
           
            Options options = stub._getServiceClient().getOptions();
            options.setUserName("###");
            options.setPassword("###");
            options.setProperty(RampartMessageData.KEY_RAMPART_POLICY,
loadPolicy(policyFilePath));
            stub._getServiceClient().setOptions(options);
            EchoInt req = new EchoInt();
            req.setIn(4);
            EchoIntResponse resp = stub.echoInt(req);
            System.out.println(resp.get_return());
            Long end = System.currentTimeMillis();
            System.out.println("tiempo demora: " + (end-start));
 
The delay: 8454 milliseconds
Jorge.
 
 
De: Afkham Azeez [mailto:[email protected]] Enviado el: lunes, 14 de marzo de
2011 15:13
Para: [email protected]
CC: Jorge Infante Osorio
Asunto: Re: [Carbon-dev] UT security performance.
 
Have you tried this with the CommodityQuote sample? This delay seems to be
abnormal.
On Tue, Mar 15, 2011 at 1:40 AM, Jorge Infante Osorio <[email protected]>
wrote:
Hi folks.

I´m implement a proxy Service with UT security and I note that the
performance it´s very low.

A single call in Eclipse have a delay of 8,5 seconds.
Without security the response time are about 1,2 seconds.

This is a normal behavior?


I have the backend service in WSAS 3.2.1 and  ESB 3.0.1.

Regards,
Ing. Jorge Infante Osorio.
J´Dpto Soluciones SOA.
CDAE.
UCI


_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev



--
Afkham Azeez
Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
Member; Apache Software Foundation; http://www.apache.org/
email: [email protected] cell: +94 77 3320919
blog: http://blog.afkham.org
twitter: http://twitter.com/afkham_azeez
linked-in: http://lk.linkedin.com/in/afkhamazeez
 
Lean . Enterprise . Middleware
 



--
Afkham Azeez
Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
Member; Apache Software Foundation; http://www.apache.org/
email: [email protected] cell: +94 77 3320919
blog: http://blog.afkham.org
twitter: 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



--
Thanks & Regards,
Prabath

http://blog.facilelogin.com
http://RampartFAQ.com

_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to