ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitriy Setrakyan <dsetrak...@apache.org>
Subject Re: Distributed scheduling
Date Fri, 30 Jun 2017 14:55:09 GMT
On Fri, Jun 30, 2017 at 12:29 AM, Alexey Kuznetsov <akuznetsov@apache.org>
wrote:

> Dmitriy,
>
> >> Can you provide a simple example of API calls that will make this
> possible?
> API could be like this:
> 1) via scheduler:
> Ignite ignite = Ignition.start(....);
>
> ignite.scheduler().schedulel(job, "0 0 * * *"); // This will execute job
> every day at 00:00
>
> 2) via compute
>
> Ignite ignite = Ignition.start(....);
>
> ignite.compute().schedulel(task, "0 0 * * *"); // This will execute
> compute
> task every day at 00:00
>
> Make sense?
>
>
Yes, it does, but I am failing to see how is this a *distributed*
scheduling. Are we persisting the scheduler somewhere in the cluster or is
it only triggered on the client side?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message