Original article: Erlang process heap garbage collection mechanism
By http://blog.csdn.net/mycwq
Each Erlang process is created with its own PCB, stack, and private stack. Erlang does not know the scenario in which the process he created will be used, so the memory allocated at the beginning is relatively small. If the allocated space is insufficient,
The communication between Erlang nodes is mainly used for communication between two Erlang nodes. However, Erlang also supports communication with nodes built in Java and even nodes built in C, the previous two methods have been mentioned in my previous articles, so here we will talk about the node communication between Erlan
This is a creation in
Article, where the information may have evolved or changed.
From http://zhang.hu/go-vs-erlang/
Go vs Erlang
Because of the high concurrency and low latency requirements of the system, we have done a lot of research and comparison work on various languages and platforms. This naturally includes Go and Erlang, which are dedicated to developing
processing speed of the process and shows a high CPU usage. In addition, large-capacity mailbox processes will also lag those processes that send messages to it (because Erlang runtime can be processed in a timely manner to enable large-capacity mailbox processes, it will take the initiative to slow down the processes that send messages to the process) But discarding these messages will make debugging difficult. Therefore, it is best to ensure that t
Tuples are the composite data types used to store a group of data elements. The data elements must be Erlang data types, the tuples are defined using closed curly braces {}, and the elements in them are separated by commas.
Example: 1> {1, 2, 3 }.
2> {1, {2, 3}, 4 }.
3> {1, [2, 3], 4 }.
4> {1, "23", 4 }.
The BIFS function of tuple:
Erlang: tuple_size (tuple)-> length. Length of tuple
encrypted communication will jump up, so the programmer started to knock on his keyboard ......
The above passage was very simple and interesting, and brought out the features of Erlang, So that I started my Erlang journey like the programmer mentioned.2. Install Erlang
On the official website of Erlang http://www.er
I read a really, really interesting article on memory management for the Erlang VM. It is written as a thesis by Jesper Wilhelmsson I thought it might is nice to discuss the differences between Erlang ' s memory setup and Oracle ' Java VM.
As a real short introduction for those who have never heard of Erlang; It is a functional language this uses asynchronous m
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
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
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
Reprinted: http://blog.sina.com.cn/s/blog_49faf32901008pap.html
By Joe ArmstrongOriginal article: What's all this fuss about ErlangTranslator: Joshua Zhu Xu Shiwei)
What's all this fuss about Erlang?
No one can predict the future, but I plan to make some rational speculation.
Let's assume that intel is correct and the Keifer project is successful. If so, the 32-core processor will appear in the market in 2009/2010 years. It is not surprising that sun
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
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
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
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
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
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.