From smart appliances to gigantic data centers, from phones to satellites, networks are the way computers talk to each other. Learn how to use network protocols, choose or design serialization protocols, and architect systems with servers and clients.
Start with the most widely-used protocol on the Internet: TCP. Build a chat server where multiple clients can chat in real time. Explore client-side TCP by building a client for Redis. Scale and harden server and client, thanks to features of the BEAM. Then dig into UDP, TCP's "looser" sibling. Code a system for reporting metrics capable of rivaling hardened software like StatsD. Learn about DNS, which powers domain resolution for the Internet. Next, secure your TCP traffic with TLS. Lastly, explore HTTP, the protocol that even your microwave could be using. Build a JSON API, client, and server. Learn the differences between HTTP/1.1 and HTTP/2, and add real-time features via WebSockets.
The BEAM was built for networks and has been honed for more than three decades. It's the perfect fit. Leverage years of real-world experience building network-intensive applications from a member of the Elixir core team, and become an expert at network programming in Elixir and Erlang.
What You Need:
You'll need a computer running a standard distribution of Erlang/OTP, and optionally Elixir. Any recent version of OTP (22 or later) and Elixir (1.11 or later) is fine. For some parts of the book, you'll also need a working Internet connection.
- Format: Pocket/Paperback
- ISBN: 9798888651056
- Språk: Engelska
- Antal sidor: 275
- Utgivningsdatum: 2025-09-16
- Förlag: The Pragmatic Programmers