Fly.io Gossip Glomers Challenge #1: Echo

The first challenge of the fly.io distributed system challenges.

← Back Fly.io Gossip Glomers Challenge #1: Echo

thumbnail.jpg

Setting it up

source

A very straight-forward challenge, this gently introduces us to Maelstrom the framework being used for testing.

Maelstrom allows simulating multiple client server architecture using the same machine, it uses stdout instead of actual network calls for message passing. And it is language agnostic, to use the tests it provides, we just need to point it to the binary.

Throughout all these challenges, we will be writing server side code as responses to RPC(remote procedure call) messages from the clients, and we need to make sure that our code doesn't run into any weird race conditions.

For this challenge however, none of that really matters since all we need to do is return an ack to the client. The code is literally spelled out.