Erlang/OTP concurrent programming practices
Basic Information
Original Title: Erlang and OTP in action
Author: (US) Logan, M.) Merritt (E.) (Sweden) Carlsson (R.) [Translator's profile]
Translator: Lian Cheng
Press: People's post and telecommunications Press
ISBN: 9787115285591
Mounting time:
Published on: February 1, July 2012
Start: 16
Page number: 1
Version: 1-1
Category: computer more about Erlang/
[Erlang crisis] (1.3) OTP application, erlangotp1. OTP Applications
Figuring out OTP applications is usually rather simple. They usually all share a directory structure that looks like:
It is usually very simple for developers to figure out OTP applications. They are usually in the same directory and the target struc
Notes SeriesErlang Environment and sequential programmingErlang Concurrent ProgrammingErlang Distributed programmingYawsErlang/otpDate Change Description2014-12-21 A Outline, 1Agenda0 ScopeAround the OTP design principles, record behavioral patterns, supervisory tree concepts, applications, releases and deployments, and a product-level caching solution in [3].1 OTP Design PrinciplesErlang Doc:
Label: Erlang ?? 1. OTP applications
Figuring out OTP applications is usually rather simple. They usually all share a directory structure that looks like:
? It is usually very simple to understand OTP applications. They are usually in the same directory and the target structure is as follows:
DOC /;Ebin/Src/Test/License.txtReadme. mdRebar. config Th
OTP cognitionDynamic password (otp,one-time Password), also known as a one-time password, is the use of cryptography technology in the client and the server through the sharing of a secret authentication technology, is a strong authentication technology, is to enhance the current static password authentication of a very convenient technical means, is an important two-factor authentication technology, Dynami
OTP includes a set of libraries and implementations that can build large-scale, fault-tolerant, and distributed applications, including many powerful tools to implement multiple protocols such as H248,SNMP, the core concept is OTP behavior, and can be seen as an application framework with callback functions as parameters, similar to a Java-EE container. Behavior is responsible for solving the non functional
Http://blog.sina.com.cn/s/blog_3fe961ae0101k4p6.htmlBehavior patterns are very similar to interfaces in object-oriented languages, at least as I understand them. The OTP behavior pattern divides some recurring patterns into two parts, the generic part and the implementation-specific part of the application, which is similar to the process of abstracting out an interface in object-oriented programming. This article gives an example of the most common b
Label:Magnus Ahltorp's MySQL driver introduces Emysql's flaws: 1. Isolation is not good enough, 2. Unable to stretch The MYSQL-OTP uses 1 processes with 1 MySQL connections, which are well isolated. Recommended use. Mysql-otp-poolboy uses Poolboy + ERLANG-OTP to form a thread pool, using Poolboy to avoid the lack or excessive number of threads. Reference: Which E
The dynamic password (OTP, one-time password), also known as the one-time password, is an authentication technology that uses the Password Technology to share secrets between clients and servers, it is a strong authentication technology, a very convenient technical means to enhance the current static password authentication, and an important two-factor authentication technology, the dynamic password authentication technology consists of a client used
Tags: des style blog HTTP Io OS AR for strong
Previously, the following paper was mentioned in the Erlang paper we have read in [Erlang 0126:On preserving term sharing in the Erlang Virtual MachineAddress: http://user.it.uu.se /~ Kostis/papers/erlang12_sharing.pdfAbstract: In this paper we describe our experiences and argue through examples why? Attening terms during copying is not a good ideaA language like Erlang. More importantly, we propose a sharing preserving copying mechanic for Erlang/
thinkphp Auth Authentication analogy RBAC Better authorization authentication method (Auth class authentication) Auth class has been in the thinkphp code warehouse for a long time, but because there has been no tutorial, few people know it, it is actually more convenient than RBAC.RBAC is based on the node authentication, if you want to control more than the node
NetScaler OTP Application ScenarioNetScaler OTP (one time password) is a two-factor ID card that uses the username password + 6-bit token authentication code to complete the identity authentication. In the previous two-factor solution, Netscalergateway needed to be integrated with a third-party RADIUS server for two-factor authentication. For customers, the cost of additional two factor authentication is re
cat/usr/share/keystone/admin-openrc.sh Run export os_project_domain_name=default export Os_user_domain_ Name=default export os_project_name=admin export os_username=admin export os_password=1 export os_auth_url=http://controller:35357/v3/ export os_identity_api_version=3 Export os_image_api_version=2This article is from the "12998875" blog, please be sure to keep this source http://13008875.blog.51cto.com/12998875/1940055Missing value Auth-url r
cat/usr/share/keystone/admin-openrc.sh Run export os_project_domain_name=default export Os_user_domain_ Name=default export os_project_name=admin export os_username=admin export os_password=1 export os_auth_url=http://controller:35357/v3/ export os_identity_api_version=3 Export os_image_api_version=2This article is from the "12998875" blog, please be sure to keep this source http://13008875.blog.51cto.com/12998875/1940059Missing value Auth-url r
= Lists:concat (["Mod:",? MODULE, "line:",? Line, "]"),STR1 + + FEnd)).-define (WARN (log, F, D), Log4erl:warn (log,? Addlineinfo (F), D)).This error occurs if WARN is used continuously* Many environment variables can be defined in Erlang:Erl_max_ets_tables set the maximum number of ETS by default 1400Erl_max_ports Erlang Maximum number of ports default 1024*. start_phases in app files, options can be used either as a synchronous start-up between include applications or as a distribution to a s
]).
This function is very simple, just a line of logic, calling the system function:Proc_lib: spawn_link/3, Erlang Doc address: http://www.erlang.org/doc/man/proc_lib.html?spawn_link-3,e. g:
This function is similar to the spawn_link function in the Erlang module. It initializes a process to execute the specified function in the specified module. What are the differences between processes created using proc_lib? I am not going to talk about it here. For details, refer to the article [Erlang 200
],[1,2,3,4,5,6,7,8,9,10],[1,2,3,4,5,6,7,8,9,10],[1,2,3,4,5,6,7,8,9,10],[1,2,3,4,5,6,7,8,9,10]]ok6> erts_debug:size(L2).327> erts_debug:flat_size(L2).132
When starting shell, the shell PID is
Eshell V6.0 (abort with ^G)1> self().
Why does it trigger data expansion (expand, flattening? See the following code. When the shell is started, the variable that has been bound previously will be used as the spawn_link parameter to start the new shell.
erl6.2\lib\stdlib-2.2\srcstart_eval(Bs, RT
Reprinted: http://cryolite.iteye.com/blog/1663436
Erlang/OTP organizes a group of modules that complete specific functions, called applications. This is not a good name. It has different meanings from the conventional application. For example, in the development of Jee, the entire application system is called an application; in iOS, an independent game and a small tool are called an application.The Application of Erlang/
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.