Effective Akka: Patterns and Best Practices

Note moyenne 3,65
( 86 avis fournis par Goodreads )
 
9781449360078: Effective Akka: Patterns and Best Practices

Avoid common mistakes when building distributed, asynchronous, high-performance software with the Akka toolkit and runtime. With this concise guide, author Jamie Allen provides a collection of best practices based on several years of using the actor model. The book also includes examples of actor application types and two primary patterns of actor usage, the Extra Pattern and Cameo Pattern.

Allen, the Director of Consulting for Typesafe—creator of Akka and the Scala programming language—examines actors with a banking-service use case throughout the book, using examples shown in Akka and Scala. If you have any experience with Akka, this guide is essential.

  • Delve into domain-driven and work-distribution actor applications
  • Understand why it’s important to have actors do only one job
  • Avoid thread blocking by allowing logic to be delegated to a Future
  • Model interactions as simply as possible to avoid premature optimization
  • Create well-defined interactions, and know exactly what failures can occur
  • Learn why you should never treat actors as you would an ordinary class
  • Keep track of what goes on in production by monitoring everything
  • Tune Akka applications with the Typesafe Console

Les informations fournies dans la section « Synopsis » peuvent faire référence à une autre édition de ce titre.

Review :

Q&A with Jamie Allen, author of "Effective Akka: Patterns and Best Practices"

Q. Why is this an important book for people to read now

A. The advent of the many-core platform means that developers have more processing resources in the form of "cores" at their disposal than ever before. Traditional programming constructs do not allow developers to leverage these cores. As computers add more and more cores with each new platform released by hardware manufacturers, developers will need to find ways to maximize the utilization of these resources. Akka provides a platform for doing just that, and allowing your application to scale up and out as more resources become available.

Q. What will readers walk away with after reading "Effective Akka?"

A. After reading "Effective Akka," readers should have a firm grasp of the kinds of coding issues they may encounter when developing with actors, regardless of whether they're using Scala/Akka or Erlang. Many of the concepts are relevant to developers who are writing asynchronous code without actors as well. Effective Akka provides guidance with respect to coding style and best practices so that developers are able to avoid common pitfalls.

Q. What's so exciting and important about patterns and best prices?

A. The move to "reactive" solutions. Developers can perform much more work nowadays by using asynchrony-- not wasting threads that spawn blocking operations, instead defining work that can be applied automatically when such work is completed. Many technologies are emerging in this space, such as ReactiveJava, Node.js, Go, Clojure's core.async and Scala's futures, actors and async support. Never before have developers had so many useful tools at their disposal to write applications that are interactive, low-latency, fault tolerant, and scalable. Every language and platform is looking to provide a solution in this space.

Q. Can you give us a few tips when building high-performance software with Akka?

  1. Be very careful about closing over state from outside of a code block. Capture and stabilize such state by placing it into local values so that you know you will have an unchanged value at the time you actually need it.
  2. Keep your code simple. Make more atomic methods and functions that do only one thing, and combine them to accomplish your goals.
  3. Never reference the keyword "this" from inside an actor. Don't use it and don't register it elsewhere. Pretend the concept does not exist, where possible. Learn to think in terms of "ActorRef" and use them at all times, even when communicating with yourself.
  4. Create failure zones in your application by assigning thread pool resources to specific groups of actors. This way, if one actor is monopolizing a thread with a computationally-intense activity, only a limited subset of other actors are affected by not having that resource available to them.
  5. Avoid blocking as much as possible. Always write code to be asynchronous unless there is a specific block of code where blocking must occur. Put any such blocking tasks on their own threads, or use Scala's Managed Blocking to keep other resources from being starved of a thread.

Book Description :

Patterns and Best Practices

Les informations fournies dans la section « A propos du livre » peuvent faire référence à une autre édition de ce titre.

Meilleurs résultats de recherche sur AbeBooks

1.

Jamie Allen
Edité par O Reilly Media, Inc, USA, United States (2013)
ISBN 10 : 1449360076 ISBN 13 : 9781449360078
Neuf(s) Paperback Quantité : 10
Vendeur
The Book Depository
(London, Royaume-Uni)
Evaluation vendeur
[?]

Description du livre O Reilly Media, Inc, USA, United States, 2013. Paperback. État : New. Language: English . Brand New Book. Avoid common mistakes when building distributed, asynchronous, high-performance software with the Akka toolkit and runtime. With this concise guide, author Jamie Allen provides a collection of best practices based on several years of using the actor model. The book also includes examples of actor application types and two primary patterns of actor usage, the Extra Pattern and Cameo Pattern. Allen, the Director of Consulting for Typesafe - creator of Akka and the Scala programming language - examines actors with a banking-service use case throughout the book, using examples shown in Akka and Scala. If you have any experience with Akka, this guide is essential.Delve into domain-driven and work-distribution actor applications Understand why it s important to have actors do only one job Avoid thread blocking by allowing logic to be delegated to a Future Model interactions as simply as possible to avoid premature optimization Create well-defined interactions, and know exactly what failures can occur Learn why you should never treat actors as you would an ordinary class Keep track of what goes on in production by monitoring everything Tune Akka applications with the Typesafe Console. N° de réf. du libraire AAH9781449360078

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 9,08
Autre devise

Ajouter au panier

Frais de port : Gratuit
De Royaume-Uni vers Etats-Unis
Destinations, frais et délais

2.

Allen, Jamie
Edité par O'Reilly Media
ISBN 10 : 1449360076 ISBN 13 : 9781449360078
Neuf(s) PAPERBACK Quantité : > 20
Vendeur
Mediaoutlet12345
(Springfield, VA, Etats-Unis)
Evaluation vendeur
[?]

Description du livre O'Reilly Media. PAPERBACK. État : New. 1449360076 *BRAND NEW* Ships Same Day or Next!. N° de réf. du libraire SWATI2122334230

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 7,82
Autre devise

Ajouter au panier

Frais de port : EUR 3,42
Vers Etats-Unis
Destinations, frais et délais

3.

Jamie Allen
Edité par O Reilly Media, Inc, USA, United States (2013)
ISBN 10 : 1449360076 ISBN 13 : 9781449360078
Neuf(s) Paperback Quantité : 10
Vendeur
The Book Depository US
(London, Royaume-Uni)
Evaluation vendeur
[?]

Description du livre O Reilly Media, Inc, USA, United States, 2013. Paperback. État : New. Language: English . Brand New Book. Avoid common mistakes when building distributed, asynchronous, high-performance software with the Akka toolkit and runtime. With this concise guide, author Jamie Allen provides a collection of best practices based on several years of using the actor model. The book also includes examples of actor application types and two primary patterns of actor usage, the Extra Pattern and Cameo Pattern. Allen, the Director of Consulting for Typesafe - creator of Akka and the Scala programming language - examines actors with a banking-service use case throughout the book, using examples shown in Akka and Scala. If you have any experience with Akka, this guide is essential.Delve into domain-driven and work-distribution actor applications Understand why it s important to have actors do only one job Avoid thread blocking by allowing logic to be delegated to a Future Model interactions as simply as possible to avoid premature optimization Create well-defined interactions, and know exactly what failures can occur Learn why you should never treat actors as you would an ordinary class Keep track of what goes on in production by monitoring everything Tune Akka applications with the Typesafe Console. N° de réf. du libraire AAH9781449360078

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 11,33
Autre devise

Ajouter au panier

Frais de port : Gratuit
De Royaume-Uni vers Etats-Unis
Destinations, frais et délais

4.

Jamie Allen
Edité par O'Reilly Media 2013-09-02 (2013)
ISBN 10 : 1449360076 ISBN 13 : 9781449360078
Neuf(s) Paperback Quantité : 4
Vendeur
Chiron Media
(Wallingford, Royaume-Uni)
Evaluation vendeur
[?]

Description du livre O'Reilly Media 2013-09-02, 2013. Paperback. État : New. N° de réf. du libraire NU-GRD-05296296

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 9,07
Autre devise

Ajouter au panier

Frais de port : EUR 3,33
De Royaume-Uni vers Etats-Unis
Destinations, frais et délais

5.

Allen, Jamie
ISBN 10 : 1449360076 ISBN 13 : 9781449360078
Neuf(s) Paperback Quantité : > 20
impression à la demande
Vendeur
BargainBookStores
(Grand Rapids, MI, Etats-Unis)
Evaluation vendeur
[?]

Description du livre Paperback. État : New. This item is printed on demand. Item doesn't include CD/DVD. N° de réf. du libraire 6789791

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 9,01
Autre devise

Ajouter au panier

Frais de port : EUR 3,42
Vers Etats-Unis
Destinations, frais et délais

6.

Jamie Allen
Edité par O'Reilly Media (2013)
ISBN 10 : 1449360076 ISBN 13 : 9781449360078
Neuf(s) Paperback Quantité : 7
Vendeur
The Monster Bookshop
(Fleckney, Royaume-Uni)
Evaluation vendeur
[?]

Description du livre O'Reilly Media, 2013. Paperback. État : New. BRAND NEW ** SUPER FAST SHIPPING FROM UK WAREHOUSE ** 30 DAY MONEY BACK GUARANTEE. N° de réf. du libraire mon0001562263

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 11,45
Autre devise

Ajouter au panier

Frais de port : EUR 1,06
De Royaume-Uni vers Etats-Unis
Destinations, frais et délais

7.

Allen, Jamie
ISBN 10 : 1449360076 ISBN 13 : 9781449360078
Neuf(s) Quantité : 1
Vendeur
Paperbackshop-US
(Wood Dale, IL, Etats-Unis)
Evaluation vendeur
[?]

Description du livre 2013. PAP. État : New. New Book. Shipped from US within 10 to 14 business days. Established seller since 2000. N° de réf. du libraire KS-9781449360078

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 9,26
Autre devise

Ajouter au panier

Frais de port : EUR 3,42
Vers Etats-Unis
Destinations, frais et délais

8.

Jamie Allen
ISBN 10 : 1449360076 ISBN 13 : 9781449360078
Neuf(s) Quantité : 4
Vendeur
BWB
(Valley Stream, NY, Etats-Unis)
Evaluation vendeur
[?]

Description du livre État : New. Depending on your location, this item may ship from the US or UK. N° de réf. du libraire 97814493600780000000

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 12,83
Autre devise

Ajouter au panier

Frais de port : Gratuit
Vers Etats-Unis
Destinations, frais et délais

9.

Jamie Allen
Edité par O'Reilly Media 2013-09-03, Beijing (2013)
ISBN 10 : 1449360076 ISBN 13 : 9781449360078
Neuf(s) paperback Quantité : > 20
Vendeur
Blackwell's
(Oxford, OX, Royaume-Uni)
Evaluation vendeur
[?]

Description du livre O'Reilly Media 2013-09-03, Beijing, 2013. paperback. État : New. N° de réf. du libraire 9781449360078

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 10,31
Autre devise

Ajouter au panier

Frais de port : EUR 3,34
De Royaume-Uni vers Etats-Unis
Destinations, frais et délais

10.

Jamie Allen
Edité par O'Reilly Media, Inc, USA
ISBN 10 : 1449360076 ISBN 13 : 9781449360078
Neuf(s) Paperback Quantité : 8
Vendeur
THE SAINT BOOKSTORE
(Southport, Royaume-Uni)
Evaluation vendeur
[?]

Description du livre O'Reilly Media, Inc, USA. Paperback. État : new. BRAND NEW, Effective Akka, Jamie Allen, Avoid common mistakes when building distributed, asynchronous, high-performance software with the Akka toolkit and runtime. With this concise guide, author Jamie Allen provides a collection of best practices based on several years of using the actor model. The book also includes examples of actor application types and two primary patterns of actor usage, the Extra Pattern and Cameo Pattern. Allen, the Director of Consulting for Typesafe - creator of Akka and the Scala programming language - examines actors with a banking-service use case throughout the book, using examples shown in Akka and Scala. If you have any experience with Akka, this guide is essential. Delve into domain-driven and work-distribution actor applications Understand why it's important to have actors do only one job Avoid thread blocking by allowing logic to be delegated to a Future Model interactions as simply as possible to avoid premature optimization Create well-defined interactions, and know exactly what failures can occur Learn why you should never treat actors as you would an ordinary class Keep track of what goes on in production by monitoring everything Tune Akka applications with the Typesafe Console. N° de réf. du libraire B9781449360078

Plus d'informations sur ce vendeur | Poser une question au libraire

Acheter neuf
EUR 6,43
Autre devise

Ajouter au panier

Frais de port : EUR 7,74
De Royaume-Uni vers Etats-Unis
Destinations, frais et délais

autres exemplaires de ce livre sont disponibles

Afficher tous les résultats pour ce livre