You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Adam Winer (JIRA)" <ji...@apache.org> on 2008/07/07 22:42:33 UTC
[jira] Updated: (SHINDIG-429) Support batching of JSON/RESTful
requests
[ https://issues.apache.org/jira/browse/SHINDIG-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Winer updated SHINDIG-429:
-------------------------------
Attachment: future.patch
This patch changes the Service APIs in org.apache.shindig.social.dataservice to use Futures, and provides an ImmediateFuture implementation in shindig common to support easy adaptation for this change.
> Support batching of JSON/RESTful requests
> -----------------------------------------
>
> Key: SHINDIG-429
> URL: https://issues.apache.org/jira/browse/SHINDIG-429
> Project: Shindig
> Issue Type: Improvement
> Reporter: Adam Winer
> Attachments: future.patch
>
>
> The existing DataServiceServlet code iterates through each RequestItem and synchronously requests a ResponseItem with DataRequestHandler.handleMethod(). This works fine for local data services, but not well for remote services, as it prevents two reasonable strategies:
> - Batching up all request items, or all request items of a specific type, and requesting them in one RPC to minimize traffic/server load.
> - Initiating multiple asynchronous requests simultaneously for minimal latency.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.