erlang

Discover erlang, include the articles, news, trends, analysis and practical advice about erlang on alibabacloud.com

Build, compile, test, and publish Erlang projects in Windows with rebar

Rebar is a follow ERLANG/OTP principle Erlang Project builder, using it to reduce the build standard ERLANG/OTP Project architecture configuration, and can be easily compiled, tested, published Span style= "font-family:arial; Background-color:white; " > Erlang application. More powerful, rebar Provide

Php implements network communication with erlang

There are two common types of network communication: Text communication and binary communication. Text communication between php and erlang is relatively simple. We will not discuss it here. We will mainly discuss how php and erlang implement binary communication. Communication Example erlang code:-module (server).-export ([start0]).-define (UINT, 32unsigned-litt

Module-to-pattern matching in Erlang

The module is the Basic code unit of Erlang, and the Erl file is compiled with. Beam as the extension, with the UTF8 character set, and the. erl file as shown below:-module (module name, the same as the file name of the storage module)-export ([number of method name/input parameter])Method1 ({a,b,c})->a*b*c;MEHTOD2 ({d,e})->d-e.There are two types of module properties: predefined and user-defined.The data type used in

[Erlang 0016] hipe SASL Monitor

Erlang uses some common parameters and commands of hipe SASL Monitor, which are recorded in this memo. Compile and enable hipe (High Performance Erlang) What is hipe? The Overlord has a description in the phrase "Erlang's hipe is equivalent to JIT. According to the language evaluation, hipe supports 2-3 times faster in pure Erlang operations, this performance

Erlang -- Addendum

Reprinted: http://hi.baidu.com/let163/blog/item/f4877311703faedbf7039ef6.html 1. The reserved characters of Erlang include: After and andalso band begin bnot Bor bsl bsr bxor case catch cond Div end fun if let not of or orelse query receive REM try when XOR These are basically symbols used for logical operations, bit operations, and special expressions. 2. The types of Erlang include:1) binary, used to indi

Erlang learning materials

Summary: Collect some Erlang project and learning materials, and update them... 1. Web: Nitrogen: an event-based Web development framework. Http://nitrogenproject.com /. Http://yaws.hyber.org/ Http://github.com/mochi/mochiweb Http://sourceforge.net/projects/erdialog/ (Ajax framework implemented by Erlang) Rabbitmq: http://www.rabbitmq.com/ Ejabberd (Jabber/XMPP server written in

Introduction to module and pattern matching in Erlang _erlang

The module is the basic unit of code for Erlang, and the Erl file is compiled with the. Beam as the extension, with the UTF8 character set, the. erl file is indicated as follows:-module (the module name, same as the file name of the storage module)-export ([Method name/number of input parameters]) Copy Code code as follows: Method1 ({a,b,c})->a*b*c; MEHTOD2 ({d,e})->d-e. There are two types of module properties: predefined and

Considerations for Erlang distributed on Linux and Windows

Nothing to do, just between two machines test Erlang distributed example, a station is WindowsXP, a set of REDHAT9, no detailed documents, their own groping for success, recorded.1. First, the implementation of distributed Erlang provides its own security mechanism to prevent unauthorized access to the Erlang system. When an

[Erlang 0060] Notes on Joe Armstrong's paper building a reliable distributed system for software errors

projects are in the same C # language, both Class Library organization and naming rules have their own rules and styles. 4. pre-defined parts-designing with a "select from a set of pre-defined parts" is far easier than designing from scratch. the OTP library of Erlang contains a complete set of ready-to-use parts (called behaviour Library), which can be used by some common systems. for example, behaviour such as gen_server can be used to build a clie

Erlang build tool

Friends in the blog Park, this time they have another chance to let you know Erlang, a good language. Please keep up with me and buy an Erlang book, or download an ebook and start the Erlang world. This is a new journey. Let's take a look at mochiweb, a good HTTP server. The title is changed to the source code for reading, rather than the source code analysis. I

How to obtain the power of Erlang in Python

Erlang is a distributed development language based on message transmission. It is easy to develop and has powerful functions. Although Erlang's FP programming is nothing for some FP geeker, there is still a huge gap to be told by most developers at work, in addition, it is inferior to other "mainstream" languages in terms of convenience of development. What a wonderful situation would it be if we could graft the powerful capabilities of

OTP in Erlang Brief

runs production systems, and the System Architecture support Library (Sasl,system Administration supports libriaries) will be responsible for error logging and overload protection.Using Gen_server, gen_supervisor,application and other behaviors, you can build a system with a reliability of 99.9999999.Unified Erlang Message:1) Abstract the difference between different line protocols2) Erlang messages do not

Erlang process pool (sorting)

Keywords: Erlang, process pool, Open Source 1. Scenario There are many places in the project that connect to zookeeper. They are connected to each other, save the PID or monitor, and close or reconnect the connection when terminate or down. You can use the Erlang process pool to manage processes in a unified manner. Two scenarios that require process pools: 1. A large number of common

Remember that Erlang language bug causes RABBITMQ queue to have no consumer problem

The Erlang version of the company development and test environment is 19.0.3,RABBITMQ version 3.6.10. Stable use for nearly a year under the cluster condition, no problem.In order to remain consistent with the line, the online production environment uses the same version, and after several months of operation the problem occurs. The phenomenon is as follows:In a few days, there were three queues with no consumer problems. View the logs for RABBITMQ.Op

Configure Erlang to use unixODBC to connect to the Oracle database in Redhat5.3

I encountered some trouble when installing the configuration, it is hereby recorded as follows: Environmental Database Server Operating System: Windows2003 Database: OracleDatabase10gEnterpriseEditionRelease10.2.0.1.0erlang running server operating system: Redhat5.3erlang: ErlangR14B03 (erts-5.8.4) Note I encountered some trouble when installing the configuration. Here I will record the following: Environment Database Server Operating System: Windows 2003 Database: Oracle Database 10g Enterprise

The JCL for Erlang debugging

Job control mode (JCL), in which jobs can be started, stopped, detached or connected. The current job can communicate with the shell.With JCL, we can remotely access an Erlang node to access controlCommunication between Erlang nodes requires mutual trust, and mutual trust is done with cookies, so we need to get the other cookie to access the other nodes.First we have a running

Record the Erlang node CPU serious fluctuation troubleshooting Process

,send_request,1}, 1, 0.000, 0.003}], { {lhttpc_client,send_request,1}, 2, 4993.486, 0.007}, % [{{lhttpc_sock,connect,5}, 1, 4932.214, 0.006}, {{lhttpc_client,read_response,1}, 1, 61.202, 0.004}, {{lhttpc_sock,send,3}, 1, 0.061, 0.001}, {{erlang,setelement,3}, 1, 0.002, 0.002}, {{lhttpc_client,send_requ

Erlang shell Command Chinese user manual

Reproduced from--no flowering tree: http://blog.csdn.net/mycwq/article/details/16858805The finishing is very complete, so brought over,The Erlang shell is a tool that uses commands and Erlang interaction in command-line mode. The Erlang shell is powerful and can be directly compiled, loaded, executed, debugged, and so on, and can be used by the shell as a termina

Installing Erlang and RABBITMQ under Linux

Tags: Bubuko org unix virtual username Miss TST Use uploadInstall Erlang and RABBITMQ on Linux under Installation Erlang Download Erlang installation packageHttp://erlang.org/download/otp_src_20.3.tar.gz Upload to the server TMP directory and go to the TMP directory for installation.# cd/tmp# mkdir-p/usr/local/er

Erlang helps you solve the "zebra puzzle" problem

The zebra puzzle is a typical constraint satisfaction problem (CSPs). Sudoku, Magic Square also belongs to CSPs problem. The language features of Erlang's list parsing allow it to solve such problems in a way that is very close to the natural language: it does not need to consider the process-solving steps to describe the constraints, and the Erlang interpreter matches the answer through a domain search. Someone has also used

Total Pages: 15 1 .... 10 11 12 13 14 15 Go to: Go

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.