I don't know the technology, and my friends and I are talking about making a social app when he says so "no, I meant the guys who's ve already built out concurrent COM infrastructure
Like Google, Facebook, etc
And they ' re also hoarding all of the talent
So Erlang For example are probably the best language to build chat apps with right now
And there ' s only a handful of good/great Erlang engineers
An
As projects become increasingly reliant on Erlang, the problems that come up with it increase. The previous time line system encounters the memory high consumption problem, records the troubleshooting analysis process. The online system uses the Erlang R16B02 version.
Problem description
There are several online systems that run for some time and memory soars. The system model is very simple, there is net
This is a creation in
Article, where the information may have evolved or changed.
Saturday should be Hoterran invited, let me spit out the slot for Erlang and go, so while in Sunday, casually sprayed a few words, first do a Golang advertisement: Golang Online QQ Group: 259718627The first language I used was Java and Python, and I always had a crush on Python, and I liked the feeling of simplicity and efficiency, but I didn't use Python in the end, bec
Punctuation in Erlang
The Erlang syntax is full of conventions. A name starting with an upper-case letter (such as address) represents a variable, including parameters and local variables. A word starting with a lower-case letter (such as OK) represents a constant, it is called atom, including the constant name, function name, and module name.
Erlang Comments sta
Erlang access to remote shell console, erlangshell ConsoleErlang shell is the interface program for system interaction between users and erlang runtime. In fact, the running of erlang VM does not rely on any shell, as long as the parameter detached is added at startup, it can be detached from the terminal. -DetachedStarts the
bloated, and the lack of system programming genes, after all, it is enterprise development origin of the last I chose Erlang, because it is excellent in the network layer performance, At the same time fault tolerance and robustness are very good, its virtual machine is the only one comparable to the JVM, but also the OTP super-heavyweight weapons, almost can be a Kill network layer application, but according to my summary it has a mishap and a soft r
as described in 1.2:----------------------------------------------------------------------------------
1doc/2deps/3ebin/4src/5test/6LICENSE.txt7README.md8rebar.config
----------------------------------------------------------------------------------What's new in this one isDeps/Directory, which is fairly useful to have, but that will be generated automatically by rebar 2 if necessary.That's because there is no canonical package management in Erlang
appropriate, is too bloated, and lack of system programming genes, after all, it is enterprise-level development background
finally I chose Erlang, because it performs well in the network layer, while the fault-tolerant and robustness are very good, its virtual machine is the only one comparable to the JVM, but also the OTP super-heavyweight weapons, almost can be a network layer application, but according to my summary it has a mishap and a soft r
appropriate, is too bloated, and lack of system programming genes, after all, it is enterprise-level development background
Finally I chose Erlang, because it performs well in the network layer, while the fault-tolerant and robustness are very good, its virtual machine is the only one comparable to the JVM, but also the OTP super-heavyweight weapons, almost can be a network layer application, but according to my summary it has a mishap and a soft rib
First, the purpose of the library's existence can be broadly divided into:1. Provide convenience2, as far as possible to solve some pain pointsFirst, let's clarify some of the pain points in the Erlang programming language (pseudo-pain points):1, single process issueErlang virtual machine belongs to preemptive scheduling, and preemptive scheduling has many advantages, but it also has the disadvantage. Virtual machines are allocated the same resources
The Erlang Shell is an interface program that users interact with the Erlang runtime system. In fact, the Erlang VM runs without any shell, as long as the parameter detached is added at startup to get out of the terminal. -detachedStarts the Erlang runtime system detached from the system console. Useful for running dae
Solution to high memory usage of Erlang Server
Question: The Erlang server has 1 million online users, and 16 GB of memory is quickly swallowed up. The memory occupied by player processes is high.
Solution:
Step 1:Erlang: system_info (process_count). Check whether the number of processes is normal and whether it exceeds the maximum number of processes on the
The following example is mentioned in many of the basic Erlang tutorials on the web today:-module (tut).-export ([DOUBLE/1]).Double (X)2 * X.Then compile the Tut.erl source file in the Erlang shell:1> C (tut).But for a beginner who has just touched Erlang, the following errors often occur:./tut.erl:none:no such file or directoryErrorThe prompt message tells the u
After the sd2c Conference, I have been busy with this job, that is, sorting out some resources on Erlang. Now it's basically finished (or started), and two projects have been created on Google Code:
Erlangdoci: this is a document project, mainly used to add bookmarks and indexes to the PDF document officially released by Erlang.=====Home: http://code.google.com/p/erlangdoci/Project Description: http://co
http://blog.csdn.net/karl_max/article/details/3976372The 6th chapter compiles and runs the program1. Erlang:halt () can immediately stop the system from running.2. The q () command can complete some processing of files and databases before exiting. It is a shell alias for Init:stop ()3. Erlang can dynamically load code, and the running code can be dynamically trimmed after recompilation without stopping the program from running.4. Module load related
Internal Implementation of erlang catch (first draft), erlangcatchRecently, some colleagues in the project team shared the internal data (Eterm) of erlang. Eterm is short for Erlang Term, used to represent any type of data in erlang, that is, any data that erlang can use can
Erlang send analysis and parameter significance, erlangsendErlang send is a basic message sending function used by a process to send a message to another process. This function can be used for local node process communication or remote node Process Communication.Preface recently, some colleagues encountered the problem of message accumulation caused by erlang: send, which aroused my strong attention. I also
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.