The journey of a request in a Raft-based KV store (from client to commit)
https://www.reddit.com/r/programming/comments/1s9jn4n/the_journey_of_a_request_in_a_raftbased_kv_store/
<!-- SC_OFF -->After implementing the MIT 6.5840 distributed systems labs, I wanted to better understand what actually happens when a client sends a request to a replicated key-value store built on Raft. I wrote a short article where I follow the full path of a request:
client → leader → replication → commit → apply → response What surprised me is how quickly this “simple” flow breaks in practice: leader can change mid-request network partitions create stale leaders retries can lead to duplicate execution A lot of the complexity isn’t in Raft itself, but in making the system behave correctly under these conditions. Would be interested in feedback, especially if you’ve built something similar. <!-- SC_ON --> submitted by /u/am0123 (https://www.reddit.com/user/am0123)
[link] (https://abdellani.dev/posts/2026-04-01-the-journey-of-a-request-in-a-raft-based-kv-store/) [comments] (https://www.reddit.com/r/programming/comments/1s9jn4n/the_journey_of_a_request_in_a_raftbased_kv_store/)
https://www.reddit.com/r/programming/comments/1s9jn4n/the_journey_of_a_request_in_a_raftbased_kv_store/
<!-- SC_OFF -->After implementing the MIT 6.5840 distributed systems labs, I wanted to better understand what actually happens when a client sends a request to a replicated key-value store built on Raft. I wrote a short article where I follow the full path of a request:
client → leader → replication → commit → apply → response What surprised me is how quickly this “simple” flow breaks in practice: leader can change mid-request network partitions create stale leaders retries can lead to duplicate execution A lot of the complexity isn’t in Raft itself, but in making the system behave correctly under these conditions. Would be interested in feedback, especially if you’ve built something similar. <!-- SC_ON --> submitted by /u/am0123 (https://www.reddit.com/user/am0123)
[link] (https://abdellani.dev/posts/2026-04-01-the-journey-of-a-request-in-a-raft-based-kv-store/) [comments] (https://www.reddit.com/r/programming/comments/1s9jn4n/the_journey_of_a_request_in_a_raftbased_kv_store/)
Throttling can silently drop the final state of an interaction
https://www.reddit.com/r/programming/comments/1s9jv1s/throttling_can_silently_drop_the_final_state_of/
<!-- SC_OFF -->Naive throttling can drop the final event: minimal demo + fix. <!-- SC_ON --> submitted by /u/OtherwisePush6424 (https://www.reddit.com/user/OtherwisePush6424)
[link] (https://blog.gaborkoos.com/posts/2026-03-31-Your-Throttling-Is-Lying-to-You/) [comments] (https://www.reddit.com/r/programming/comments/1s9jv1s/throttling_can_silently_drop_the_final_state_of/)
https://www.reddit.com/r/programming/comments/1s9jv1s/throttling_can_silently_drop_the_final_state_of/
<!-- SC_OFF -->Naive throttling can drop the final event: minimal demo + fix. <!-- SC_ON --> submitted by /u/OtherwisePush6424 (https://www.reddit.com/user/OtherwisePush6424)
[link] (https://blog.gaborkoos.com/posts/2026-03-31-Your-Throttling-Is-Lying-to-You/) [comments] (https://www.reddit.com/r/programming/comments/1s9jv1s/throttling_can_silently_drop_the_final_state_of/)
Simple Top-Down Parsing in Python
https://www.reddit.com/r/programming/comments/1s9nkqw/simple_topdown_parsing_in_python/
submitted by /u/BrewedDoritos (https://www.reddit.com/user/BrewedDoritos)
[link] (https://web.archive.org/web/20150228044653/http://effbot.org/zone/simple-top-down-parsing.htm) [comments] (https://www.reddit.com/r/programming/comments/1s9nkqw/simple_topdown_parsing_in_python/)
https://www.reddit.com/r/programming/comments/1s9nkqw/simple_topdown_parsing_in_python/
submitted by /u/BrewedDoritos (https://www.reddit.com/user/BrewedDoritos)
[link] (https://web.archive.org/web/20150228044653/http://effbot.org/zone/simple-top-down-parsing.htm) [comments] (https://www.reddit.com/r/programming/comments/1s9nkqw/simple_topdown_parsing_in_python/)
You can't scale when you're dead [TigerBeetle video]
https://www.reddit.com/r/programming/comments/1s9o9ue/you_cant_scale_when_youre_dead_tigerbeetle_video/
<!-- SC_OFF -->From Monster Scale Summit ... Scale is about survivability, not just performance: a system that can't stay alive when things break can't scale at all. This talk examines the limits holding back most OLTP systems, traces database architecture through seven stages of survivability, and demonstrates a diagonal scaling approach designed to handle hundreds of billions of transactions. <!-- SC_ON --> submitted by /u/swdevtest (https://www.reddit.com/user/swdevtest)
[link] (https://www.youtube.com/watch?v=iWGB7b4ZvtU) [comments] (https://www.reddit.com/r/programming/comments/1s9o9ue/you_cant_scale_when_youre_dead_tigerbeetle_video/)
https://www.reddit.com/r/programming/comments/1s9o9ue/you_cant_scale_when_youre_dead_tigerbeetle_video/
<!-- SC_OFF -->From Monster Scale Summit ... Scale is about survivability, not just performance: a system that can't stay alive when things break can't scale at all. This talk examines the limits holding back most OLTP systems, traces database architecture through seven stages of survivability, and demonstrates a diagonal scaling approach designed to handle hundreds of billions of transactions. <!-- SC_ON --> submitted by /u/swdevtest (https://www.reddit.com/user/swdevtest)
[link] (https://www.youtube.com/watch?v=iWGB7b4ZvtU) [comments] (https://www.reddit.com/r/programming/comments/1s9o9ue/you_cant_scale_when_youre_dead_tigerbeetle_video/)
Timesliced reservoir sampling: a new(?) algorithm for profilers
https://www.reddit.com/r/programming/comments/1s9ph8r/timesliced_reservoir_sampling_a_new_algorithm_for/
submitted by /u/itamarst (https://www.reddit.com/user/itamarst)
[link] (https://pythonspeed.com/articles/reservoir-sampling-profilers/) [comments] (https://www.reddit.com/r/programming/comments/1s9ph8r/timesliced_reservoir_sampling_a_new_algorithm_for/)
https://www.reddit.com/r/programming/comments/1s9ph8r/timesliced_reservoir_sampling_a_new_algorithm_for/
submitted by /u/itamarst (https://www.reddit.com/user/itamarst)
[link] (https://pythonspeed.com/articles/reservoir-sampling-profilers/) [comments] (https://www.reddit.com/r/programming/comments/1s9ph8r/timesliced_reservoir_sampling_a_new_algorithm_for/)
Understanding CPUs by building one in Kotlin
https://www.reddit.com/r/programming/comments/1s9r0nf/understanding_cpus_by_building_one_in_kotlin/
<!-- SC_OFF -->In order to understand how CPUs work internally I decided to build a small 16-bit CPU emulator entirely in Kotlin. It includes: A custom ISA (RISC/MIPS-inspired), Registers, Stack, Flags Instruction encoding/decoding ALU operations, branching and simple assembler I also wrote two detailed blog posts explaining the whole process step-by-step: 👉 Part 1 - Understanding how a CPU works: https://bloder.io/cpu-from-scratch-part-1 👉 Part 2 - Using Kotlin to create a CPU emulator: https://bloder.io/cpu-from-scratch-part-2 And here’s the full source code: 👉 https://github.com/bloderxd/kotlin-cpu <!-- SC_ON --> submitted by /u/_Bloder (https://www.reddit.com/user/_Bloder)
[link] (https://bloder.io/cpu-from-scratch-part-1) [comments] (https://www.reddit.com/r/programming/comments/1s9r0nf/understanding_cpus_by_building_one_in_kotlin/)
https://www.reddit.com/r/programming/comments/1s9r0nf/understanding_cpus_by_building_one_in_kotlin/
<!-- SC_OFF -->In order to understand how CPUs work internally I decided to build a small 16-bit CPU emulator entirely in Kotlin. It includes: A custom ISA (RISC/MIPS-inspired), Registers, Stack, Flags Instruction encoding/decoding ALU operations, branching and simple assembler I also wrote two detailed blog posts explaining the whole process step-by-step: 👉 Part 1 - Understanding how a CPU works: https://bloder.io/cpu-from-scratch-part-1 👉 Part 2 - Using Kotlin to create a CPU emulator: https://bloder.io/cpu-from-scratch-part-2 And here’s the full source code: 👉 https://github.com/bloderxd/kotlin-cpu <!-- SC_ON --> submitted by /u/_Bloder (https://www.reddit.com/user/_Bloder)
[link] (https://bloder.io/cpu-from-scratch-part-1) [comments] (https://www.reddit.com/r/programming/comments/1s9r0nf/understanding_cpus_by_building_one_in_kotlin/)
API Client Migration: From Postman to Bruno – Dotkernel
https://www.reddit.com/r/programming/comments/1s9u615/api_client_migration_from_postman_to_bruno/
submitted by /u/arhimedosin (https://www.reddit.com/user/arhimedosin)
[link] (https://www.dotkernel.com/dotkernel-api/api-client-migration-from-postman-to-bruno/) [comments] (https://www.reddit.com/r/programming/comments/1s9u615/api_client_migration_from_postman_to_bruno/)
https://www.reddit.com/r/programming/comments/1s9u615/api_client_migration_from_postman_to_bruno/
submitted by /u/arhimedosin (https://www.reddit.com/user/arhimedosin)
[link] (https://www.dotkernel.com/dotkernel-api/api-client-migration-from-postman-to-bruno/) [comments] (https://www.reddit.com/r/programming/comments/1s9u615/api_client_migration_from_postman_to_bruno/)
Packaging 128 languages with Nix
https://www.reddit.com/r/programming/comments/1sac5r7/packaging_128_languages_with_nix/
submitted by /u/Successful_Bowl2564 (https://www.reddit.com/user/Successful_Bowl2564)
[link] (https://invariant.club/articles/packaging-128-programming-languages-with-nix.html) [comments] (https://www.reddit.com/r/programming/comments/1sac5r7/packaging_128_languages_with_nix/)
https://www.reddit.com/r/programming/comments/1sac5r7/packaging_128_languages_with_nix/
submitted by /u/Successful_Bowl2564 (https://www.reddit.com/user/Successful_Bowl2564)
[link] (https://invariant.club/articles/packaging-128-programming-languages-with-nix.html) [comments] (https://www.reddit.com/r/programming/comments/1sac5r7/packaging_128_languages_with_nix/)
Beyond the README: Enforcing Application Guardrails at Runtime
https://www.reddit.com/r/programming/comments/1safpp2/beyond_the_readme_enforcing_application/
submitted by /u/aijan1 (https://www.reddit.com/user/aijan1)
[link] (https://lackofimagination.org/2026/03/beyond-the-readme-enforcing-application-guardrails-at-runtime/) [comments] (https://www.reddit.com/r/programming/comments/1safpp2/beyond_the_readme_enforcing_application/)
https://www.reddit.com/r/programming/comments/1safpp2/beyond_the_readme_enforcing_application/
submitted by /u/aijan1 (https://www.reddit.com/user/aijan1)
[link] (https://lackofimagination.org/2026/03/beyond-the-readme-enforcing-application-guardrails-at-runtime/) [comments] (https://www.reddit.com/r/programming/comments/1safpp2/beyond_the_readme_enforcing_application/)
Learning API Styles • Lukasz Dynowski & Sam Newman
https://www.reddit.com/r/programming/comments/1safthb/learning_api_styles_lukasz_dynowski_sam_newman/
submitted by /u/goto-con (https://www.reddit.com/user/goto-con)
[link] (https://youtu.be/cTdhPZA_CJk?list=PLEx5khR4g7PJbSLmADahf0LOpTLifiCra) [comments] (https://www.reddit.com/r/programming/comments/1safthb/learning_api_styles_lukasz_dynowski_sam_newman/)
https://www.reddit.com/r/programming/comments/1safthb/learning_api_styles_lukasz_dynowski_sam_newman/
submitted by /u/goto-con (https://www.reddit.com/user/goto-con)
[link] (https://youtu.be/cTdhPZA_CJk?list=PLEx5khR4g7PJbSLmADahf0LOpTLifiCra) [comments] (https://www.reddit.com/r/programming/comments/1safthb/learning_api_styles_lukasz_dynowski_sam_newman/)
What Would You See Changed in Haskell?
https://www.reddit.com/r/programming/comments/1sah9jz/what_would_you_see_changed_in_haskell/
submitted by /u/Successful_Bowl2564 (https://www.reddit.com/user/Successful_Bowl2564)
[link] (https://blog.haskell.org/what-would-you-see-changed-in-haskell/) [comments] (https://www.reddit.com/r/programming/comments/1sah9jz/what_would_you_see_changed_in_haskell/)
https://www.reddit.com/r/programming/comments/1sah9jz/what_would_you_see_changed_in_haskell/
submitted by /u/Successful_Bowl2564 (https://www.reddit.com/user/Successful_Bowl2564)
[link] (https://blog.haskell.org/what-would-you-see-changed-in-haskell/) [comments] (https://www.reddit.com/r/programming/comments/1sah9jz/what_would_you_see_changed_in_haskell/)
Tried to buy a pint, Finding a Trojan: My First Malware Analysis
https://www.reddit.com/r/programming/comments/1sahywo/tried_to_buy_a_pint_finding_a_trojan_my_first/
submitted by /u/im_the_tea_drinker_ (https://www.reddit.com/user/im_the_tea_drinker_)
[link] (https://blog.michaelrbparker.com/post/17) [comments] (https://www.reddit.com/r/programming/comments/1sahywo/tried_to_buy_a_pint_finding_a_trojan_my_first/)
https://www.reddit.com/r/programming/comments/1sahywo/tried_to_buy_a_pint_finding_a_trojan_my_first/
submitted by /u/im_the_tea_drinker_ (https://www.reddit.com/user/im_the_tea_drinker_)
[link] (https://blog.michaelrbparker.com/post/17) [comments] (https://www.reddit.com/r/programming/comments/1sahywo/tried_to_buy_a_pint_finding_a_trojan_my_first/)
Trial By Fire
https://www.reddit.com/r/programming/comments/1sajb12/trial_by_fire/
submitted by /u/SpecialistLady (https://www.reddit.com/user/SpecialistLady)
[link] (https://yusufaytas.com/trial-by-fire/) [comments] (https://www.reddit.com/r/programming/comments/1sajb12/trial_by_fire/)
https://www.reddit.com/r/programming/comments/1sajb12/trial_by_fire/
submitted by /u/SpecialistLady (https://www.reddit.com/user/SpecialistLady)
[link] (https://yusufaytas.com/trial-by-fire/) [comments] (https://www.reddit.com/r/programming/comments/1sajb12/trial_by_fire/)
Bringing Clojure programming to Enterprise
https://www.reddit.com/r/programming/comments/1sajbks/bringing_clojure_programming_to_enterprise/
submitted by /u/SpecialistLady (https://www.reddit.com/user/SpecialistLady)
[link] (https://blogit.michelin.io/clojure-programming/) [comments] (https://www.reddit.com/r/programming/comments/1sajbks/bringing_clojure_programming_to_enterprise/)
https://www.reddit.com/r/programming/comments/1sajbks/bringing_clojure_programming_to_enterprise/
submitted by /u/SpecialistLady (https://www.reddit.com/user/SpecialistLady)
[link] (https://blogit.michelin.io/clojure-programming/) [comments] (https://www.reddit.com/r/programming/comments/1sajbks/bringing_clojure_programming_to_enterprise/)
I Explained 30 Spring Annotations You MUST Know in 2026 (with Code Examples)
https://www.reddit.com/r/programming/comments/1sal5q9/i_explained_30_spring_annotations_you_must_know/
submitted by /u/huseyinbabal (https://www.reddit.com/user/huseyinbabal)
[link] (https://youtube.com/watch?v=HRi-Vild2Ck&si=cALey0Nekas9GYpa) [comments] (https://www.reddit.com/r/programming/comments/1sal5q9/i_explained_30_spring_annotations_you_must_know/)
https://www.reddit.com/r/programming/comments/1sal5q9/i_explained_30_spring_annotations_you_must_know/
submitted by /u/huseyinbabal (https://www.reddit.com/user/huseyinbabal)
[link] (https://youtube.com/watch?v=HRi-Vild2Ck&si=cALey0Nekas9GYpa) [comments] (https://www.reddit.com/r/programming/comments/1sal5q9/i_explained_30_spring_annotations_you_must_know/)
soak testing a desktop app in zig
https://www.reddit.com/r/programming/comments/1sarq5y/soak_testing_a_desktop_app_in_zig/
submitted by /u/Positive-Bell-9675 (https://www.reddit.com/user/Positive-Bell-9675)
[link] (https://enopdf.com/blog/searching-for-unknown-unknowns/) [comments] (https://www.reddit.com/r/programming/comments/1sarq5y/soak_testing_a_desktop_app_in_zig/)
https://www.reddit.com/r/programming/comments/1sarq5y/soak_testing_a_desktop_app_in_zig/
submitted by /u/Positive-Bell-9675 (https://www.reddit.com/user/Positive-Bell-9675)
[link] (https://enopdf.com/blog/searching-for-unknown-unknowns/) [comments] (https://www.reddit.com/r/programming/comments/1sarq5y/soak_testing_a_desktop_app_in_zig/)
chronex - an Open-source social media scheduler
https://www.reddit.com/r/programming/comments/1sb4hwt/chronex_an_opensource_social_media_scheduler/
<!-- SC_OFF -->Over the past few weeks, I've been building a platform where users can connect their social accounts and automate content posting. So I built Chronex, an open-source alternative to paid content schedulers. Tech Stack Web/Platform: Next.js, tRPC, Drizzle, Better Auth Media Storage: Backblaze B2 Scheduling & Posting: Cloudflare Workers & Queues Github (https://github.com/prncexe/chronex) <!-- SC_ON --> submitted by /u/_Introvert_boi (https://www.reddit.com/user/_Introvert_boi)
[link] (https://chronex.princecodes.tech/) [comments] (https://www.reddit.com/r/programming/comments/1sb4hwt/chronex_an_opensource_social_media_scheduler/)
https://www.reddit.com/r/programming/comments/1sb4hwt/chronex_an_opensource_social_media_scheduler/
<!-- SC_OFF -->Over the past few weeks, I've been building a platform where users can connect their social accounts and automate content posting. So I built Chronex, an open-source alternative to paid content schedulers. Tech Stack Web/Platform: Next.js, tRPC, Drizzle, Better Auth Media Storage: Backblaze B2 Scheduling & Posting: Cloudflare Workers & Queues Github (https://github.com/prncexe/chronex) <!-- SC_ON --> submitted by /u/_Introvert_boi (https://www.reddit.com/user/_Introvert_boi)
[link] (https://chronex.princecodes.tech/) [comments] (https://www.reddit.com/r/programming/comments/1sb4hwt/chronex_an_opensource_social_media_scheduler/)
SQL notebooks into an open source database client
https://www.reddit.com/r/programming/comments/1sb510k/sql_notebooks_into_an_open_source_database_client/
submitted by /u/debba_ (https://www.reddit.com/user/debba_)
[link] (https://tabularis.dev/blog/notebooks-sql-analysis-reimagined) [comments] (https://www.reddit.com/r/programming/comments/1sb510k/sql_notebooks_into_an_open_source_database_client/)
https://www.reddit.com/r/programming/comments/1sb510k/sql_notebooks_into_an_open_source_database_client/
submitted by /u/debba_ (https://www.reddit.com/user/debba_)
[link] (https://tabularis.dev/blog/notebooks-sql-analysis-reimagined) [comments] (https://www.reddit.com/r/programming/comments/1sb510k/sql_notebooks_into_an_open_source_database_client/)
Idiomatic Lisp and the nbody benchmark
https://www.reddit.com/r/programming/comments/1sb5xqx/idiomatic_lisp_and_the_nbody_benchmark/
submitted by /u/self (https://www.reddit.com/user/self)
[link] (https://www.stylewarning.com/posts/nbody/) [comments] (https://www.reddit.com/r/programming/comments/1sb5xqx/idiomatic_lisp_and_the_nbody_benchmark/)
https://www.reddit.com/r/programming/comments/1sb5xqx/idiomatic_lisp_and_the_nbody_benchmark/
submitted by /u/self (https://www.reddit.com/user/self)
[link] (https://www.stylewarning.com/posts/nbody/) [comments] (https://www.reddit.com/r/programming/comments/1sb5xqx/idiomatic_lisp_and_the_nbody_benchmark/)
Engineering a Better Java Build Tool
https://www.reddit.com/r/programming/comments/1sb6e05/engineering_a_better_java_build_tool/
submitted by /u/lihaoyi (https://www.reddit.com/user/lihaoyi)
[link] (https://www.youtube.com/watch?v=OtsJ902k458) [comments] (https://www.reddit.com/r/programming/comments/1sb6e05/engineering_a_better_java_build_tool/)
https://www.reddit.com/r/programming/comments/1sb6e05/engineering_a_better_java_build_tool/
submitted by /u/lihaoyi (https://www.reddit.com/user/lihaoyi)
[link] (https://www.youtube.com/watch?v=OtsJ902k458) [comments] (https://www.reddit.com/r/programming/comments/1sb6e05/engineering_a_better_java_build_tool/)
Building DNS query tool from scratch using C
https://www.reddit.com/r/programming/comments/1sbawir/building_dns_query_tool_from_scratch_using_c/
submitted by /u/its_justme27 (https://www.reddit.com/user/its_justme27)
[link] (https://prayush.hashnode.dev/from-log-reader-to-packet-crafter-building-dns-from-scratch-in-c) [comments] (https://www.reddit.com/r/programming/comments/1sbawir/building_dns_query_tool_from_scratch_using_c/)
https://www.reddit.com/r/programming/comments/1sbawir/building_dns_query_tool_from_scratch_using_c/
submitted by /u/its_justme27 (https://www.reddit.com/user/its_justme27)
[link] (https://prayush.hashnode.dev/from-log-reader-to-packet-crafter-building-dns-from-scratch-in-c) [comments] (https://www.reddit.com/r/programming/comments/1sbawir/building_dns_query_tool_from_scratch_using_c/)