[
https://issues.jboss.org/browse/ISPN-6879?page=com.atlassian.jira.plugin....
]
Sebastian Łaskawiec commented on ISPN-6879:
-------------------------------------------
I believe we need to expose it through JMX. This way Hawkular (or Prometheus) will pick it
up and we could use it for autoscaling.
Currently users can easily hurt themselves by scaling the cluster down (say from 100 nodes
to 1). We need a way to prevent this or send them a warning message.
The idea is to measure how much data we put in the grid (taking number of owners into
consideration) and telling - this is the minimum number of nodes you need to operate to
store it in memory. If you go below that, you will lose something. Here's an example:
{code}
Number of owners = 1
Each node can store up to 1 GB of data
User dataset size = 10 GB
You can not go below **10** nodes.
{code}
We probably need to keep track of user dataset size as well as how much stuff we can put
into the Grid (and this one is very tricky since we probably need to know what is the
container capacity but we can check it based on CGroups data (see
[
here|https://github.com/slaskawi/measure-infinispan/blob/master/docker/me....
Calculate (and expose) minimum number of nodes for data in
Infinispan
---------------------------------------------------------------------
Key: ISPN-6879
URL:
https://issues.jboss.org/browse/ISPN-6879
Project: Infinispan
Issue Type: Feature Request
Components: Cloud Integrations, Server
Reporter: Sebastian Łaskawiec
Assignee: William Burns
With Kubernetes autoscaling we need to be able to tell what is the minimum amount of
nodes necessary for hosting data (probably some sort of size + number of nodes
estimation).
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)