Re: Execute Ignite Callable Jobs with set priorities

2021-05-25 Thread Ilya Kasnacheev
Hello! I don't think so. Regards, -- Ilya Kasnacheev вт, 25 мая 2021 г. в 14:36, Krish : > ilya.kasnacheev wrote > > This means that Ignite prioritizing is a poor fit for you and you may > need > > to roll out your own, perhaps based on IgniteQueue. > > Does ignite provide priority queue impl

Re: Execute Ignite Callable Jobs with set priorities

2021-05-25 Thread Krish
ilya.kasnacheev wrote > This means that Ignite prioritizing is a poor fit for you and you may need > to roll out your own, perhaps based on IgniteQueue. Does ignite provide priority queue implementation of IgniteQueue interface? Thanks, Krish -- Sent from: http://apache-ignite-users.70518.x6.n

Re: Execute Ignite Callable Jobs with set priorities

2021-05-20 Thread Ilya Kasnacheev
Hello! It just sounds that you want to prioritize some other resource rather than Ignite compute capacity, if you want cluster-wide priorities. This means that Ignite prioritizing is a poor fit for you and you may need to roll out your own, perhaps based on IgniteQueue. Regards, -- Ilya Kasnach

Re: Execute Ignite Callable Jobs with set priorities

2021-05-17 Thread Stephen Darlington
> As mentioned in job scheduling documentation, collisionAPI will take care of > job scheduling when jobs arrive at destination node. Lets say I use > PriorityQueueCollisionSpi and send three jobs with priorities 5, 7 and 10 to > one node, then that node will execute job with priority 10 first then

Re: Execute Ignite Callable Jobs with set priorities

2021-05-16 Thread Krish
Thanks Stephen and Ilya, As mentioned in job scheduling documentation, collisionAPI will take care of job scheduling when jobs arrive at destination node. Lets say I use PriorityQueueCollisionSpi and send three jobs with priorities 5, 7 and 10 to one node, then that node will execute job with prio

Re: Execute Ignite Callable Jobs with set priorities

2021-05-13 Thread Ilya Kasnacheev
Hello! Just make sure to use new PriorityQueueCollisionSpi().setStarvationPreventionEnabled(false); otherwise you may get sorting errors on newer JVMs. Regards, -- Ilya Kasnacheev чт, 13 мая 2021 г. в 11:31, Stephen Darlington < stephen.darling...@gridgain.com>: > Yes, it’s configurable usi

Re: Execute Ignite Callable Jobs with set priorities

2021-05-13 Thread Stephen Darlington
Yes, it’s configurable using the CollisionSPI. More here: https://ignite.apache.org/docs/latest/distributed-computing/job-scheduling Regards, Stephen > On 13 May 2021, at 06:39, Kishan wrote: > > Hi All, > > I have a use case I need to create 1000s of ignite Callable tasks and > execute these

Execute Ignite Callable Jobs with set priorities

2021-05-12 Thread Kishan
Hi All, I have a use case I need to create 1000s of ignite Callable tasks and execute these tasks on ignite cluster. Some of these jobs should be executed on high priority by ignite cluster. For example, ignite client has sent around 50 tasks to cluster and now they are in queue or are being execu