Comments (1)
After doing a thorough analysis on the heap and objects, this issue boils down to 2 factors:
- Size of the time series bucket used
- Buffer (measurement.increment.size)
Size of time series bucket determines how many buckets will be created and the series retention policy describes how many buckets will be preserved in memory after each Sidewinder GC cycle. Tuning the bucket size is important since data can only be GC'ed in bucket chunks i.e. partial bucket GCs can't be performed.
measurement.increment.size
This setting determines how big of a buffer is allocated to a writer by the measurement class on request. The bigger this buffer the more data can be stored, if this buffer overflows but newer data still falls in the same bucket then new buffer chunks will be allocated and a pointer in the bucket list is created.
Therefore the above two settings must be adjusted in tandem based on the frequency and types of data received since that drives the effective compression ratio that can be achieved. Essentially, the bucket should be large enough to not create too many small buffer chunks such that heap runs out while making sure it's not too large that the retention period becomes unreasonable for your use case and the read performance is effected (all data of at least 1 bucket requires a full scan on reads). The increment size should be adjusted such that too large buffers aren't allocated such that compression is resulting in a mostly empty buffer for a bucket of time.
from sidewinder.
Related Issues (20)
- Add series compaction capability HOT 1
- PTR file corruption HOT 1
- Compaction bugs HOT 1
- Performance Fixes HOT 2
- Data not changing as time progresses in v0.2.2
- Improve compaction HOT 1
- Support time sharded indices
- Add Downsampling Support as a separate feature
- Automated Tag Cleanup / GC
- Build REST compliant API
- GRPC API Authentication Needed HOT 1
- SSL Instructions Needed HOT 1
- Support Grafana Regex Queries for Value Field Name & Measurement Name
- Implement Coordinator based Measurement Shard Clustering HOT 1
- Implement Jepsen Testing for Clustering HOT 1
- Documentation and Fixes for Ambari Stack for deployment
- Need Autocorrelate feature for Grafana working HOT 2
- Graphite Schema
- Add compression to cluster WAL HOT 1
- Enable time unit dropdown for Grafana HOT 1
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 sidewinder.