Hello! I don't understand your question. A collocated queue is located on a single node, but you still need a method to run code on that specific node, don't you?
The benefit is presumably shorter round-trip times. Regards, -- Ilya Kasnacheev вт, 4 мая 2021 г. в 18:50, ps594 <pinaksawhney51...@gmail.com>: > I am trying to understand the use case of affinityRun / affinityCall > < > https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/IgniteQueue.html#affinityCall-org.apache.ignite.lang.IgniteCallable-> > > methods of IgniteQueue interface. Even after delving into documentation I > could not understand a good use case why would we want to run jobs on the > collocated queue using affinityRun method of queue interface, since > collocated queues are on the same node why can't I simply write my own > lambda function. Specifically what benefits does the affinityRun offers for > ignite queue (given affinityRun method is not supported for non-collocated > queues)? > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >