Upload
skyezine-via-kit-fox
View
218
Download
0
Embed Size (px)
Citation preview
8/13/2019 System Architecture Intro
1/9
Introduction
version5.6
8/13/2019 System Architecture Intro
2/9
Typ eset in LATEX from SG ML source using the D ocBuilder-0.9.8.4 D ocument Sy stem.
8/13/2019 System Architecture Intro
3/9
Contents
1 Introduction 1
1.1 Int roduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1.1 Erlang and O TP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1.2 Erlang/O TP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1.3 Scope and P urpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31. 1. 4 Ab ou t t he E rla ng/O TP D o cu ment at io n . . . . . . . . . . . . . . . . . . . . . . . 3
List of Tables 5
iiiSystem Architecture Introduction
8/13/2019 System Architecture Intro
4/9
iv System Architecture Introduction
8/13/2019 System Architecture Intro
5/9
Chapter 1
Introduction
1.1 Introduction
1.1.1 Erlang and OTP
Erlang is a general-purpose programming language with built-in support for concurrency, distribution
and fault tolerance.
O TP (O pen Telecom Plat form ) is aimed a t providing time-saving and fl exible developm ent for robu st,
adaptable telecom systems. It consists of an Erlang runtime system, a number of ready-to-use
comp onents ma inly w ritten in Erlang, and a set of d esign principles for Erlang programs. Since Erlang
and O TP are closely interconnected the t erm Erlang/O TP is normally used instead of O TP.
1.1.2 Erlang/OTP
Erlang Runtime System
The Erlang runtime system (ERTS) is made up of an emulato r running on top of t he host operating
system, a kernel providing low -level services such as distribution and I/O handling, a nd a standard
library containing a large number of re-usable modules.
The OTP design principles provides the user with a way to structure the system based on a concept
called application. An OTP application is a w ay t o package a system com ponent and is either a set of
library modules or a supervision tree. A supervision tree is a hierarchical tree of processes used to
program f ault-tolerant systems. The processes are easiest implemented using behavior m odules w hich
are formalizations of design patterns. The standard library includes behavior modules for supervisors,
servers, stat e ma chines and generic event h andlers. In chap ter 4 O TP D esign Principles the design
principles are explained in d etail.
1System Architecture Introduction
8/13/2019 System Architecture Intro
6/9
Chapter 1: Introduction
OTP Components
The OTP components can be divided into six categories:
Basic Applicat ions - Basic E rlang/O TP functiona lity.
CompilerA compiler for Erlang modules.
Kernel Funct ionalit y necessary t o run Erla ng/O TP it self.
SASL (System Architecture Support Libraries) A set of tools for code replacement and alarm
handling etc.
StdlibThe standard library.
O perations and Maintenance - OAM both of t he system d eveloped by the user and of
Erla ng/O TP it self.
EVA A multi-featured event and alarm handler.
O S M on A monitor w hich allows inspection of the underlying operating system.
S NM P SNMP support including a MIB compiler and tools for creating SNMP agents.
Interface and C omm unication - Interoperability and protocols support.
Asn1Support fo r ASN.1.
C ometA library that enables Erlang/OTP to call C O M ob jects on w indows
CryptoC ryptographical support
Erl InterfaceLow level interface to C.
G SA graphics system used to write platform independent user interfaces.
InetsA set of services such as a web server and a FTP client.
JinterfaceLow level interface to Java.
SSL Secure Socket La yer (SSL),interface to U NIX BSD sockets
D atabase Management.
Q L CQ uery language support for Mnesia D BMS.
M nesia A heavy duty real-time distributed database.
O D B C O D BC database interface.
C O RBA services and ID L com piler.
cosEvent O rber O MG Event Service.
cosN otificati onO rber O MG Notification Service.
cosTimeO rber O MG Timer and TimerEvent Services.
cosTransactionsO rber OM G Transaction Service.
IC ID L compiler
O rberA C O RBA object request broker.
Tools.
Appmon A utility used to view OTP applications.
D ebuggerFor debugging and testing of Erlang programs.
ParsetoolsA set of parsing and lexical analysis tools.
PmanA process mana ger used t o inspect th e state of a n Erlang/O TP system.
Runtime ToolsTools to include in a prod uction system.
ToolbarA too l bar simplifying access to t he Erlang/O TP to ols.
ToolsA set of programming tools including a coverage analyzer etc.
TV An ETS a nd Mnesia graphical t able visualizer.
2 System Architecture Introduction
8/13/2019 System Architecture Intro
7/9
8/13/2019 System Architecture Intro
8/9
Chapter 1: Introduction
4 System Architecture Introduction
8/13/2019 System Architecture Intro
9/9
List of Tables
1. 1 E xa mples o f t ypo gra ph ica l co nvent io ns. . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
5System Architecture Introduction