Skip to content

Commit

Permalink
fix links and figures in introduction
Browse files Browse the repository at this point in the history
  • Loading branch information
djnym committed Apr 13, 2017
1 parent 01b2fad commit d83c72c
Showing 1 changed file with 29 additions and 24 deletions.
53 changes: 29 additions & 24 deletions chapters/introduction.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,31 @@ in the _Erlang solution stack_. In particular if you are running
your code on top of ERTS you will need to know the components of
the _ERTS Stack_.

In xref:the_erts_stack[] you can see the ERTS Stack illustrated with
two Erlang nodes running on one machine.
In xref:the_erts_stack[] you can see the ERTS Stack
illustrated with two Erlang nodes running on one machine.

[[the_erts_stack]]
.ERTS Stack
[shaape]
----
Node1 Node2
+------+ +------+
| APP | | APP |
+------+ +------+
| OTP | | OTP |
+------+ +------+
| BEAM | | BEAM |
+------+ +------+
| ERTS | | ERTS |
+------+ +------+
+----------------+
| OS |
+----------------+
| HW or VM |
+----------------+
----

At the bottom of the stack there is the hardware you are running
on. The easiest way to improve the performance of your app is probably
Expand Down Expand Up @@ -156,28 +179,6 @@ help you profile and optimize your application. In
xref:CH-Debugger[] we will look at how to find the cause
of crashing applications and how to find bugs in your application.

[shaape]
----
Node1 Node2
+------+ +------+
| APP | | APP |
+------+ +------+
| OTP | | OTP |
+------+ +------+
| BEAM | | BEAM |
+------+ +------+
| ERTS | | ERTS |
+------+ +------+
+----------------+
| OS |
+----------------+
| HW or VM |
+----------------+
----



For information on how to build and run an Erlang node
see xref:CH-BuildingERTS[], and read the rest of the book to
Expand Down Expand Up @@ -331,6 +332,8 @@ is that there is no operating system in the Erlang on Xen stack.
Since Ling implements the generic instruction set of BEAM, it can reuse
the BEAM compiler from the OTP layer to compile Erlang to Ling.

[[erlang_on_xen]]
.Erlang On Xen
[shaape]
----
Node1 Node2 Node2 Node3
Expand Down Expand Up @@ -364,6 +367,8 @@ to note here is that JVM has replaced BEAM as the virtual machine
and that Erjang provides the services of ERTS by implementing them
in Java on top of the VM.

[[erlang_on_jvm]]
.Erlang on the JVM
[shaape]
----
Node1 Node2 Node3 Node4
Expand Down

0 comments on commit d83c72c

Please sign in to comment.