- Application Controller:
- There is only one controller for each application is running, it registered the name application_controller.
- The controller responsible for loading the .app file applications, and checks to see if other applications currently dependent applications have been started.
- The application controller will derive one pair of master process applications running in each application, and thus their own application code to isolate.
- With application: When start (AppName) launch the application, start the application type of default is temporary.
- If by application: start (AppName, permanent) start, as long as the application is terminated, the entire operating system will be closed and re-start.
- Published Mirror:
- Several applications, plus some metadata, constitute the release image.
- Metadata is used to describe how a systematic way to launch and manage these applications.
- The same publishing applications in the mirror are running on the system when running on the same set of Erlang, which is the target system.
- The version number is one of the important attributes of a publication mirror.
- Publishing steps mirror:
- Determine which applications need to include
- Create a publication describing the contents of image metadata file (.rel)
- Creating a Startup Script
- .script .boot files and documents.
- Within .script file contains a complete specification, the contents of all the applications listed, including all the details, including the path of the application modules to load, and various other necessary information.
- .boot file is a binary form .script files available for ERTS read directly at startup.
- Create the System Configuration File
- The contents of all packaged into a single file
"Erlang / OTP concurrent programming combat" Chapter X package, and deploy service
Guess you like
Origin blog.csdn.net/sanmao123456_/article/details/103498840
Recommended
Ranking