u/whatyouhidein r/elixir • Recommends
Solving Protohackers network challenges in Elixir — Episode 5
1.1K subscribers • 4 videos on Hallway
Intermediate. Assumes working knowledge.
1.1K views3 years ago1 recommendation
Programming languagesSystems programmingElixir and ErlangNetworking and protocols
Andrea Leopardi implements a simple key-value database over UDP in Elixir to solve the Protohackers Day 4 challenge.
This is the fifth video of my "Protohackers" Elixir series. We're solving network challenges from protohackers.com. I’m deploying code using a free account on fly.io. The source code is on GitHub: github.com/whatyouhide/protohackers_in_elixir Some resources for this video: • The description of the Protohackers problem we're working through in this video: protohackers.com/problem/4 • Deploying Elixir applications on Fly.io: fly.io/docs/elixir/getting-started/legacy • Documentation for the Erlang gen_udp module: erlang.org/doc/man/gen_udp.html • "What is UDP?" from Cloudflare: cloudflare.com/en-gb/learning/ddos/glossary/user-datagram-pr… Other resources: • My website: andrealeopardi.com • Twitter: twitter.com/whatyouhide • Mastodon: mas.to/@whatyouhide • #Elixir's website: elixir-lang.org Music from Uppbeat (free for Creators!): uppbeat.io/t/prigida/leaf-counter License code: BROSVTYPHPKBHUSL Chapters: Intro UDP Problem description on Protohackers Starting the implementation Handling client requests Automated tests Binding to the right address Deploy Testing on Protohackers ConclusionWhat people say. Recommended as a clear demonstration of UDP socket programming in Elixir.
u/whatyouhidein r/elixir • Recommends