Hi,

Nope, there is no priority queue for affinity calls.
ComputeTaskSplitAdapter seems to be the best way to handle this.

As an alternative, you could do something similar with a cluster singleton 
service:
submit tasks to it, sort by priority, and send them to the servers as 
affinityRun.

Not sure which approach is easier to implement.

Stan

From: chewie
Sent: 15 октября 2018 г. 18:05
To: [email protected]
Subject: Priority on affinityCalls

Hello and thank you for this project. It's awesome!

I'm adapting an older DB-centric application to use Ignite in order to be
more scalable and I'm trying to make my affinityCalls work in a prioritized
order but can't really work it out. There seems to be a bit of documentation
on Job Scheduling but that seems to be for the ComputeTaskSplitAdapter. So
the question is: can I add a priority to an IgniteCallable and make that
callable be executed on the server node in a prioritized order?
Thanks in advance.

/Anders



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to