BEAM: The Perfect Fit for Networks - Andrea Leopardi | Code BEAM Europe 2023

2024 ж. 30 Сәу.
1 484 Рет қаралды

"✨This talk was recorded at Code BEAM Europe 2023. If you're curious about our upcoming event, check codebebeameurope.com ✨
Abstract:
Networking can seem like a challenging task, but the BEAM is truly one of the best matches for tackling it. In this talk, we’ll mostly focus on two things: when the BEAM is the right fit for networking applications, especially compared to “lower-level” languages (such as Rust or Go), and then we’ll shift our focus to using the BEAM to write TCP applications.
- We'll discuss how the BEAM's lightweight processes and messaging system provide a powerful and intuitive way to handle TCP sockets and data.
- We'll explore how to use acceptor pools and supervision trees to build scalable and fault-tolerant TCP servers.
- I’ll show you how to use the gen_statem behaviour to build reliable TCP clients.
This stuff is at the foundation of Phoenix, LiveView, channels, and more. Even if you’re not working at the lower levels of the networking stack, this talk will help you understand how many of the tools and patterns we use every day work under the hood.
Let's keep in touch! Follow us on:
💥 Twitter: / codebeamio
💥 Facebook: / codesyncglobal
💥 Linkedin: / code-sync
💥 Mastodon: genserver.social/codesync "

KZhead