Skip to content

Commit

Permalink
Add instructions for running clojure demos.
Browse files Browse the repository at this point in the history
  • Loading branch information
rhishikesh-helpshift committed Mar 6, 2021
1 parent 0ff5505 commit 362697d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/02-echo/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -428,3 +428,11 @@ and informs us at the end of the test. Each of Maelstrom's
[workloads](/doc/workloads.md) uses different kinds of operations, and checks
different kinds of properties on them. We'll see additional workloads in later
chapters.

### Clojure implementations

If you want to run the `clojure` implementation of the echo server, first install [babashka](https://github.com/babashka/babashka) and then run

```
$ ./maelstrom test -w echo --bin demo/clojure/echo.clj --time-limit 10
```
9 changes: 9 additions & 0 deletions doc/03-broadcast/01-broadcast.md
Original file line number Diff line number Diff line change
Expand Up @@ -593,3 +593,12 @@ message bounces around the network until every node has received it.

In the [next section](02-performance.md), we'll ask about the performance of
this broadcast model, and explore alternatives.


### Clojure implementations

If you want to run the `clojure` implementation of the echo server, first install [babashka](https://github.com/babashka/babashka) and then run

```
$ ./maelstrom test -w broadcast --bin demo/clojure/gossip.clj --time-limit 10 --nemesis partition --log-stderr
```

0 comments on commit 362697d

Please sign in to comment.