diff --git a/content/ch_00/ch_00.org b/content/ch_00/ch_00.org index 4a8b0e4..92ddb2f 100644 --- a/content/ch_00/ch_00.org +++ b/content/ch_00/ch_00.org @@ -40,13 +40,13 @@ In general: architectures and protocols of communication systems *** Distributed system (DS)? #+BEGIN_QUOTE - A distributed system is a collection of independent computers that appears to its users as a single coherent system. -- A. S. Tannenbaum + A distributed system is a collection of independent computers that appears to its users as a single coherent system. \textendash{} A. S. Tannenbaum #+END_QUOTE #+BEGIN_QUOTE A distributed computing system consists of multiple autonomous processors that do not share primary memory but cooperate by sending messages over a communication network. - -- Henri Bal + \textendash{} Henri Bal #+END_QUOTE #+BEGIN_QUOTE @@ -256,7 +256,7 @@ We will do mini-projects! \cite{Steen:DistributedSystems:2017} - Coulouris, Distributed Systems \cite{Coulouris:DistributedSystems:2011} -- Lot's of material online +- Lots of material online *** Cancelled classes, compensate for missed classes diff --git a/content/ch_01_basic_CS/ch_01_basic_CS.org b/content/ch_01_basic_CS/ch_01_basic_CS.org index eb4eefe..94b3296 100644 --- a/content/ch_01_basic_CS/ch_01_basic_CS.org +++ b/content/ch_01_basic_CS/ch_01_basic_CS.org @@ -126,7 +126,7 @@ We usually have some operations like: - Possibly, of specified properties: desired originator, maximum length, \ldots - Often, no guarantee on minimum length! - - Nonblocking (~man fcntl~, ~O_NONBLOCK~): Check whether message is available + - Non-blocking (~man fcntl~, ~O_NONBLOCK~): Check whether message is available - Copy into process' buffer if yes - Corresponding return value if no - Does never block process for longer time @@ -307,7 +307,7 @@ are allowed to occur - If it did not arrive with $T$ time, consider it lost $\rightarrow$ Timeout! -** Faults models +** Fault models *** Fault models @@ -703,7 +703,7 @@ print("Received request: %s" % message) - Message Pack \textendash{} https://msgpack.org - - Lot's of language bindings; used by redis, Pinterest, ... + - Lots of language bindings; used by redis, Pinterest, ... - Cap'n Proto \textendash{} https://capnproto.org diff --git a/content/ch_02_web_CS/ch_02_web_CS.org b/content/ch_02_web_CS/ch_02_web_CS.org index 2ec6d4f..0a57497 100644 --- a/content/ch_02_web_CS/ch_02_web_CS.org +++ b/content/ch_02_web_CS/ch_02_web_CS.org @@ -256,7 +256,7 @@ Hence division of labor: dynamic responses (a *web application*) - Examples: Django \url{https://www.djangoproject.com}, Tomcat \cite{ApacheTo2:online}, Ruby on Rails \url{http://rubyonrails.org}, Play \url{https://www.playframework.com}, ... - - Lot's of fanboyism \textendash{} but some good comparisons + - Lots of fanboyism \textendash{} but some good comparisons (\href{https://en.wikipedia.org/wiki/Comparison_of_web_frameworks}{Ref1}, \href{https://softwareengineering.stackexchange.com/questions/102090/why-isnt-java-used-for-modern-web-application-development}{Ref2}) diff --git a/content/ch_03_RPC_CS/ch_03_RPC_CS.org b/content/ch_03_RPC_CS/ch_03_RPC_CS.org index 70057e3..b13f66e 100644 --- a/content/ch_03_RPC_CS/ch_03_RPC_CS.org +++ b/content/ch_03_RPC_CS/ch_03_RPC_CS.org @@ -189,7 +189,7 @@ What if things go wrong? - At least once? - At most once? -*** Source or failures +*** Source of failures - Request message is lost - Reply message is lost @@ -639,7 +639,7 @@ import zerorpc c = zerorpc.Client() c.connect("tcp://127.0.0.1:4242") -print c.hello("RPC") +print(c.hello("RPC")) #+END_SRC @@ -663,7 +663,7 @@ import zerorpc class StreamingRPC(object): @zerorpc.stream def streaming_range(self, fr, to, step): - return xrange(fr, to, step) + return range(fr, to, step) s = zerorpc.Server(StreamingRPC()) s.bind("tcp://0.0.0.0:4242") @@ -682,7 +682,7 @@ c = zerorpc.Client() c.connect("tcp://127.0.0.1:4242") for item in c.streaming_range(10, 20, 2): - print item + print(item) #+END_SRC @@ -963,14 +963,14 @@ From \cite{RESTRepresen19:online} \small #+BEGIN_SRC html - +
- - - + +