• Complain

Pieter Hintjens - ZeroMQ: Messaging for Many Applications

Here you can read online Pieter Hintjens - ZeroMQ: Messaging for Many Applications full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2013, publisher: OReilly Media, genre: Romance novel. 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.

Pieter Hintjens ZeroMQ: Messaging for Many Applications
  • Book:
    ZeroMQ: Messaging for Many Applications
  • Author:
  • Publisher:
    OReilly Media
  • Genre:
  • Year:
    2013
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

ZeroMQ: Messaging for Many Applications: summary, description and annotation

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

Dive into MQ (aka ZeroMQ), the smart socket library that gives you fast, easy, message-based concurrency for your applications. With this quick-paced guide, youll learn hands-on how to use this scalable, lightweight, and highly flexible networking tool for exchanging messages among clusters, the cloud, and other multi-system environments.MQ maintainer Pieter Hintjens takes you on a tour of real-world applications, using extended examples in C to help you work with MQs API, sockets, and patterns. Learn how to use specific MQ programming techniques, build multithreaded applications, and create your own messaging architectures. Youll discover how MQ works with several programming languages and most operating systemswith little or no cost.Learn MQs main patterns: request-reply, publish-subscribe, and pipeline Work with MQ sockets and patterns by building several small applications Explore advanced uses of MQs request-reply pattern through working examples Build reliable request-reply patterns that keep working when code or hardware fails Extend MQs core pub-sub patterns for performance, reliability, state distribution, and monitoring Learn techniques for building a distributed architecture with MQ Discover whats required to build a general-purpose framework for distributed applications

Pieter Hintjens: author's other books


Who wrote ZeroMQ: Messaging for Many Applications? Find out the surname, the name of the author of the book and a list of all author's works by series.

ZeroMQ: Messaging for Many Applications — 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 "ZeroMQ: Messaging for Many Applications" 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
ZeroMQ
Pieter Hintjens
Beijing Cambridge Farnham Kln Sebastopol Tokyo Download from Wow eBook To - photo 1

Beijing Cambridge Farnham Kln Sebastopol Tokyo
Download from Wow! eBook

To Nomie, Freeman, and Gregor.

Special Upgrade Offer

If you purchased this ebook directly from oreilly.com, you have the following benefits:

  • DRM-free ebooksuse your ebooks across devices without restrictions or limitations

  • Multiple formatsuse on your laptop, tablet, or phone

  • Lifetime access, with free updates

  • Dropbox syncingyour files, anywhere

If you purchased this ebook from another retailer, you can upgrade your ebook to take advantage of all these benefits for just $4.99. to access your ebook upgrade.

Please note that upgrade offers are not available from sample content.

Preface
MQ in a Hundred Words

MQ (also known as ZeroMQ, 0MQ, or zmq) looks like an embeddable networking library, but acts like a concurrency framework. It gives you sockets that carry atomic messages across various transports, like in-process, inter-process, TCP, and multicast. You can connect sockets N-to-N with patterns like fan-out, pub-sub, task distribution, and request-reply. Its fast enough to be the fabric for clustered products. Its asynchronous I/O model gives you scalable multicore applications, built as asynchronous message-processing tasks. It has a score of language APIs and runs on most operating systems. MQ is from iMatix and is LGPLv3 open source.

The Zen of Zero

The in MQ is all about trade-offs. On the one hand, this strange name lowers MQs visibility on Google and Twitter. On the other hand, it annoys the heck out of some Danish folk who write us things like MG rtfl, and is not a funny-looking zero! and Rdgrd med Flde! (which is apparently an insult that means May your neighbours be the direct descendants of Grendel!). Seems like a fair trade.

Originally, the zero in MQ was meant to signify zero broker and (as close to) zero latency (as possible). Since then, it has come to encompass different goals: zero administration, zero cost, zero waste. More generally, zero refers to the culture of minimalism that permeates the project. We add power by removing complexity rather than by exposing new functionality.

How This Book Came to Be

In the summer of 2010, MQ was still a little-known niche library described by its rather terse reference manual and a living but sparse wiki. Martin Sustrik and I were sitting in the bar of the Hotel Kyjev in Bratislava plotting how to make MQ more widely popular. Martin had written most of the MQ code, and Id put up the funding and organized the community. Over some Zlat Baant, we agreed that MQ needed a new, simpler website and a basic guide for new users.

Martin collected some ideas for topics to explain. Id never written a line of MQ code before this, so it became a live learning documentary. As I worked through simple examples to more complex ones, I tried to answer many of the questions Id seen on the mailing list. Because Id been building large-scale architectures for 30 years, there were a lot of problems I was keen to throw MQ at. Amazingly, the results were mostly simple and elegant, even when working in C. I felt a pure joy learning MQ and using it to solve real problems, which brought me back to programming after a few years pause. And often, not knowing how it was supposed to be done, we improved MQ as we went along.

From the start, I wanted the guide to be a community project, so I put it onto GitHub and let others contribute with pull requests. This was considered a radical, even vulgar approach by some. We came to a division of labor: Id do the writing and make the original C examples, and others would help fix the text and translate the examples into other languages.

This worked better than I dared hope. You can now find all the examples in several languages, and many in a dozen languages. Its a kind of programming language Rosetta Stone, and a valuable outcome in itself. We set up a high score: reach 80% translation and your language gets its own guide. PHP, Python, Lua, and Haxe reached this goal. People asked for PDFs, and we created those. People asked for ebooks, and got those. About a hundred people have contributed to the guide to date.

The guide achieved its goal of popularizing MQ. The style pleases most and annoys some, which is how it should be. In December 2010, my work on MQ and the guide stopped, as I found myself going through late-stage cancer, heavy surgery, and six months of chemotherapy. When I picked up work again in mid-2011, it was to start using MQ in anger for one of the largest use-cases imagineable: on the mobile phones and tablets of the worlds biggest electronics company.

But the goal of the guide was, from the start, a printed book. So it was exciting to get an email from Bill Lubanovic in January 2012, introducing me to his editor, Andy Oram, at OReilly, suggesting a MQ book. Of course! I said. Where do I sign? How much do I have to pay? Oh, I get money for this? All I have to do is finish it?

Of course, as soon as OReilly announced a MQ book, other publishers started sending out emails to potential authors. Youll probably see a rash of MQ books coming out next year. Thats good. Our niche library has hit the mainstream and deserves its six inches of shelf space. My apologies to the other MQ authors. Weve set the bar horribly high, and my advice is to make your books complementary. Perhaps focus on a specific language, platform, or pattern.

This is the magic and power of communities: be the first community in a space, stay healthy, and you own that space for ever.

Audience

This book is written for professional programmers who want to learn how to make the massively distributed software that will dominate the future of computing. We assume you can read C code, because most of the examples here are in C (even though MQ is used in many languages). We assume you care about scale, because MQ solves that problem above all others. We assume you need the best possible results with the least possible cost, because otherwise you wont appreciate the trade-offs that MQ makes. Other than that basic background, we try to present all the concepts in networking and distributed computing you will need to use MQ.

Conventions Used in This Book

We used the following typographical conventions in this book:

Italic

Indicates new terms, commands and command-line options, URLs, email addresses, filenames, and file extensions.

Constant width

Used for program listings, as well as within paragraphs to refer to program elements such as variable or function names, data types, and environment variables.

Constant width bold

Shows user input at the command line.

Constant width italic

Shows placeholder user input that you should replace with something that makes sense for you.

Tip

This icon signifies a tip, suggestion, or general note.

Using the Code Examples

The code examples are all online in the repository at https://github.com/imatix/zguide/tree/master/examples/. Youll find each example translated into severaloften a dozenother languages. The examples are licensed under MIT/X11; see the LICENSE file in that directory. The text of the book explains in each case how to run each example.

We appreciate, but do not require, attribution. An attribution usually includes the title, author, publisher, and ISBN. For example:

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «ZeroMQ: Messaging for Many Applications»

Look at similar books to ZeroMQ: Messaging for Many Applications. 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 «ZeroMQ: Messaging for Many Applications»

Discussion, reviews of the book ZeroMQ: Messaging for Many Applications 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.