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:40:31 UTC
[jira] Created: (SHINDIG-429) Support batching of JSON/RESTful
requests
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
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.
[jira] Updated: (SHINDIG-429) Support batching of JSON/RESTful
requests
Posted by "Adam Winer (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (SHINDIG-429) Support batching of JSON/RESTful
requests
Posted by "Cassie Doll (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cassie Doll resolved SHINDIG-429.
---------------------------------
Resolution: Fixed
Assignee: Cassie Doll
Thanks for the patch! It looks good and submitted.
> 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
> Assignee: Cassie Doll
> 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.