{"product_id":"elixir-for-distributed-systems-a-practical-guide-to-scalable-architecture-on-the-beam-9798276809588","title":"Elixir for Distributed Systems: A Practical Guide to Scalable Architecture on the BEAM","description":"\u003cp\u003e • Author(s): Daniel C. Price\u003cbr\u003e • Publisher: Independently Published\u003cbr\u003e • Publisher Imprint: Independently Published\u003cbr\u003e • BISAC: Programming - Parallel\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cp\u003ePicture this scenario: You have built a successful application. It runs perfectly on your laptop. It runs perfectly on a single staging server. But then, success hits. You scale up to five servers to handle the load.\u003c\/p\u003e\u003cp\u003eSuddenly, everything breaks.\u003c\/p\u003e\u003cp\u003eUsers are getting charged twice because two servers processed the same job. Your background workers are crashing because they can't handle the flood of data. You try to deploy a fix, but you drop thousands of active connections in the process. You are waking up at 3:00 AM because of \"Split-Brain\" scenarios where your database thinks it has two masters.\u003c\/p\u003e\u003cp\u003eThe network is not reliable. Latency is not zero. Servers disappear without warning.\u003c\/p\u003e\u003cp\u003eIn this environment, standard coding practices fail. You don't need just another tutorial; you need a survival guide. This book walks you through the dark corners of distributed computing. We strip away the complexity of \"Microservices\" and show you how to build a \u003cb\u003eClustered Monolith\u003c\/b\u003e that is easier to deploy, cheaper to run, and impossible to kill. We turn the terrifying concept of a \"Network Partition\" into just another Tuesday at the office.\u003c\/p\u003e\u003cb\u003eWhat's inside\u003c\/b\u003e\u003cp\u003eThis book is packed with production-ready code, architectural diagrams, and hard-earned lessons from the field. Here is a glimpse of what you will master: \u003c\/p\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cb\u003eThe Architecture of Isolation: \u003c\/b\u003e Understand how the BEAM's \"Share Nothing\" model provides the foundation for fault tolerance.\u003c\/li\u003e\n\u003cli\u003e\n\u003cb\u003eLocation Transparency: \u003c\/b\u003e Learn how to send messages to a process on the other side of the world as easily as sending them to a process on the same RAM stick.\u003c\/li\u003e\n\u003cli\u003e\n\u003cb\u003eAutomated Discovery: \u003c\/b\u003e Stop hardcoding IP addresses. Use \u003cb\u003elibcluster\u003c\/b\u003e and DNS polling to automatically wire together nodes in Kubernetes and AWS.\u003c\/li\u003e\n\u003cli\u003e\n\u003cb\u003eThe \"Citadel\" Pattern: \u003c\/b\u003e Deploy the same codebase everywhere but use runtime configuration to specialize nodes into Web, Worker, or Streamer roles.\u003c\/li\u003e\n\u003cli\u003e\n\u003cb\u003eResilient Job Processing: \u003c\/b\u003e Build \u003cb\u003eGenStage\u003c\/b\u003e pipelines that exert backpressure, preventing your system from crashing under load, and implement \u003cb\u003eOban\u003c\/b\u003e for persistent, partitioned background jobs.\u003c\/li\u003e\n\u003cli\u003e\n\u003cb\u003eDistributed Data: \u003c\/b\u003e Move beyond the single database. Master \u003cb\u003eMnesia\u003c\/b\u003e for transactional storage, \u003cb\u003eNebulex\u003c\/b\u003e for distributed caching, and \u003cb\u003eCRDTs\u003c\/b\u003e for conflict-free real-time state.\u003c\/li\u003e\n\u003cli\u003e\n\u003cb\u003eObservability: \u003c\/b\u003e Implement \u003cb\u003eTelemetry\u003c\/b\u003e, Distributed Tracing, and centralized logging to spot bottlenecks before they become outages.\u003c\/li\u003e\n\u003cli\u003e\n\u003cb\u003eZero-Downtime Upgrades: \u003c\/b\u003e Learn the \"Holy Grail\" of the BEAM-hot code reloading-to update your software without dropping a single connection.\u003c\/li\u003e\n\u003c\/ul\u003e\u003cb\u003eWho it's meant for\u003c\/b\u003e\u003cp\u003eThis book is written for \u003cb\u003eIntermediate to Advanced Elixir Developers\u003c\/b\u003e who are ready to level up.\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003eIf you know how to spawn a GenServer but don't know what happens when the node it lives on crashes, this book is for you.\u003c\/li\u003e\n\u003cli\u003eIf you are an \u003cb\u003eArchitect or CTO\u003c\/b\u003e trying to decide between Microservices and a Monolith, this book provides the arguments and patterns for a third, better option.\u003c\/li\u003e\n\u003cli\u003eIf you are an engineer tired of managing complex external infrastructure and want to lean on the power of the Virtual Machine instead, you will find your answers here.\u003c\/li\u003e\n\u003c\/ul\u003e\u003cp\u003e\u003ci\u003eNote: You should be comfortable with basic Elixir syntax and OTP concepts before opening this book.\u003c\/i\u003e\u003c\/p\u003e\u003cp\u003eThe cloud is chaotic, but your software doesn't have to be.\u003c\/p\u003e\u003cp\u003eStop building fragile systems that keep you up at night. It is time to harness the full power of the technology you are already using. It is time to build a system that gets stronger as it grows, not weaker.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eGrab your copy of \"Elixir for Distributed Systems\" today and start building your Citadel.\u003c\/b\u003e\u003c\/p\u003e","brand":"Independently Published","offers":[{"title":"Paperback","offer_id":47575403528343,"sku":"9798276809588","price":2245.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0666\/3471\/1191\/files\/9798276809588.webp?v=1774898000","url":"https:\/\/atlanticbooks.com\/products\/elixir-for-distributed-systems-a-practical-guide-to-scalable-architecture-on-the-beam-9798276809588","provider":"Atlantic Books","version":"1.0","type":"link"}