Hi Leonardo,

 

Thanks for the feed-back on how you are using Restlet and apologizes for the 
delay in getting back to you.

 

The Restlet Framework was designed from the first version (1.0) for concurrent 
client usage, so there is no intrinsic reason why it would serialize the 
processing of your calls… For example, here are some benchmark results on 
Restlet 1.1:

http://www.restlet.org/documentation/1.1/benchmark

 

Therefore you shouldn’t have to migrate to Restlet 2.0 just for this issue; it 
might not solve it anyway. I suspect that you have a bottleneck somewhere down 
the processing chain, in the way you access your data store for example. 

 

Could you describe in more details how your Restlet resources are implemented, 
how they are processing calls?

 

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Technical Lead ~  <http://www.restlet.org/> 
http://www.restlet.org
Noelios Technologies ~  <http://www.noelios.com/> http://www.noelios.com

 

 

 

 

 

De : Leonardo Ribeiro Queiros [mailto:[email protected]] 
Envoyé : jeudi 28 janvier 2010 02:10
À : [email protected]
Objet : Re: Welcome to discussion discuss.

 

Jerome,

I work at Embrapa and I've been working with the Restlet framework. 
Congratulations for your initiative to create this framework.

In 2008, My staff began the development of a Web Service based on Restlet 
framework. Our objective is: provide Thesaurus NAL and Thesagro terms for the 
clients who are involved with Agricultural information in Brazil. 

The access of the web service had a high performance when only ONE client was 
using it. However, We had problems when we had more than only one client at the 
same time using the web service. For ONE client the time for request was 20 ms, 
but for FIVE clients it was 10 s and for 50 clients it was 40 s. 

We are really worried about the performance for more than one client because we 
have been working on this web service for more than ONE YEAR. We need to solve 
this problem urgently to try to put the web service in production. 

We are using the Restlet 1 and Simple conector. The clients aplications request 
the Web Service with AJAX to autocomplete a TextArea with a list of terms. The 
response of Web service's XML is small - 4K. 

After a lot of research, We suspect that the bad performance happens because 
the Restlet 1 is synchronous and if We try to migrate to the Restlet 2 We maybe 
solve the problem. To do this migration my staff will spend a lot of time so, I 
would like to know if you recomend this procedure to solve the problem with the 
bad performance. If you say yes, we will do this doesn't matter how much time 
it involves, but if you say no, we will not wast more time. 


Regards,

Leonardo Queir󳮍

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2450022

Reply via email to