Debian Codegraph @

vignettes/pbdZMQ-include/01-introduction.tex

raw
1
2 {\color{red} \bf Warning:}
3 This document is written to explain the main functions of
4 \pkg{pbdZMQ}~\citep{Chen2015}, version 0.1-0. Every effort will be made to
5 ensure future versions are consistent with these instructions, but features in
6 later versions may not be explained in this document.
7
8 Information about the functionality of this package,
9 and any changes in future versions can be found on website:
10 ``Programming with Big Data in R'' at
11 \url{https://pbdr.org/}~\citep{pbdR2012}.
12
13
14
15
16 \section[Introduction]{Introduction}
17 \label{sec:introduction}
18 \addcontentsline{toc}{section}{\thesection. Introduction}
19
20
21 ZeroMQ (0MQ)~\citep{hintjens2013zeromq}\footnote{Available at
22 \url{https://www.zeromq.org/}} is a library for high-performance
23 asynchronous messaging in scalable distributed applications. It provides
24 APIs in several messaging patterns that, enabling developers a standardized
25 way to form connections between different devices, including laptop computers,
26 mobile devices, servers, clusters, and supercomputers. The APIs also simplify
27 the complex calls to sockets and reduce the burden for developers of handling
28 low-level network communications. Several popular programming languages
29 provide bindings to these APIs.
30
31 In \pkg{pbdZMQ}, those ZeroMQ APIs are carefully wrapped in \proglang{R}
32 via lower level \proglang{C} code and offers a few ZeroMQ patterns, including
33 \begin{itemize}
34 \item request-reply, in particular, one client and a server, and
35 \item push-pull, in particular, one client and a set of servers.
36 \end{itemize}
37 These patterns are useful communication frameworks utilized in the
38 \pkg{pbdCS}~\citep{Schmidt2015} that combines two different messaging
39 libraries, namely ZeroMQ and MPI, and utilizes their respective advantages in:
40 \begin{itemize}
41 \item user-to-server communication via \pkg{pbdZMQ}, and
42 \item server-to-server computations for statistical programming
43 via \pkg{pbdMPI}~\citep{Chen2012}.
44 \end{itemize}