
۴۴٬۰۰۰تومان
نوع فایل دانلود: EPUB
پس از خرید، یک فایل EPUB دریافت میکنید.
این فایل با Calibre، Apple Books و سایر کتابخوانهای دیجیتال مناسب است.
**با برنامهنویسی واکنشی، سامانههای توزیعشدهٔ مقیاسپذیر و مقاوم در برابر خطا را با اسکالا و آککا بسازید**
دربارهٔ این کتاب
* با مفاهیم برنامهنویسی واکنشی، سامانههای توزیعشدهای بسازید که روی چند گره اجرا میشوند
* با طیف کامل امکانات آککا آشنا شوید؛ از جمله ماژولهای آزمایشی جدید و پیشرفته
* اصول برنامهنویسی تابعی واکنشی (FRP) را همراه با کاربردهای واقعی برای حل مشکلات مقیاسپذیری بیاموزید
این کتاب برای چه کسانی است
اگر توسعهدهندهای هستید که به ساخت برنامههای توزیعشدهٔ مقاوم در برابر خطا و مقیاسپذیر با اسکالا و آککا علاقه دارید، این کتاب نقطهٔ شروع خوبی برایتان است. باید با اسکالا آشنا باشید؛ اما نیازی به دانش قبلی دربارهٔ آککا و برنامهنویسی واکنشی نیست.
آنچه خواهید آموخت
* برنامهنویسی تابعی را با اسکالا کاوش کنید
* یک برنامهٔ سبد خرید ناهمگام و بدون مسدودسازی را با Futures طراحی کنید
* مدل بازیگر آککا و رابطهٔ بین بازیگران و نخها را بفهمید
* با قابلیت نظارت بر بازیگر، برنامهای مقاوم در برابر خطا و پایدار بسازید
* چارچوب سامانهٔ توزیعشدهٔ خود را با خوشهٔ آککا بسازید
* نگاهی به پشت صحنه بیندازید و دید بهتری از موتور آککا پیدا کنید
* یک مطالعهٔ موردی جامع از فروشگاه کلید-مقدار با خواندن و نوشتن همزمان ببینید
* یک ماشین حالت متناهی را با بازیگران مبتنی بر حالت مدلسازی کنید
با جزئیات بیشتر
برنامههای وب امروزی باید خیلی سریع مقیاس بگیرند تا پاسخگوی نیازهای کاربران مدرن باشند. برنامهنویسی واکنشی راهحلی است که برای مقیاسپذیری مقاوم در برابر خطا و پایدار طراحی شده و برای برنامههای حرفهای ضروری است. برنامهنویسی واکنشی با اسکالا و آککا بستری عالی برای ساخت برنامههای همزمان، پایدار و با تأخیر کم در مقیاس اینترنت روی ماشین مجازی جاوا فراهم میکند.
این راهنمای جامع کمک میکند مفاهیم برنامهنویسی واکنشی را بیاموزید و یک سامانهٔ توزیعشدهٔ پایدار با اسکالا و آککا بسازید. کتاب در دو بخش نوشته شده است. ابتدا مفاهیم واکنشی، ناهمگام و تابعی در اسکالا را مرور میکنید؛ سپس روی آککا تمرکز میکنید و جزئیات کاربردهای واقعی را فرامیگیرید.
کار را با آشنایی با برنامهنویسی تابعی واکنشی شروع کنید؛ سپس برنامههای ناهمگام را با سازههای بدون مسدودسازی در اسکالا بنویسید. با همزمانی مبتنی بر بازیگر در آککا آشنا شوید و از امکاناتی مثل ریموتینگ، مسیریابی و پایداری آککا برای ساخت برنامههای توزیعشده بهره ببرید. بیاموزید چگونه برنامهها را با خوشهٔ چندگرهای آککا مقیاس دهید، بازیگران آککا را واحدآزمایی کنید، و با ماشینهای حالت و پیادهسازی بازیگران مبتنی بر حالت در آککا کار کنید. در پایان، مهارتهایتان را در یک مطالعهٔ موردی محک بزنید؛ جایی که داده را بهصورت همزمان و ناهمگام در یک فروشگاه کلید-مقدار ذخیره و بازیابی میکنید. با پیشروی گامبهگام در مفاهیم آککا، نهتنها میتوانید سامانهٔ توزیعشدهٔ خود را بنویسید، بلکه پیچیدگی پنهان اکوسیستم آککا را بهتر درک میکنید.
سبک و رویکرد
این راهنمای جامع شما را از مبانی برنامهنویسی واکنشی در اسکالا و آککا عبور میدهد؛ از پرکاربردترین سازهها تا پیشرفتهترین امکانات را توضیح میدهد و با کمک مثالهای واقعی، ساخت یک سامانهٔ توزیعشدهٔ کامل را به شما نشان میدهد.
**Harness reactive programming to build scalable and fault-tolerant distributed systems using Scala and Akka**About This Book* Use the concepts of reactive programming to build distributed systems running on multiple nodes* Get to grips with the full range of Akka features including the upcoming and cutting edge experimental modules* A comprehensive coverage of the principles of FRP with real-world use cases to solve scalability issuesWho This Book Is ForIf you are a developer who is passionate about building fault-tolerant, scalable distributed applications using Scala and Akka, then this book will give you a jump start. You should be familiar with Scala, but no prior knowledge of Akka and reactive programming is required.What You Will Learn* Explore functional programming using Scala* Design an asynchronous, non-blocking shopping cart application using Futures* Understand the Akka actor model and the relationship between actors and threads* Use the Actor Supervision feature to build a fault tolerant and resilient application* Create your own distributed system framework using an Akka cluster* Take a look under the hood to gain perspective on the Akka engine* See a comprehensive case study of a key value store with concurrent reads and writes* Model a finite state machine using state-driven actorsIn DetailToday’s web-based applications need to scale quickly to tackle the demands of modern users. Reactive programming is the solution developed to ensure the fault tolerant and robust scaling that is essential for professional applications. Reactive programming in Scala and Akka provides a great platform to develop low latency resilient, concurrent Internet scale applications on the Java Virtual Machine.This comprehensive guide will help you get to grips with the concepts of reactive programming in order to build a robust distributed system in Scala and Akka. Written in two parts, you will first take a walkthrough of the reactive, asynchronous, and functional concepts in Scala before focusing on Akka and getting to grips with the details of real-world use cases.Begin with an introduction into functional reactive programming, before moving on to writing asynchronous application with non-blocking constructs in Scala. Get familiar with the concept of actor-based concurrency using Akka, and features such as Akka remoting, routing, and persistence capabilities to build distributed applications. Learn to scale applications using a multi-node Akka cluster and unit test Akka actors and get to grips with state machines and how to implement state-driven actors using Akka. Finally, put your skills to the test with a case study where you will concurrently and asynchronously store and retrieve data from a key value store. By progressively working through the Akka concepts, you will not only be able to write your own distributed system, but also appreciate the hidden complexity within the Akka ecosystem.Style and approachThis comprehensive guide walks you through the basics of reactive programming in Scala and Akka, explaining some of the most frequently used constructs to the most advanced features, and taking you through building a full-blown distributed system with the help of real-world examples.