Comments (1)
Hey @HarshitaJha.
In brief (but be sure to read the "Related links"):
- Shards are needed if you have too many scraping targets and have reached your vertical scaling limits. If you're migrating from a single Prometheus instance, you probably don't need sharding.
- If you really wish to achieve HA at the scraping level, then yes you need replication, but instead of cluster mode in vmagent you can just use HA pair - two equally configured vmagent replicas + deduplication at the database level. This is exactly how replicaCount works for vmagent in vm-operator. But that's up to you, the vmagent load doesn't last that long, so maybe losing a couple of scrape intervals on restart isn't a big deal for you.
- It all depends on what you want to achieve. Did you choose a cluster because you really need HA and unlimited scalability? In this case, it's not fair to compare performance (with the same amount of resources) because you've chose other benefits (HA, replication, per-component scalability) instead. If you don't need it, you may prefer Single-version, it will work faster with the same resources, see more details in this question.
I would also like to point out that in its current form your cluster (replicationFactor=2 with 2 vmstorages) will not be able to support HA correctly If one storage node is unavailable, there is nowhere to reroute the second replica of the data (see Replication and data safety, Cluster availability and other related links).
For all other points I believe that you can find the answers in the attached "Related links".
Related links:
- vmagent:
- vmcluster:
from victoriametrics.
Related Issues (20)
- vmagent Retry mechanism HOT 2
- can not get some value from categraf HOT 4
- vmstorage sets different data retention periods based on different metrics HOT 7
- How `indexdb` works ? HOT 1
- vmbackup data compression HOT 4
- Send metrics from vmagent using OTLP HOT 1
- vmctl `--vm-disable-progress-bar` flag does not actually disable the progress bar HOT 1
- what is more efficient way to keep metrics HOT 2
- How `indexdb` store data? HOT 3
- VMLogs: Add support for field manipulation wildcards
- Fix crashloops - Improve documentation by listing which components flags apply HOT 2
- How Victoria Metrics stores data ? HOT 1
- vmbackup: cannot open snapshot: no such file or directory HOT 1
- victorialogs mtls support?
- vmagent: incorrect reporting of number of dropped targets
- vmstorage has a bug that causes the program to crash:cannot parse simplified regexp "object(?:(?:) HOT 3
- Add new -httpAuth.bearerToken for all components
- Concurrent requests counter at vmstorage holds requests, aborted up to 15 minutes ago HOT 2
- How to scale the read path? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from victoriametrics.