[
https://jira.jboss.org/jira/browse/ISPN-58?page=com.atlassian.jira.plugin...
]
Manik Surtani updated ISPN-58:
------------------------------
Summary: Create a TaskQueueExecutorFactory and TaskQueueScheduledExecutorFactory
(was: Create a HitchHikerExecutorFactory and HitchHikerScheduledExecutorFactory)
Description:
These executors will not spawn separate threads, but hook in to Google's TaskQueue
API
http://code.google.com/appengine/docs/java/taskqueue/overview.html
This will enable Infinispan to run without spawning any additional threads, thereby
enabling it to run on Google's App Engine runtime.
Will need to expose a URI (/taskqueueexecutor ?) which is invoked to process arbitrary
Callable/Runnables. May need to use the DataStore to store the actual Callable/Runnable,
and pass the taskqueueexecutor the key of the stored object.
was:
These executors will not spawn separate threads, but instead maintain a queue of tasks,
and use an interceptor to "hitch hike" on user threads to process tasks.
Could be configured with a number of tasks to run on each "ride".
This will enable Infinispan to run without spawning any additional threads, thereby
enabling it to run on Google's App Engine runtime.
Create a TaskQueueExecutorFactory and
TaskQueueScheduledExecutorFactory
-----------------------------------------------------------------------
Key: ISPN-58
URL:
https://jira.jboss.org/jira/browse/ISPN-58
Project: Infinispan
Issue Type: Sub-task
Reporter: Manik Surtani
Assignee: Manik Surtani
Fix For: 4.1.0.BETA1, 4.1.0.GA
These executors will not spawn separate threads, but hook in to Google's TaskQueue
API
http://code.google.com/appengine/docs/java/taskqueue/overview.html
This will enable Infinispan to run without spawning any additional threads, thereby
enabling it to run on Google's App Engine runtime.
Will need to expose a URI (/taskqueueexecutor ?) which is invoked to process arbitrary
Callable/Runnables. May need to use the DataStore to store the actual Callable/Runnable,
and pass the taskqueueexecutor the key of the stored object.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira