You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by arun3007 <e....@gmail.com> on 2015/08/20 09:33:19 UTC

Performance issues while calling RestFul webservices

Hi All, 

I am using camel 2.15.1 . We are using camel mainly as a proxy web service
to serve webservices to UI and in turn we connect to different backend
systems from camel. Our camel route looks like below :
 
from("rest:post:{version}/post.json")
	    .to(https://localhost:8080/webservices/api/post.json);

Here while doing the performance tests ,we observed that camel route takes
4x times than the backend Restful service.

Ex:  https://localhost:8080/webservices/api/post.json - Return response in 1
second
But camel route : https://localhost:9090/camel/api/post.json - Takes
4seconds to call the same backend service and to return the response without
even opening the payload.

Can you guys please suggest optimizations to help fix this issue.

Thanks in advance.

Regards,
Arun



--
View this message in context: http://camel.465427.n5.nabble.com/Performance-issues-while-calling-RestFul-webservices-tp5770847.html
Sent from the Camel Development mailing list archive at Nabble.com.