You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by 上帝已死 <52...@qq.com> on 2016/03/01 12:03:16 UTC
What will happen when one ignite node down and cache mode is
Partitioned
What will happen when one ignite node down and cache mode is Partitioned
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/What-will-happen-when-one-ignite-node-down-and-cache-mode-is-Partitioned-tp3295.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: What will happen when one ignite node down and cache mode is Partitioned
Posted by Vladimir Ozerov <vo...@gridgain.com>.
REPLICATED cache doesn't scale well in terms of memory consumption because
each node will have the full set of data. So in general it is recommended
to user PARTITIONED cache with several backups.
On Wed, Mar 2, 2016 at 5:24 AM, 上帝已死 <52...@qq.com> wrote:
> I use nginx to do load balancing on serveral tomcat and I hope my server
> can
> be horizontal expand.So I have 2 choice :
> 1. Config cache mode to REPLICATED.
> 2. Config cache mode to PARTITIONED and backup to >=1.
> Is that right?Which one is better?
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/What-will-happen-when-one-ignite-node-down-and-cache-mode-is-Partitioned-tp3295p3327.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>
Re: What will happen when one ignite node down and cache mode is
Partitioned
Posted by 上帝已死 <52...@qq.com>.
I use nginx to do load balancing on serveral tomcat and I hope my server can
be horizontal expand.So I have 2 choice :
1. Config cache mode to REPLICATED.
2. Config cache mode to PARTITIONED and backup to >=1.
Is that right?Which one is better?
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/What-will-happen-when-one-ignite-node-down-and-cache-mode-is-Partitioned-tp3295p3327.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: What will happen when one ignite node down and cache mode is
Partitioned
Posted by vkulichenko <va...@gmail.com>.
上帝已死 wrote
> So it means all node's memory size must bigger than twice of all the
> cache's data size when backup is 1?
Yes, that's right.
-Val
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/What-will-happen-when-one-ignite-node-down-and-cache-mode-is-Partitioned-tp3295p3325.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: What will happen when one ignite node down and cache mode is
Partitioned
Posted by 上帝已死 <52...@qq.com>.
So it means all node's memory size must bigger than twice of all the
cache's data size when backup is 1?
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/What-will-happen-when-one-ignite-node-down-and-cache-mode-is-Partitioned-tp3295p3324.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: What will happen when one ignite node down and cache mode is
Partitioned
Posted by 上帝已死 <52...@qq.com>.
So it means All the data size must bigger than twice of all node memory size
when backup is 1?
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/What-will-happen-when-one-ignite-node-down-and-cache-mode-is-Partitioned-tp3295p3323.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: What will happen when one ignite node down and cache mode is Partitioned
Posted by Kamal C <ka...@gmail.com>.
You can access the data as primary node is up.
When cache mode is set to partitioned, each node acts as primary node for
some partitions and as backup node for other partitions.
Refer https://apacheignite.readme.io/docs/cache-modes#partitioned-mode
On Tue, Mar 1, 2016 at 8:26 PM, 上帝已死 <52...@qq.com> wrote:
> If I have 2 nodes and backup is 1,what will happen when the backup node is
> down?
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/What-will-happen-when-one-ignite-node-down-and-cache-mode-is-Partitioned-tp3295p3301.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>
Re: What will happen when one ignite node down and cache mode is
Partitioned
Posted by 上帝已死 <52...@qq.com>.
If I have 2 nodes and backup is 1,what will happen when the backup node is
down?
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/What-will-happen-when-one-ignite-node-down-and-cache-mode-is-Partitioned-tp3295p3301.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: What will happen when one ignite node down and cache mode is Partitioned
Posted by Kamal C <ka...@gmail.com>.
Partitioned cache default backup is 0. So, you lose the data when a node
goes down.
To not to lose data, configure the backup >= 1.
On 01-Mar-2016 8:03 PM, "上帝已死" <52...@qq.com> wrote:
> Do not be a part of the cache cannot be obtained?
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/What-will-happen-when-one-ignite-node-down-and-cache-mode-is-Partitioned-tp3295p3299.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>
Re: What will happen when one ignite node down and cache mode is
Partitioned
Posted by 上帝已死 <52...@qq.com>.
Do not be a part of the cache cannot be obtained?
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/What-will-happen-when-one-ignite-node-down-and-cache-mode-is-Partitioned-tp3295p3299.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: What will happen when one ignite node down and cache mode is Partitioned
Posted by Vladimir Ozerov <vo...@gridgain.com>.
Ignite will re-balance data between remaining nodes.
On Tue, Mar 1, 2016 at 2:03 PM, 上帝已死 <52...@qq.com> wrote:
> What will happen when one ignite node down and cache mode is Partitioned
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/What-will-happen-when-one-ignite-node-down-and-cache-mode-is-Partitioned-tp3295.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>