Re: URGENT - Restlets Gurus
2010-02-01 08:08:19 GMT
On Jan 30, 2010, at 03:16 , Leonardo Ribeiro Queiros wrote: [...] > 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. Sounds like you have a nasty contention in your resource implementation. What's behind it? > 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. Why are you using the Simple connector? I'd strongly suggest switching to Jetty. Where is the data coming from for the XML? Is the nasty contention there or in how you're using whatever it is? > 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(Continue reading)
RSS Feed