[infinispan-dev] TaskManager
Tristan Tarrant
ttarrant at redhat.com
Tue Sep 15 09:35:01 EDT 2015
On 15/09/2015 15:29, William Burns wrote:
> Since I can't comment on the wiki page, will send it here.
>
> 1. I am not sure what our other REST operations do, but imo we shouldn't
> be using a GET to run a script. A GET to me should be idempotent, in
> our case the script can modify underlying resources and return different
> results each time.
Right. Then it will have to be a POST. I guess this would also need to
be taken into account when we implement queries over REST.
> 2. This TaskManager would also be used by other things such as
> map/reduce, distributed streams, right?
The intention is to initially provide two types of "task": scripting
tasks and deployed tasks. The former you all know already whereas the
latter will be packaged in a JAR and implement some kind of Task
interface. I'll push a preview PR today with an initial design for these
interfaces.
Tristan
--
Tristan Tarrant
Infinispan Lead
JBoss, a division of Red Hat
More information about the infinispan-dev
mailing list