October 30, 2024
ClickHouse Partnership, improved Postgres Replication, and Disk Management
How to Correctly Sum Up Numbers
How to Correctly Sum Up Numbers
One of the first examples for loops in probably every programming language course is taking a list of numbers and calculating the sum of them. And in every programming language, it’s trivial to write up a solution:
int sumUpNumbers(std::span<const int> numbers) {
int sum = 0;
for (int i : numbers)
sum += i;
return sum;
}
If you compile this with a modern optimizing compiler, you will even get very efficient vectorized code, that sums millions of integers per second. Nice!
October 29, 2024
Announcing Vitess 21
Announcing Vitess 21
October 28, 2024
The Tinybird DynamoDB Connector is now GA
October 27, 2024
SIGMOD Programming Contest Archive: Hybrid Vector Search (2024)
SIGMOD Programming Contest Archive: Approximate K-nearest-neighbor Graph Construction (2023)
SIGMOD Programming Contest Archive: Blocking System for Entity Resolution (2022)
October 21, 2024
Announcing the PlanetScale vectors public beta
Group Commit and Transaction Dependency Tracking
MySQL 8.0 and newer change and improve how we measure and monitor replication lag. Even though multi-threaded replication (MTR) has been on by default for the last three years (since v8.0.27 released October 2021), the industry has been steeped in single-threaded replication for nearly 30 years. As a result, replication lag with MTR is a complicated topic because it depends on version, configuration, and more. This three-part series provides a detailed understanding, starting from what was originally an unrelated feature: binary log group commit.