I'm fairly familiar with Restlet 2.0 having worked with prior 2-M versions.
We have a working Restlet based project A with several server "Resources"
deployed in an osgi container.  Another project B is its client. Due to the
nature of the project B, there are close to 200,000 rest calls made
sequentially. Each http call on an avg takes 200-300 ms per request. From a
performance standpoint, using the project A as a REST API is useless from
Project B.

However, the processing time of each call internally (within project A) is <
10ms.

Bottomline -- http calls are expensive.

Since we own both the projects, I was wondering how to run the Project A "in
process" with Project B so that I can use riap:// instead of http:// and
hopefully, the performance should be as close to 10 ms. 

Earlier,I've used riap:// but the client was a Restlet Server Resource. In
this case, Project B is only a client Resource.

How do I make project A's server resources accept riap:// from any client
(within the same process)?




-- 
View this message in context: 
http://restlet-discuss.1400322.n2.nabble.com/How-to-call-a-restlet-using-riap-protocol-from-a-non-restlet-tp5421544p5421544.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

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

Reply via email to