Muutke küpsiste eelistusi

Programming Microsoft Azure Service Fabric [Pehme köide]

  • Formaat: Paperback / softback, 496 pages, kõrgus x laius x paksus: 100x100x100 mm, kaal: 100 g
  • Ilmumisaeg: 28-Jun-2016
  • Kirjastus: Microsoft Press
  • ISBN-10: 1509301887
  • ISBN-13: 9781509301881
Teised raamatud teemal:
  • Pehme köide
  • Hind: 59,94 €*
  • * saadame teile pakkumise kasutatud raamatule, mille hind võib erineda kodulehel olevast hinnast
  • See raamat on trükist otsas, kuid me saadame teile pakkumise kasutatud raamatule.
  • Kogus:
  • Lisa ostukorvi
  • Tasuta tarne
  • Lisa soovinimekirja
  • Formaat: Paperback / softback, 496 pages, kõrgus x laius x paksus: 100x100x100 mm, kaal: 100 g
  • Ilmumisaeg: 28-Jun-2016
  • Kirjastus: Microsoft Press
  • ISBN-10: 1509301887
  • ISBN-13: 9781509301881
Teised raamatud teemal:
Build exceptionally scalable cloud applications for fast-growing businesses

Microsoft Azure Service Fabric makes it easier than ever before to build large-scale distributed cloud applications. You can quickly develop and update microservice-based applications, efficiently operate highly reliable hyperscale services, and deploy the same application code on public, hosted, or private clouds. This book introduces all key Azure Service Fabric concepts and walks you through implementing several real-world applications. Youll find advanced design patterns, tuning tips, and lessons learned from early adoptersall from the perspective of developing and operating large projects in production.

Microsoft Azure evangelist Haishi Bai shows how to:









Implement background services and use stateless services to handle user requests Solve state-management problems in distributed systems Package, stage, and deploy applications Upgrade applications in place, with zero downtime Leverage Quality of Service (QoS) options throughout app design, implementation, and operation Manage Service Fabric clusters with Windows PowerShell and the Management Portal Configure Service Fabric Diagnostics and analyze collected data Test functionality and performance Design Internet of Things (IoT) solutions that capture and manage petabytes of data Handle demanding real-time data-streaming compute scenarios Understand multitenancy and single-tenancy as logical architecture choices Build Service Fabric game engines to support large-scale, multiplayer online games Model complex systems with the Service Fabric Actors Pattern





About This Book

For all cloud developers who want to create and operate large-scale distributed cloud applications by using Microsoft Azure Service Fabric

For all IT professionals who want to integrate Windows Server and Microsoft Azure in any environment, including datacenters
Introduction xv
Part I Fundamentals
Chapter 1 Hello, Service Fabric!
3(26)
A modern PaaS
3(4)
Designed for agility
3(2)
Designed for QoS
5(1)
Separation of workload and infrastructure
6(1)
Service Fabric concepts
7(4)
Architecture
7(2)
Nodes and clusters
9(1)
Applications and services
10(1)
Partitions and replicas
10(1)
Programming modes
10(1)
Stateless vs. stateful
10(1)
Getting started
11(6)
Setting up a development environment
12(1)
Provisioning a Service Fabric cluster on Azure
12(5)
Hello, World
17(5)
Managing your local cluster
22(6)
Visual Studio Server Explorer
22(1)
Visual Studio Cloud Explorer
23(1)
Service Fabric Explorer
24(3)
Windows PowerShell
27(1)
Additional information
28(1)
Chapter 2 Stateless services
29(24)
Implement ASP.NET 5 applications
29(3)
Scalability and availability of a stateless service
32(1)
Availability
32(1)
Scalability
32(1)
Implement communication stacks
33(18)
Default communication stack
33(8)
WCF communication stack
41(2)
Custom communication stack
43(8)
Additional information
51(2)
Chapter 3 Stateful services
53(16)
Service Fabric state management
53(1)
Architecture of stateful services
53(3)
Reliable collections
54(1)
Reliable State Manager
54(1)
Transactional Replicator
55(1)
Logger
55(1)
Consistency
55(1)
The Simple Store application
56(9)
The shopping cart service
56(3)
The Simple Store client
59(2)
Service partition
61(1)
UniformInt64Partition
61(3)
NamedPartition
64(1)
Partitions and replicas
65(3)
Replica roles
65(2)
Scaling
67(1)
Additional information
68(1)
Chapter 4 Actor pattern
69(26)
Service Fabric Reliable Actors
70(2)
Actors
70(1)
Actor lifetime
70(1)
Actor states
71(1)
Actor communications
71(1)
Concurrency
71(1)
An actor-based tic-tac-toe game
72(7)
Actor models
72(1)
Create the application
73(1)
Define actor interfaces
73(1)
Implement the Game actor
74(2)
Implement the Player actor
76(1)
Implement the test client
76(2)
Test it
78(1)
Additional thoughts
78(1)
Timers, reminders, and events
79(3)
Actor timers
79(1)
Actor reminders
80(1)
Actor events
81(1)
Actor internals
82(12)
Actor diagnostics and performance monitoring
82(7)
Actors and Reliable Services
89(2)
Actor state providers
91(3)
Additional information
94(1)
Chapter 5 Service deployments and upgrades
95(22)
Service Fabric application deployment process
95(5)
Package
95(4)
Upload
99(1)
Register/provision
100(1)
Create/replace/upgrade
100(1)
Health model
100(4)
Health entities
101(1)
Health states
102(1)
Health policy
102(1)
Health reporting and aggregation
103(1)
Rolling upgrade
104(6)
Fault domains and update domains
104(1)
Upgrade process
105(2)
Upgrade modes and upgrade parameters
107(3)
Multiple environments
110(1)
Application parameters and parameter files
110(1)
Application publish profiles
110(1)
Using implicit hosts
111(6)
Defining implicit hosts
111(1)
RunAs policies
112(2)
Hosting a Node.js application
114(3)
Chapter 6 Availability and reliability
117(28)
Service availability and reliability
117(2)
A broken service
117(1)
Improving availability
118(1)
Improving reliability
118(1)
Service Fabric services availability
119(12)
Service placements
119(8)
Service failovers
127(1)
Routing and load balancing
128(1)
Advanced rolling upgrades
128(3)
Service Fabric services reliability
131(14)
Event Tracing for Windows
132(1)
Azure Diagnostics
133(4)
Chaos tests
137(5)
Service state backup and restore
142(3)
Chapter 7 Scalability and performance
145(22)
Scalability concepts
145(3)
Vertical scaling vs. horizontal scaling
145(1)
Scaling stateless services vs. scaling stateful services
146(1)
Homogeneous instances vs. heterogeneous instances
146(1)
Single-tenancy vs. multitenancy
147(1)
Manual scaling vs. autoscaling
148(1)
Scaling a Service Fabric cluster
148(6)
Manually scaling a Service Fabric cluster
149(1)
Autoscaling a Service Fabric cluster
149(4)
Scaling with Content Delivery Network
153(1)
Resolving bottlenecks
154(13)
State bottlenecks
155(4)
Communication bottlenecks
159(1)
Orchestration bottlenecks
160(7)
Part II Service Lifecycle Management
Chapter 8 Managing Service Fabric with Windows PowerShell
167(22)
Creating a secured Service Fabric cluster
167(5)
Protecting your cluster by using a certificate
167(4)
Client authentication using a certificate
171(1)
Publishing applications from Visual Studio
172(1)
Cluster management commands
172(12)
Queries
172(9)
Node operations
181(2)
Additional cluster management commands
183(1)
Application management commands
184(3)
Deploying an application
184(1)
Upgrading an application
185(1)
Rolling back an application
186(1)
Decommissioning an application
187(1)
Additional information
187(2)
Chapter 9 Managing Service Fabric with management portal
189(14)
Anatomy of a Service Fabric cluster
189(8)
Availability set
190(1)
Virtual machines and NICs
191(2)
Virtual network
193(1)
Load balancer
193(3)
Storage accounts
196(1)
Advanced Service Fabric cluster configuration
197(5)
Role-Based Access Control
197(2)
Network Security Groups
199(3)
Additional information
202(1)
Chapter 10 Diagnostics and monitoring
203(24)
Diagnostics
203(16)
Configuring Service Fabric Diagnostics
203(5)
Using Elasticsearch and Kibana
208(8)
Azure Operations Management Suite
216(3)
Monitoring
219(6)
Service Fabric Explorer
220(1)
Visual Studio Application Insights
221(4)
Additional information
225(2)
Chapter 11 Testing
227(26)
Software testability
227(3)
Controllability
228(1)
Observability
228(1)
Isolateability
229(1)
Clarity
230(1)
Writing basic test cases
230(2)
Setting up continuous integration
232(14)
Preparing the Visual Studio Team Services project
232(5)
Preparing the build machine
237(2)
Creating a build definition
239(3)
Running tests upon code check-ins
242(2)
Running load tests with VSTS
244(2)
Testability subsystem
246(4)
Testability actions
247(1)
Invoking testability actions using PowerShell
248(2)
Additional information
250(3)
Part III Patterns And Scenarios
Chapter 12 Web applications
253(22)
Azure PaaS ecosystem
253(7)
App Services
253(3)
Cloud Services
256(1)
Service Fabric
257(1)
Choosing PaaS platforms
258(1)
Azure Services for your web applications
259(1)
Scenarios and patterns
260(14)
E-commerce websites
260(4)
Mass-source websites
264(4)
Enterprise portals
268(6)
Additional information
274(1)
Chapter 13 Internet of Things
275(28)
Azure IoT solutions
275(4)
Data generation and feedback
276(1)
Command and control
276(1)
Data ingress
277(1)
Data transformation and analysis
277(1)
Storage
278(1)
Presentation and actions
278(1)
Scenarios and patterns
279(22)
Remote monitoring
279(20)
Other scenarios
299(2)
Additional information
301(2)
Chapter 14 Real-time data streaming
303(22)
Real-time data streaming on Azure
303(4)
Five Vs of big data
303(1)
Azure Stream Analytics
304(2)
Big data storages
306(1)
Scenarios and patterns
307(16)
A big data solution
308(9)
Responsive website with live data stream processing
317(6)
Additional information
323(2)
Chapter 15 Multitenancy and hosting
325(20)
Multitenancy on Azure
325(5)
Multitenancy vs. single tenancy
326(1)
Azure multitenant support
327(3)
Building multitenant systems with Service Fabric
330(9)
Pattern: Tenant Manager
331(1)
Pattern: Cross-tenant aggregation
332(1)
Pattern: Self-service
333(1)
Tenant by partitions
334(1)
Pattern: Metadata-driven system
335(4)
Hosting multitenant systems
339(6)
Hosting service processes
339(1)
Pattern: Throttling Actor
340(5)
Chapter 16 Multiplayer gaming
345(26)
Messy Chess
345(13)
Chessboard and game goal
346(1)
Challenges
347(1)
Game board
348(4)
Game pieces
352(3)
Players
355(2)
Game hosting
357(1)
A.I. Quests
358(13)
Game world
358(5)
Player interactions
363(8)
Part IV Advanced Topics
Chapter 17 Advanced service hosting
371(22)
A canonical PaaS platform
371(4)
Application package format
372(2)
Resource orchestration
374(1)
Application gallery
375(1)
Hosting guest applications
375(8)
High availability
376(1)
Health monitoring
376(1)
Application lifecycle management
376(1)
Density
377(1)
Hosting a simple guest application
377(6)
Container integration
383(6)
History of containers
383(2)
Service Fabric and containers
385(3)
Container types
388(1)
Deploy anywhere
389(4)
Deploy stand-alone clusters
389(1)
Deploy on Azure Stack
389(1)
Deploy on Amazon Web Services (AWS)
390(1)
Service Fabric standalone package
390(3)
Chapter 18 Modeling complex systems
393(34)
Adaptive complex systems
393(4)
Complex systems and complicated systems
394(1)
Emergence
394(2)
A simple model
396(1)
Modeling and computational modeling
396(1)
The termite model
397(7)
Set up the solution
397(1)
Implement the Box service
398(2)
Implement the termite actor
400(2)
Implement the test client
402(1)
Test and analysis
403(1)
Service Fabric for complex systems
404(5)
Distributed data structures
405(2)
Actor Swarms
407(2)
The spatial segregation model
409(9)
Set up the solution
409(1)
Implement shared array with proposal supports
409(3)
Implement the virtual actor
412(2)
Implement the Actor Swarm
414(2)
Implement the test client
416(1)
Test the model
417(1)
Future works
418
Part V Appendices
Appendix A Service Fabric subsystems and system services
427
Appendix B Using Microsoft Azure PowerShell commands
425(8)
Appendix C Microsoft and containers
433(8)
Appendix D Pattern index
441(4)
Index 445
HAISHI BAI, senior technical evangelist at Microsoft, focuses on the Microsoft Azure compute platform, including IaaS,PaaS, networking, and scalable computing services.

Ever since he wrote his first program on an Apple II when he was 12, Haishi has been a passionate programmer and he later became a professional software engineer and architect. During his 19 years of professional life, hes faced various technical challenges and a broad range of project types that have given him rich experiences in designing innovative solutions to solve difficult problems.

Haishi is the author of a few cloud computing books. Hes the co-host of Microsofts Cloud Cover show (https://channel9.msdn.com/shows/Cloud+Cover/). He also runs a technical blog (http://blog.haishibai.com) with millions of viewers. His twitter handle is @HaishiBai2010.