#Erlang 26 just shipped and it has so many good things! https://www.erlang.org/blog/otp-26-highlights
(We'll try to cut a rebar3 release some time today)
#Erlang 26 just shipped and it has so many good things! https://www.erlang.org/blog/otp-26-highlights
(We'll try to cut a rebar3 release some time today)
"Performance Trade-offs in Transactional Systems" is a nice survey over the impossibility results that have been published on distributed databases
Pulled together for a reply on Twitter, a collection of tutorial projects for databases (and a bit of dist-sys):
* https://howqueryengineswork.com
* https://cstack.github.io/db_tutorial/
* https://github.com/pingcap/talent-plan
* https://fly.io/dist-sys/
* https://eli.thegreenplace.net/2020/implementing-raft-part-0-introduction/
* https://skyzh.github.io/mini-lsm/
* https://github.com/cmu-db/bustub course projects
Watch our Co-Founder and CTO @aleksi introducing #FerretDB at #dataopspoland. Also, don't forget to subscribe to their channel for similar content around #DataEngineering, #DataScience and #DevOps.
Craft is about software craft, which tools, methods, practices should be part of the toolbox of a modern developer and company, and it is a compass on new technologies, trends. You can learn from the best speakers and practitioners in our community.
Ahhh I get to talk about this now! I worked with the delightful people at fly.io to design a series of distributed systems challenges using Maelstrom, a tool for teaching and learning distributed algorithms. They range from quick and simple echo servers to "implement your own transaction system based on the paper of your choice". Excited to see what folks come up with! 🤗
We've just wrapped up the global-first half of my global-first/local-first course (https://decomposition.al/CSE290S-2023-01/). On to local-first!
I picked choreographic/multitier programming and local-first software as the topics for this course because those were the two topics that students I surveyed seemed to want most, and I chose the name "global-first" for the former topic because it made a nice counterpart to "local-first" and made the course seem like less of a a random mishmash of topics. But...
Well this sounds interesting:
FLAC: Practical Failure-Aware Atomic Commit Protocol for Distributed Transactions
https://arxiv.org/abs/2302.04500
In distributed transaction processing, atomic commit protocol (ACP) is used to ensure database consistency. With the use of commodity compute nodes and networks, failures such as system crashes and network partitioning are common. It is therefore important for ACP to dynamically adapt to the operating condition for efficiency while ensuring the consistency of the database. Existing ACPs often assume stable operating conditions, hence, they are either non-generalizable to different environments or slow in practice. In this paper, we propose a novel and practical ACP, called Failure-Aware Atomic Commit (FLAC). In essence, FLAC includes three sub-protocols, which are specifically designed for three different environments: (i) no failure occurs, (ii) participant nodes might crash but there is no delayed connection, or (iii) both crashed nodes and delayed connection can occur. It models these environments as the failure-free, crash-failure, and network-failure robustness levels. During its operation, FLAC can monitor if any failure occurs and dynamically switch to operate the most suitable sub-protocol, using a robustness level state machine, whose parameters are fine-tuned by reinforcement learning. Consequently, it improves both the response time and throughput, and effectively handles nodes distributed across the Internet where crash and network failures might occur. We implement FLAC in a distributed transactional key-value storage system based on Google Percolator and evaluate its performance with both a micro benchmark and a macro benchmark of real workload. The results show that FLAC achieves up to 2.22x throughput improvement and 2.82x latency speedup, compared to existing ACPs for high-contention workloads.
[new blog post]
Designing Access Methods: The RUM Conjecture
https://muratbuffalo.blogspot.com/2023/02/designing-access-methods-rum-conjecture.html