Re: Using Java executor service inside Ignite transaction

2018-06-11 Thread vkulichenko
Prasad, Parallel updates in a transaction are not possible. As a matter of fact, they happen during commit, so doing actual 'put' invocations won't provide any improvement. Also, you transaction seems to be local, so I don't think you are going to be faster than you are now. However, if processing

Re: Using Java executor service inside Ignite transaction

2018-06-09 Thread Prasad Bhalerao
Hi Val, Can you please reply? Thanks, Prasad On Wed, Jun 6, 2018, 11:00 PM Prasad Bhalerao wrote: > Hi Andrey, I am starting new mail thread as my previous mails were not > appearing in ignite archive even after sending it multiple times. But I am > receiving latest group mails. > > > *Question:

Re: Using Java executor service inside Ignite transaction

2018-06-08 Thread Prasad Bhalerao
Hi, My business case: A user can add multiple IPs to subscription to scan the assets. So the subscription can have N number of IPs. User can add IPs in following format: 10.10.10.10, 10.10.10.12-10.10.10.100, 10.10.10.102, 10.10.10.105-10.10.11.255 So the Subscription is top level entity. Then t

Re: Using Java executor service inside Ignite transaction

2018-06-07 Thread vkulichenko
Prasad, What is your business use case and what do you mean by processing? Please describe in more detail. Are you sure you need to use the transaction here in the first place? -Val -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Using Java executor service inside Ignite transaction

2018-06-06 Thread Prasad Bhalerao
Rephrasing mail to avoid confusion. So one cannot use executor service or multi threading to update ignite cache inside ignite transaction. If this is the case then how do I see/get latest updated values from cache in other threads which were updated in in a thread from which the transaction was

Re: Using Java executor service inside Ignite transaction

2018-06-06 Thread Prasad Bhalerao
Hi, So one cannot use executor service or multi threading inside ignite transaction. Is there any plan to support this feature? If yes, which release? Is there any other way to speed up the process? Because I have to process multiple asset groups (more than 1000) inside single transaction. if

Re: Using Java executor service inside Ignite transaction

2018-06-06 Thread vkulichenko
Prasad, Transaction is always attached to a single thread. If you do txStart in one thread, and then a cache operation in any other thread, this operation will not be enlisted. -Val -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Using Java executor service inside Ignite transaction

2018-06-06 Thread Prasad Bhalerao
As per this link http://apache-ignite-users.70518.x6.nabble.com/Ignite-2-1-0-transaction-restrictions-in-multi-threading-environment-td19007.html ,it is safe to use multithreaded cache updates inside single ignite transaction. On Wed, Jun 6, 2018 at 11:00 PM, Prasad Bhalerao < prasadbhalerao1...@

Using Java executor service inside Ignite transaction

2018-06-06 Thread Prasad Bhalerao
Hi Andrey, I am starting new mail thread as my previous mails were not appearing in ignite archive even after sending it multiple times. But I am receiving latest group mails. *Question:* Is it safe to use Java executor service inside ignite transaction to do parallel processing on same cache? M