• Complain

Norman Maurer - Netty in Action

Here you can read online Norman Maurer - Netty in Action full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2015, publisher: Manning Publications, genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Norman Maurer Netty in Action

Netty in Action: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Netty in Action" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Summary

Netty in Action introduces the Netty framework and shows you how to incorporate it into your Java network applications. Youll learn to write highly scalable applications without the need to dive into the low-level non-blocking APIs at the core of Java.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Netty is a Java-based networking framework that manages complex networking, multithreading, and concurrency for your applications. And Netty hides the boilerplate and low-level code, keeping your business logic separate and easier to reuse. With Netty, you get an easy-to-use API, leaving you free to focus on whats unique to your application.

About the Book

Netty in Action introduces the Netty framework and shows you how to incorporate it into your Java network applications. You will discover how to write highly scalable applications without getting into low-level APIs. The book teaches you to think in an asynchronous way as you work through its many hands-on examples and helps you master the best practices of building large-scale network apps.

Whats Inside

  • Netty from the ground up
  • Asynchronous, event-driven programming
  • Implementing services using different protocols
  • Covers Netty 4.x

About the Reader

This book assumes readers are comfortable with Java and basic network architecture.

About the Authors

Norman Maurer is a senior software engineer at Apple and a core developer of Netty. Marvin Wolfthal is a Dell Services consultant who has implemented mission-critical enterprise systems using Netty.

Table of Contents

    PART 1 NETTY CONCEPTS AND ARCHITECTURE
  1. Netty-asynchronous and event-driven
  2. Your first Netty application
  3. Netty components and design
  4. Transports
  5. ByteBuf
  6. ChannelHandler and ChannelPipeline
  7. EventLoop and threading model
  8. Bootstrapping
  9. Unit testing
  10. PART 2 CODECS
  11. The codec framework
  12. Provided ChannelHandlers and codecs
  13. PART 3 NETWORK PROTOCOLS
  14. WebSocket
  15. Broadcasting events with UDP
  16. PART 4 CASE STUDIES
  17. Case studies, part 1
  18. Case studies, part 2

Norman Maurer: author's other books


Who wrote Netty in Action? Find out the surname, the name of the author of the book and a list of all author's works by series.

Netty in Action — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Netty in Action" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Netty in Action
Norman Maurer and Marvin Allen Wolfthal

Netty in Action - image 1

Copyright

For online information and ordering of this and other Manning books, please visit www.manning.com. The publisher offers discounts on this book when ordered in quantity. For more information, please contact

Special Sales Department Manning Publications Co. 20 Baldwin Road PO Box 761 Shelter Island, NY 11964 Email: orders@manning.com

2016 by Manning Publications Co. All rights reserved.

No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by means electronic, mechanical, photocopying, or otherwise, without prior written permission of the publisher.

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in the book, and Manning Publications was aware of a trademark claim, the designations have been printed in initial caps or all caps.

Picture 2 Recognizing the importance of preserving what has been written, it is Mannings policy to have the books we publish printed on acid-free paper, and we exert our best efforts to that end. Recognizing also our responsibility to conserve the resources of our planet, Manning books are printed on paper that is at least 15 percent recycled and processed without the use of elemental chlorine.

Picture 3Manning Publications Co.20 Baldwin RoadPO Box 761Shelter Island, NY 11964Development editors: Jeff Bleiel, Jennifer StoutTechnical development editor: Mark ElstonCopyeditor: Andy CarrollProofreader: Elizabeth MartinTechnical proofreaders: David Dossot, Neil RutherfordTypesetter: Dennis DalinnikCover designer: Marija Tudor

ISBN: 9781617291470

Printed in the United States of America

1 2 3 4 5 6 7 8 9 10 EBM 20 19 18 17 16 15

Brief Table of Contents
Table of Contents
Foreword

There was a day when people believed that web application servers would let us forget about how we write HTTP or RPC servers. Unfortunately, this daydream did not last long. The amount of load and the pace of the functional changes we are dealing with continue to increase beyond the extent that a traditional three-tier architecture can afford, and we are being forced to split our application into many pieces and distribute them into a large cluster of machines.

Running such a large distributed system leads to two interesting problemsthe cost of operation and latency. How many machines could we save if we improved the performance of a single node by 30%, or by more than 100%? How could we achieve minimal latency when a query from a web browser triggers dozens of internal remote procedure calls across many different machines?

In Netty in Action, the first-ever book about the Netty project, Norman Maurer, one of the key contributors to Netty, gives you the definitive answers to such questions by showing you how to build a high-performance and low-latency network application in Netty. By the time you get to the end of this book, youll be able to build every imaginable network application, from a lightweight HTTP server to a highly customized RPC server.

Whats impressive about Netty in Action is not only that it is written by the key contributor who knows every single bit of Netty, but that it also contains case studies from several companiesTwitter, Facebook, and Firebase to name a fewthat use Netty in their production systems. Im confident that these case studies will inspire you by showing you how the companies that use them were able to unleash the power of their Netty-based applications.

You might be astonished to learn that Netty started as my personal project back in 2001 when I was an undergraduate student (http://t.motd.kr/ko/archives/1930), and that the project is still alive and kicking today, thanks to enthusiastic contributors like Norman, who spent many sleepless nights devoted to the project, (http://netty.io/community.html). I hope this book opens up another aspect of the project by inspiring its readers to contribute and continue to open the future of network programming.

T RUSTIN L EE

F OUNDER OF N ETTY

Preface

Looking back, I still cant believe that I did it.

When I started to contribute to Netty in late 2011, I would never have imagined that Id be writing a book about Netty and be one of the core developers of the Framework itself.

It all started when I got involved in 2009 with the Apache James project, a Java-based mail server developed under the Apache Software Foundation.

Apache James, like many applications, required a solid networking abstraction to build upon. While investigating the field of projects that provide networking abstractions, I stumbled upon Netty and immediately fell in love with it. As I became more familiar with Netty from a users perspective, I started to turn my gaze on improvements and giving back to the community.

Despite my first contributions being of limited scope, it became obvious very quickly how beneficial making contributions and the related discussions with the community, especially with Trustin Lee, the founder of the project, were to my personal growth. This experience grabbed hold of me, and I enjoyed spending my free time becoming more engaged in the community. I found myself helping on mailing lists and joining discussions on the IRC channel. Working on Netty began as a hobby but it quickly evolved into a passion.

My passion for Netty eventually led to my employment at Red Hat. This was a dream come true, as Red Hat paid me to work on the project I had come to love. I eventually came to know Claus Ibsen who was working on Apache Camel at the time (and still does). Claus and I came to the realization that Netty had a solid user base and good JavaDocs, but it lacked a higher level of documentation. Claus is the author of Camel in Action (Manning Publications, 2010), and he turned me on to the idea of writing a similar book for Netty. I thought about the idea for a few weeks, and eventually I was sold. This is how Netty in Action got off the ground.

While writing Netty in Action, my involvement in the community continued to grow. I eventually became the second most active contributor (after Trustin Lee) with over 1,000 commits. I found myself speaking about Netty at conferences and technical meetups around the world. Eventually Netty opened another employment opportunity at Apple Inc. where I am currently employed as a Senior Software Engineer on the Cloud Infrastructure Engineering Team. I continue to work on Netty and make regular contributions back to the community, while helping to drive the project.

N ORMAN M AURER

C LOUD I NFRASTRUCTURE E NGINEERING , A PPLE

My work as a Dell Services consultant at Harvard Pilgrim Health Care in Wellesley, MA, has focused primarily on creating reusable infrastructure components. Our goal is to expand the common code base in a way that not only benefits the software process in general, but also relieves application developers of responsibility for plumbing code that can be both pesky and mundane.

At one point it came to my attention that two related projects were working with a third-party claims-processing system that supported only direct TCP/IP communications. One of the projects needed to reimplement in Java a somewhat under-documented legacy COBOL module built on the vendors proprietary delimited format. This module was ultimately replaced by the other project, which would use a more recent XML-based interface to the same claims system (but still using straight sockets, no SOAP!).

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Netty in Action»

Look at similar books to Netty in Action. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Netty in Action»

Discussion, reviews of the book Netty in Action and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.