You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Alew <al...@gmail.com> on 2018/04/09 23:23:59 UTC
Readonly nodes
Hi!
I have a relicated cache. Is there a way to forbid insert and update
data in the cache for some nodes in a cluster?
Regards
Re: Readonly nodes
Posted by Denis Magda <dm...@apache.org>.
The node filters don't work for your scenario. They are rather useful when
you'd like to store specific data on concrete nodes -- the filters control
who will be a primary and backup for which partitions.
To solve your case you need to consider Val's suggestions.
--
Denis
On Tue, Apr 10, 2018 at 5:25 PM, Alew <al...@gmail.com> wrote:
> That is ok, I don't need Ignite to do authentication. Just prevent data
> modification.
>
> Denis told about node filters, but i didn't get how it is working
>
>
>
> On 11/04/2018 02:56, vkulichenko wrote:
>
>> Ignite doesn't have authentication/authorization capabilities at the
>> moment,
>> however there are certain plans for that as far as I know.
>>
>> In the meantime, you can take a look 3rd party vendors like GridGain that
>> have paid offerings for this:
>> https://docs.gridgain.com/docs/security-and-audit
>>
>> -Val
>>
>>
>>
>> --
>> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>>
>>
>
Re: Readonly nodes
Posted by Alew <al...@gmail.com>.
That is ok, I don't need Ignite to do authentication. Just prevent data
modification.
Denis told about node filters, but i didn't get how it is working
On 11/04/2018 02:56, vkulichenko wrote:
> Ignite doesn't have authentication/authorization capabilities at the moment,
> however there are certain plans for that as far as I know.
>
> In the meantime, you can take a look 3rd party vendors like GridGain that
> have paid offerings for this:
> https://docs.gridgain.com/docs/security-and-audit
>
> -Val
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>
Re: Readonly nodes
Posted by vkulichenko <va...@gmail.com>.
Ignite doesn't have authentication/authorization capabilities at the moment,
however there are certain plans for that as far as I know.
In the meantime, you can take a look 3rd party vendors like GridGain that
have paid offerings for this:
https://docs.gridgain.com/docs/security-and-audit
-Val
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: Readonly nodes
Posted by Alew <al...@gmail.com>.
I use Ignite as a session store and need to allow write access only for
authentication services.
On 11/04/2018 00:45, Denis Magda wrote:
> The filter excludes the nodes from the list of those which can store
> data. That's why those nodes would never receive any requests.
>
> Considering your follow-up questions, I guess you are looking for
> multi-tenancy capabilities. Do you want to prevent some of your
> applications to update data stored in the cluster?
>
> --
> Denis
>
> On Tue, Apr 10, 2018 at 11:49 AM, Alew <alewmt@gmail.com
> <ma...@gmail.com>> wrote:
>
> Hi, Denis
>
> Thank you for your answer.
>
> What effect will filter have? Does it mean that read-only node
> doesn't have own data copy? Is it like partitioned cache? If so,
> why is it read-only?
>
>
>
> On 10/04/2018 02:37, Denis Magda wrote:
>> Hi,
>>
>> Yes, you can tap into NodeFilter interface applying it for your
>> CacheConfiguration in a way similar to ServiceConfiguration as
>> shown here:
>> https://apacheignite.readme.io/docs/service-grid#section-node-filter-based-deployment
>> <https://apacheignite.readme.io/docs/service-grid#section-node-filter-based-deployment>
>>
>> --
>> Denis
>>
>> On Mon, Apr 9, 2018 at 4:23 PM, Alew <alewmt@gmail.com
>> <ma...@gmail.com>> wrote:
>>
>> Hi!
>> I have a relicated cache. Is there a way to forbid insert
>> and update data in the cache for some nodes in a cluster?
>>
>> Regards
>>
>>
>
>
Re: Readonly nodes
Posted by Denis Magda <dm...@apache.org>.
The filter excludes the nodes from the list of those which can store data.
That's why those nodes would never receive any requests.
Considering your follow-up questions, I guess you are looking for
multi-tenancy capabilities. Do you want to prevent some of your
applications to update data stored in the cluster?
--
Denis
On Tue, Apr 10, 2018 at 11:49 AM, Alew <al...@gmail.com> wrote:
> Hi, Denis
>
> Thank you for your answer.
>
> What effect will filter have? Does it mean that read-only node doesn't
> have own data copy? Is it like partitioned cache? If so, why is it
> read-only?
>
>
>
> On 10/04/2018 02:37, Denis Magda wrote:
>
> Hi,
>
> Yes, you can tap into NodeFilter interface applying it for your
> CacheConfiguration in a way similar to ServiceConfiguration as shown here:
> https://apacheignite.readme.io/docs/service-grid#section-
> node-filter-based-deployment
>
> --
> Denis
>
> On Mon, Apr 9, 2018 at 4:23 PM, Alew <al...@gmail.com> wrote:
>
>> Hi!
>> I have a relicated cache. Is there a way to forbid insert and update
>> data in the cache for some nodes in a cluster?
>>
>> Regards
>>
>>
>
>
Re: Readonly nodes
Posted by Alew <al...@gmail.com>.
Hi, Denis
Thank you for your answer.
What effect will filter have? Does it mean that read-only node doesn't
have own data copy? Is it like partitioned cache? If so, why is it
read-only?
On 10/04/2018 02:37, Denis Magda wrote:
> Hi,
>
> Yes, you can tap into NodeFilter interface applying it for your
> CacheConfiguration in a way similar to ServiceConfiguration as shown here:
> https://apacheignite.readme.io/docs/service-grid#section-node-filter-based-deployment
>
> --
> Denis
>
> On Mon, Apr 9, 2018 at 4:23 PM, Alew <alewmt@gmail.com
> <ma...@gmail.com>> wrote:
>
> Hi!
> I have a relicated cache. Is there a way to forbid insert and
> update data in the cache for some nodes in a cluster?
>
> Regards
>
>
Re: Readonly nodes
Posted by Denis Magda <dm...@apache.org>.
Hi,
Yes, you can tap into NodeFilter interface applying it for your
CacheConfiguration in a way similar to ServiceConfiguration as shown here:
https://apacheignite.readme.io/docs/service-grid#section-node-filter-based-deployment
--
Denis
On Mon, Apr 9, 2018 at 4:23 PM, Alew <al...@gmail.com> wrote:
> Hi!
> I have a relicated cache. Is there a way to forbid insert and update data
> in the cache for some nodes in a cluster?
>
> Regards
>
>