|
You are here |
nakabonne.dev | ||
| | | | |
questdb.io
|
|
| | | | | Benchmarks and an overview of InfluxDB versus QuestDB to compare features, functionality, performance, and ease of use. | |
| | | | |
stribny.name
|
|
| | | | | A list of things that we can do when we need to scale a SQL database. | |
| | | | |
www.bazhenov.me
|
|
| | | | | Introduction Link to heading Varint is a widely recognized technique used for compressing integer streams. Essentially, it suggests that it can be more efficient to encode a number using a variable-length representation instead of a fixed-size binary representation. By removing leading zeros from the binary number, the overall representation size can be reduced. This technique works particularly well for encoding smaller numbers. In this article, I provide a brief introduction and rationale for varint encoding. Additionally, I describe the Stream VByte format, which enables fully vectorized decoding through SSSE3 instructions. I also share my findings from implementing this algorithm in Rust, which includes both encoding and decoding primitives and the ability to read data from both RAM and disk. | |
| | | | |
adventures.michaelfbryan.com
|
|
| | | Have you ever been in a situation where, because of how the code is structured, it's practically impossible to inject a dependency into the component that needs it? Even global variables - ubiquitously reviled for their ability to do "spooky action at a distance" - weren't spooky enough. In this article, I'll share a technique I discovered while working on a WebAssembly-based CAD package that allows for dependency injection at link time. This technique is particularly useful when traditional dependency injection methods aren't available or practical. | ||