-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
This is great to see! I originally opened a PR for some `bytes` support in prost a while back because we had a HTTP/Protobuf proxy (using hyper & prost) where wanted to reduce memory usage.
A few weeks back i made a crate (shared-string) that more or less does what your describing in your post. But the underlying data structure is, preferably Rc or Arc if you need to use it between threads. I though about using Bytes but if you look at the imlementation it does a lot in the background. But never the less i changed Rc and Arc to Bytes to look how it would performance. When i saw the benchmarks i was discouraged, they weren't great. In my benchmark it was always slower than just using a String. Maybe somewhere i made a mistake or the benchmarks are not the right ones. Here the bytes implementation with some benchmark results: https://github.com/soerenmeier/shared-string/pull/1