Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Distributed .NET with Microsoft Orleans
Distributed .NET with Microsoft Orleans

Distributed .NET with Microsoft Orleans: Build robust and highly scalable distributed applications without worrying about complex programming patterns

Arrow left icon
Profile Icon Bhupesh Guptha Muthiyalu Profile Icon Kumar Kunani
Arrow right icon
₹799.99 ₹2502.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3 (6 Ratings)
eBook May 2022 262 pages 1st Edition
eBook
₹799.99 ₹2502.99
Paperback
₹3127.99
Subscription
Free Trial
Renews at ₹800p/m
Arrow left icon
Profile Icon Bhupesh Guptha Muthiyalu Profile Icon Kumar Kunani
Arrow right icon
₹799.99 ₹2502.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3 (6 Ratings)
eBook May 2022 262 pages 1st Edition
eBook
₹799.99 ₹2502.99
Paperback
₹3127.99
Subscription
Free Trial
Renews at ₹800p/m
eBook
₹799.99 ₹2502.99
Paperback
₹3127.99
Subscription
Free Trial
Renews at ₹800p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Distributed .NET with Microsoft Orleans

Chapter 1: An Introduction to Distributed Applications

In today's world of digital platforms, all applications are expected to be highly scalable, available, and reliable with world-class performance. Many IT companies use the term ARP, which stands for availability, reliability, performance, and have a guaranteed service-level agreement (SLA) for each. Any SLA below 99.99% (four nines) is not acceptable for an application given the challenging and highly competitive world we are in. Some mission-critical applications guarantee a higher SLA of >=99.999% (five nines). To meet increasing user demands and requirements, an application needs to be highly scalable and distributed.

Distributed applications are applications/programs that run on multiple computers and communicate with each other through a well-defined interface over a network to process data and achieve the desired output. While they appear to be one application from the end user's perspective, distributed applications typically have multiple components.

This chapter will cover the following:

  • Monolithic applications versus distributed applications
  • Challenges with distributed applications
  • Designing your application for scalability
  • Designing your application for high availability
Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Explore the Orleans cross-platform framework for building robust, scalable, and distributed applications
  • Handle concurrency, fault tolerance, and resource management without complex programming patterns
  • Work with essential components such as grains and silos to write scalable programs with ease

Description

Building distributed applications in this modern era can be a tedious task as customers expect high availability, high performance, and improved resilience. With the help of this book, you'll discover how you can harness the power of Microsoft Orleans to build impressive distributed applications. Distributed .NET with Microsoft Orleans will demonstrate how to leverage Orleans to build highly scalable distributed applications step by step in the least possible time and with minimum effort. You'll explore some of the key concepts of Microsoft Orleans, including the Orleans programming model, runtime, virtual actors, hosting, and deployment. As you advance, you'll become well-versed with important Orleans assets such as grains, silos, timers, and persistence. Throughout the book, you'll create a distributed application by adding key components to the application as you progress through each chapter and explore them in detail. By the end of this book, you'll have developed the confidence and skills required to build distributed applications using Microsoft Orleans and deploy them in Microsoft Azure.

Who is this book for?

This book is for .NET developers and software architects looking for a simplified guide for creating distributed applications, without worrying about complex programming patterns. Intermediate web developers who want to build highly scalable distributed applications will also find this book useful. A basic understanding of .NET Classic or .NET Core with C# and Azure will be helpful.

What you will learn

  • Get to grips with the different cloud architecture patterns that can be leveraged for building distributed applications
  • Manage state and build a custom storage provider
  • Explore Orleans key design patterns and understand when to reuse them
  • Work with different classes that are created by code generators in the Orleans framework
  • Write unit tests for Orleans grains and silos and create mocks for different parts of the system
  • Overcome traditional challenges of latency and scalability while building distributed applications

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : May 27, 2022
Length: 262 pages
Edition : 1st
Language : English
ISBN-13 : 9781801810425
Vendor :
Google
Languages :
Concepts :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : May 27, 2022
Length: 262 pages
Edition : 1st
Language : English
ISBN-13 : 9781801810425
Vendor :
Google
Languages :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
₹800 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
₹4500 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just ₹400 each
Feature tick icon Exclusive print discounts
₹5000 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just ₹400 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 9,905.97
High-Performance Programming in C# and .NET
₹3872.99
Microservices Communication in .NET Using gRPC
₹2904.99
Distributed .NET with Microsoft Orleans
₹3127.99
Total 9,905.97 Stars icon

Table of Contents

16 Chapters
Section 1 - Distributed Applications Architecture Chevron down icon Chevron up icon
Chapter 1: An Introduction to Distributed Applications Chevron down icon Chevron up icon
Chapter 2: Cloud Architecture and Patterns for Distributed Applications Chevron down icon Chevron up icon
Section 2 - Working with Microsoft Orleans Chevron down icon Chevron up icon
Chapter 3: Introduction to Microsoft Orleans Chevron down icon Chevron up icon
Chapter 4: Understanding Grains and Silos Chevron down icon Chevron up icon
Chapter 5: Persistence in Grains Chevron down icon Chevron up icon
Chapter 6: Scheduling and Notifying in Orleans Chevron down icon Chevron up icon
Chapter 7: Engineering Fundamentals in Orleans Chevron down icon Chevron up icon
Section 3 - Building Patterns in Orleans Chevron down icon Chevron up icon
Chapter 8: Advanced Concepts in Orleans Chevron down icon Chevron up icon
Chapter 9: Design Patterns in Orleans Chevron down icon Chevron up icon
Section 4 - Hosting and Deploying Orleans Applications to Azure Chevron down icon Chevron up icon
Chapter 10: Deploying an Orleans Application in Azure Kubernetes Chevron down icon Chevron up icon
Chapter 11: Deploying an Orleans Application to Azure App Service Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3
(6 Ratings)
5 star 50%
4 star 33.3%
3 star 16.7%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Ajmal Yazdani Jun 15, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
A must book for everyone who are looking for distributed data processing in .NET world with amazing technology Orleans. A masterpiece!!! Kudos to the writers who did excellent job here to show the technology with very clear and detailed coding examples. 5 star, Highly recommended!!! Must BUY!!!
Amazon Verified review Amazon
J Jun 07, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I've read this cover to cover and downloaded the samples to look through the code.You definitely need to have a working knowledge of C#, but then I'd assume you wouldn't try to tackle Orleans without that.The book is really clear. It provides relevant information about architecture, but unlike many resources on actor type systems, it also provides details on how to actually make a decent program, starting with the basics, then going onto more advanced topics.It's far superior to trying to read the docs. There is a good tutorial on Pluralsight, but that doesn't go into the depth required to really 'know' orleans like this book does.A genuine 5* book.EDIT: Further to my previous review, I've been actively using Orleans for about a month. I keep going back to this book and it almost always has the answers. It really is fantastic.
Amazon Verified review Amazon
Brady Gaster Aug 03, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
As a member of the Orleans team, I was excited to see Bhupesh’s book come out, as I know from talking with the growing Orleans community that folks wanted new books and docs and samples. We spent some time during the development of Orleans 3.6 working on re-organizing our samples and being more tactical about the docs we’d put out. This book complements those efforts, demonstrates some of the more complicated topics when developing with Orleans, and informs folks of various design decisions the Orleans team made on the road to creating a truly performant, enterprise-grade, distributed programming framework. In fact, my favorite part of the book was how, early on, the author refers to Orleans in the way I refer to it in every conversation – Orleans is “distributed .NET.”The first few chapters do a fantastic job laying the groundwork on what distributed application development is, and it iterates through some of the patterns and challenges developers face when building distributed apps. Patterns like caching and CQRS are discussed, and the author lays significant ground establishing the fact that distributed systems are complex. Then, Orleans is introduced and shown, from an architectural viewpoint rather than a code-first stance, how Orleans solves many of the challenges distributed developers face. Possibly my biggest surprise of the book was during this introduction to Orleans, when the author carefully lays out some of the important concepts developers need to consider when choosing Orleans and does a fantastic job of summarizing why the Orleans team made some of the decisions. What’s more is the author takes the time to discuss not only when Orleans is an appropriate technology, but even when it isn’t appropriate. This helps the reader understand from an opinionated, honest viewpoint if the tech is right for them.From there, the book explores nearly every important concept a developer needs to be familiar with when developing distributed apps with Orleans. Using an easy-to-follow example of building a hotel software system (a great paradigm for a sample app, as we’ve all had to check into a hotel at some point!), the reader is shown how to implement the basics of the Orleans virtual actor model using cloud-native Grain implementations to persist object state. With regards to persistence, the example not only shows how to use the Cosmos DB persistence provider for world-class data distribution, but the example also goes on to show how to implement a fully custom storage persistence class for Orleans, without being intimidating or complex. One immediately sees the power and versatility of Orleans persistence.After this deep exploration into Orleans data persistence, the latter chapters go into great exploration of how to perform reminders in Orleans, goes into fantastic exploration of how to achieve pub/sub using Orleans observers, and summarizes Orleans streaming into a few-line demo that anyone can follow. Streaming with SignalR and Orleans has always been an intimidating topic for new developers, but the example in this book on achieving event-driven using Orleans streams is second-to-none.The last section takes the reader on a journey of deploying Orleans to Azure AKS and App Service, and carefully lays out all the individual steps required to make an Orleans cluster in the cloud. I would love to see an update to the book one day that includes a discussion of Azure Container Apps, but I know the timing of the book made including this somewhat difficult (the two had a very-closely aligned release date, accidentally).For anyone getting started with Orleans, this book is great. It takes you from Orleans Day 1 through some very complicated topics but is never intimidating. In spite of a few spelling or auto-corrective errors in the code, I didn’t notice any issues with the code examples. Just be careful if you copy them letter-for-letter, as there are some places where auto-capitalization might be breaking some of the type names. I noticed IObserver being changed to Iobserver, for example.
Amazon Verified review Amazon
John Kattenhorn Jun 06, 2022
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
Perfect for developers starting out with OrleansThis book gives a good introduction to the challenges of building distributed applications and how Orleans can address some of the complexities.If you are a beginner at building distributed applications with Orleans then this book is for you. It covers all of the major functional pieces of Orleans and provides some guidance on how best to use Orleans.It would have been useful to have included more content around good actor designs and anti-patterns to avoid.If the Orleans documentation is not to your liking then this book would good place to start learning Orleans and well worth the money.If you are already an experienced developer with Orleans then this book won't teach you much you don't already know.
Amazon Verified review Amazon
alex mccool Aug 02, 2022
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
This is a good concise introduction to the virtual actor library of Orleans. If you're unfamiliar with actor pattern or working with clusters this resource can get you started. While it does not go to deeply into the async/await details of the Orleans scheduler and things like long running tasks it does give you a feel for how to use actors to accomplish a goal. The patterns section is rather mundane, but good as a refresher for developers who have forgotten some of the basic best practices.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.