You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by googy <mg...@bistel.com> on 2019/06/25 07:56:58 UTC

Is there a way to use IgniteQueue with AffinityKey?

Hi, 

I want to use IgniteQueue like a IgniteCache.
(IgniteQueue input data distribute by AffinityKey or NodeID and so on..)

Research and test results are as follows. (Ignite ver2.7.0)

1. IgniteQueue do not have AffinityKey input interface
 - PARTITIONED mode is random distribution
2. IgniteQueue do not have NodeID input interface
 - Have NodeFilter but target node dynamic change impossible
3. IgniteQueue have AffinityCall, AffinityCall but not properly for
distribution purpose
4. IgniteQueue cache setting is very simple
 - CollectionConfiguration do not provide detailed setting
 - Not exist ExpiryPolicy, Affinity, Index, RebalanceMode, etc.


*So I ask if there is a way I do not know.*

Thank you.



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

Re: Is there a way to use IgniteQueue with AffinityKey?

Posted by Maxim Muzafarov <ma...@gmail.com>.
Hello googy,

Purely curious, why do you want to use IgniteQueue like an
IgniteCache? What is your goal?


Please note, that such Ignite data structures (base on Ignite caches)
considered being reworked in future [1].
So, I think it's a good starting thing for collecting user experience
with it :-)


> "Remove current data structures (Lock, Semaphore, Set, Queue). Cache-based implementation leads to configuration issues. Maybe implemented on top of cache API in an auxiliary library or have an internal cache-free implementation."

[1] https://cwiki.apache.org/confluence/display/IGNITE/Apache+Ignite+3.0+Wishlist

On Wed, 26 Jun 2019 at 17:56, Ilya Kasnacheev <il...@gmail.com> wrote:
>
> Hello!
>
> Unfortunately, I don't think so.
>
> Regards,
> --
> Ilya Kasnacheev
>
>
> вт, 25 июн. 2019 г. в 10:57, googy <mg...@bistel.com>:
>>
>> Hi,
>>
>> I want to use IgniteQueue like a IgniteCache.
>> (IgniteQueue input data distribute by AffinityKey or NodeID and so on..)
>>
>> Research and test results are as follows. (Ignite ver2.7.0)
>>
>> 1. IgniteQueue do not have AffinityKey input interface
>>  - PARTITIONED mode is random distribution
>> 2. IgniteQueue do not have NodeID input interface
>>  - Have NodeFilter but target node dynamic change impossible
>> 3. IgniteQueue have AffinityCall, AffinityCall but not properly for
>> distribution purpose
>> 4. IgniteQueue cache setting is very simple
>>  - CollectionConfiguration do not provide detailed setting
>>  - Not exist ExpiryPolicy, Affinity, Index, RebalanceMode, etc.
>>
>>
>> *So I ask if there is a way I do not know.*
>>
>> Thank you.
>>
>>
>>
>> --
>> Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Is there a way to use IgniteQueue with AffinityKey?

Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!

Unfortunately, I don't think so.

Regards,
-- 
Ilya Kasnacheev


вт, 25 июн. 2019 г. в 10:57, googy <mg...@bistel.com>:

> Hi,
>
> I want to use IgniteQueue like a IgniteCache.
> (IgniteQueue input data distribute by AffinityKey or NodeID and so on..)
>
> Research and test results are as follows. (Ignite ver2.7.0)
>
> 1. IgniteQueue do not have AffinityKey input interface
>  - PARTITIONED mode is random distribution
> 2. IgniteQueue do not have NodeID input interface
>  - Have NodeFilter but target node dynamic change impossible
> 3. IgniteQueue have AffinityCall, AffinityCall but not properly for
> distribution purpose
> 4. IgniteQueue cache setting is very simple
>  - CollectionConfiguration do not provide detailed setting
>  - Not exist ExpiryPolicy, Affinity, Index, RebalanceMode, etc.
>
>
> *So I ask if there is a way I do not know.*
>
> Thank you.
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>