Minggu, 02 Januari 2011

[D173.Ebook] PDF Download Effective Akka, by Jamie Allen

PDF Download Effective Akka, by Jamie Allen

New upgraded! The Effective Akka, By Jamie Allen from the best author as well as publisher is now readily available here. This is the book Effective Akka, By Jamie Allen that will make your day checking out becomes finished. When you are looking for the published book Effective Akka, By Jamie Allen of this title in the book shop, you may not locate it. The troubles can be the restricted versions Effective Akka, By Jamie Allen that are given in the book store.

Effective Akka, by Jamie Allen

Effective Akka, by Jamie Allen



Effective Akka, by Jamie Allen

PDF Download Effective Akka, by Jamie Allen

Use the advanced innovation that human establishes today to locate the book Effective Akka, By Jamie Allen effortlessly. Yet initially, we will certainly ask you, just how much do you love to read a book Effective Akka, By Jamie Allen Does it always until finish? For what does that book check out? Well, if you truly like reading, aim to read the Effective Akka, By Jamie Allen as one of your reading collection. If you only read guide based on demand at the time as well as unfinished, you have to aim to such as reading Effective Akka, By Jamie Allen initially.

This letter could not affect you to be smarter, but the book Effective Akka, By Jamie Allen that we offer will certainly stimulate you to be smarter. Yeah, a minimum of you'll know greater than others which don't. This is just what called as the high quality life improvisation. Why ought to this Effective Akka, By Jamie Allen It's considering that this is your favourite style to review. If you similar to this Effective Akka, By Jamie Allen motif around, why do not you review the book Effective Akka, By Jamie Allen to improve your discussion?

The presented book Effective Akka, By Jamie Allen we provide here is not kind of usual book. You know, reading currently doesn't suggest to manage the published book Effective Akka, By Jamie Allen in your hand. You could obtain the soft documents of Effective Akka, By Jamie Allen in your device. Well, we mean that guide that we proffer is the soft data of the book Effective Akka, By Jamie Allen The material and all things are very same. The distinction is just the types of the book Effective Akka, By Jamie Allen, whereas, this condition will exactly pay.

We share you additionally the means to obtain this book Effective Akka, By Jamie Allen without visiting guide shop. You could continue to see the link that we provide and also all set to download Effective Akka, By Jamie Allen When many people are hectic to seek fro in guide store, you are extremely easy to download the Effective Akka, By Jamie Allen here. So, what else you will go with? Take the motivation right here! It is not only offering the ideal book Effective Akka, By Jamie Allen however additionally the right book collections. Here we consistently provide you the best and also simplest way.

Effective Akka, by 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

  • Sales Rank: #353605 in eBooks
  • Published on: 2013-08-15
  • Released on: 2013-08-15
  • Format: Kindle eBook

Amazon.com 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?

  • 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.
  • Keep your code simple. Make more atomic methods and functions that do only one thing, and combine them to accomplish your goals.
  • 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.
  • 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.
  • 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.
  • About the Author

    Jamie Allen is the Director of Consulting for Typesafe, the company that makes the Scala programming language, the Akka toolkit and Play Framework. Jamie has been building actor-based systems with Scala since 2009. Jamie lives in the San Francisco Bay Area with his wife, Yeon, and three children.

    Most helpful customer reviews

    12 of 12 people found the following review helpful.
    Its an intro booklet.
    By Ryan Ripken
    This is more of a booklet than a book. Great starter material if you don't have access to the web and you are considering Akka. This book needed additional examples and more material and depth. The writing is clear and concise. The author offers a few tips that really should have been expanded into examples (logging, jmx, metrics). Most of the material feels like a rehash of the Akka documentation. The engraving on the cover is cool.

    9 of 10 people found the following review helpful.
    Good, but not comprehensive
    By Krzysztof Ropiak
    This short book, written by Jamie Allen, contains number of advises for Akka developers. I believe that you should be already familiar with Akka framework before reading the book, because the author assumes that you already know how to use at least the basic features of the framework.

    First chapter of the book discusses the approaches to designing actor based applications. It's hard not to agree with the author about the presented ideas, but I think it's something that most Akka developers already know.

    Effective Akka's second chapter presents two quite small patterns used in real world applications. I liked the first one, but the second one I consider a tip instead of "pattern" - like Jamie called it. Application of the pattern are presented with unit-tested source code, which is definitely a plus.

    Third chapter (the last one!) presents general advises when using Akka, but I feel developers should be familiar with them already as these advises are not much different that general programming / designing rules. The only difference is that here Allen show how they are relevant to building actor based application. You will also find here ideas for creating systems with resilience and high-performance.

    In conclusion, I'd like to say that the book seems nice to me. On the other hand, as Akka developer, I'd love to read a book that would push me on two levels higher in building actor systems, and this book left me a little bit disappointed in that regard.

    7 of 8 people found the following review helpful.
    its good, its short, it has its perils and its very advanced
    By Tomer Ben David
    I found the general concurrency best practices in this book very useful, they are general enough to include not just actor practices but includes them. Example how to avoid code which is dependant on time, why STM is goof but still not a magic bullet solving all your problems, where to beware when using it etc.

    Its mentioned in the book its for advanced and that's true. You should already feel very comfort with actors, Scala, multithrrading , futures, high scale programming. If you are then this book clarifies a few items. If not you can also learn from it but it will require effort. Personally I do learn from it I like it. I only wish it would be longer more comprehensive. Bottom line it fills a gap so its a good read. Most books avoid the difficult questions this book tries to answer that's exactly why I like it.

    See all 15 customer reviews...

    Effective Akka, by Jamie Allen PDF
    Effective Akka, by Jamie Allen EPub
    Effective Akka, by Jamie Allen Doc
    Effective Akka, by Jamie Allen iBooks
    Effective Akka, by Jamie Allen rtf
    Effective Akka, by Jamie Allen Mobipocket
    Effective Akka, by Jamie Allen Kindle

    Effective Akka, by Jamie Allen PDF

    Effective Akka, by Jamie Allen PDF

    Effective Akka, by Jamie Allen PDF
    Effective Akka, by Jamie Allen PDF

    Tidak ada komentar:

    Posting Komentar