Hi all, I work at Embrapa and I've been working with the Restlet 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 someone recomends this procedure to solve the problem with the bad performance. If someone say yes, we will do this doesn't matter how much time it involves, but if someone say no, we will not wast more time.
Regards, Leonardo Queirós. ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2443283

