Go to file
Joe Ardent 5f6312dfb8 Send less data; no KV.
This has good messages/op (2.3), but bad highest lag (39 seconds):

{:perf {:latency-graph {:valid? true},
        :rate-graph {:valid? true},
        :valid? true},
 :timeline {:valid? true},
 :exceptions {:valid? true},
 :stats {:valid? true,
         :count 18643,
         :ok-count 18635,
         :fail-count 0,
         :info-count 8,
         :by-f {:assign {:valid? true,
                         :count 2258,
                         :ok-count 2258,
                         :fail-count 0,
                         :info-count 0},
                :crash {:valid? false,
                        :count 8,
                        :ok-count 0,
                        :fail-count 0,
                        :info-count 8},
                :poll {:valid? true,
                       :count 8537,
                       :ok-count 8537,
                       :fail-count 0,
                       :info-count 0},
                :send {:valid? true,
                       :count 7840,
                       :ok-count 7840,
                       :fail-count 0,
                       :info-count 0}}},
 :availability {:valid? true, :ok-fraction 0.9995709},
 :net {:all {:send-count 43768,
             :recv-count 43768,
             :msg-count 43768,
             :msgs-per-op 2.3476908},
       :clients {:send-count 43768,
                 :recv-count 43768,
                 :msg-count 43768},
       :servers {:send-count 0,
                 :recv-count 0,
                 :msg-count 0,
                 :msgs-per-op 0.0},
       :valid? true},
 :workload {:valid? true,
            :worst-realtime-lag {:time 39.787998673,
                                 :process 6,
                                 :key "9",
                                 :lag 39.771318684},
            :bad-error-types (),
            :error-types (),
            :info-txn-causes ()},
 :valid? true}
2024-06-07 14:13:10 -07:00
gg-broadcast update nebkor-maelstrom dep 2024-06-05 22:12:51 -07:00
gg-echo use the crates.io version of nebkor-maelstrom 2024-06-04 19:01:20 -07:00
gg-g_counter use the crates.io version of nebkor-maelstrom 2024-06-04 19:01:20 -07:00
gg-kafka Send less data; no KV. 2024-06-07 14:13:10 -07:00
gg-uid use the crates.io version of nebkor-maelstrom 2024-06-04 19:01:20 -07:00
.gitignore use an off-the-shelf crate for maelstrom node. 2024-05-17 15:46:10 -07:00
.rustfmt.toml protocol should be good enough to start 2024-05-17 11:20:28 -07:00
Cargo.lock passes 5a 2024-06-06 22:19:13 -07:00
Cargo.toml passes 5a 2024-06-06 22:19:13 -07:00
LICENSE.md add readme and license. 2024-05-17 11:32:50 -07:00
README.md Move all lib-y code into nebkor-maelstrom, have gg-echo use it fully. 2024-05-20 12:43:21 -07:00

README.md

Working through the Fly.io distributed systems challenge, in Rust.

The nebkor-maelstrom crate is meant to be roughly equivalent to the Go Maelstrom.Node package, and provides serde-backed data structures for messages as well as runner for processing messages from the Maelstrom network. See gg-echo/src/main.rs for the simplest possible use of it.