erlang

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

The Erlang Library--Interesting library summary

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

Erlang Access Remote Shell console

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

Linux installation Erlang

Erlang is now part of the Fedora and Debian/ubuntu software repositories.The most current version of Erlang is OTP 17.0. Erlang is a programming language used to build a programming language for large-scale, highly scalable, high-availability soft real-time systems. It has been used in telecommunications, finance, e-commerce, VoIP, and instant messaging. Erlang's

Solution to high memory usage of Erlang Server

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

How to change the current working path of Erlang

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

Erlang Programming Learning Notes-6th chapter compiling and running the program

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), erlangcatch

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, erlangsend

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

Why should I choose Erlang+go for Server architecture (1)

This is a creation in Article, where the information may have evolved or changed. original articles, reproduced please specify the Source: Server non-amateur research http://blog.csdn.net/erlib author Sunface It is estimated that many students will find this confusing, go's name has been thunderclap piercing, but Erlang? This stuff is God horse? Is it a programming language? I've never heard of it before. Here, let me first introduce the more famous

[Erlang0002] Erlang ide

When my team and I decided to transform technology to Erlang, a series of problems emerged: What ide does Erlang use? How to compile Erlang? How do I run a program compiled by Erlang? How can I debug a program written in Erlang? In fact, these problems are universal. When le

Erlang process vs. operating system threads

Erlang Multi-process and multithreading:In Erlang development, the smallest execution unit we face is the process, and of course this process is not a process at the system level, nor is it a thread. It is a process that is based on the Erlang runtime system. So how does Erlang's multi-process become multi-threaded at the system level and then processed by multi-

Parallel concurrent comparison of Erlang and go

This is a creation in Article, where the information may have evolved or changed. When it comes to concurrent, Erlang and the go language are common, and the main feature of both languages is that Concurrent,erlang has a history of more than more than 20 years and is a language invented to simplify the development of telecom concurrency and high reliability applications. Go is the design of Google from 2007

Erlang file I/O performance evaluation

Reprinted: http://chaoslawful.iteye.com/blog/310346#bc2251686 Evaluation purpose The purpose of this test is to investigate the specific performance differences between the Erlang file I/O and the C standard I/O. Prerequisites Erlang has two types of operations: normal file I/O and bare file I/O. The file handle of normal file I/O is a process ID, therefore, you can access the handle from any location of th

Lightweight threads and Erlang

languages can also implement similar functions. Although there are so many lightweight threads, almost all of them have to be scheduled on their own, it is still quite difficult to use. There cannot be blocking operations in each "Thread"; otherwise, the entire mechanism will become invalid. Of course there are some perfect solutions. Erlang can be regarded as relatively perfect. Erlang implements lightwei

Erlang Learning Notes

Http://wenku.baidu.com/link?url=AUQR8Hn-e-fEB_lqjXsd8XfapWj1qAK7J05JoBXFib_ Llsk5qsotia8hixnv1xkezi-khfsh18qb9ned5pkipb8h6odfvr6kg75musyaammErlang Learning NotesI. The focus of Erlang language features1. Catch is a tuple that returns the value of an expression or an error messageTry...catch is able to capture different types of errors and have process control2, the message will never fail, if you try to send a message to a non-existent process, will o

Talking about time correction system from Erlang time function

Many people will notice this problem, Erlang provides 2 time functions, Erlang:now () and Os:timestamp (). In the same way, the current time is returned. The time is from January 1, 1970 Zero, to the current elapsed time, the result is {megasecs, Secs, microsecs}. What is the difference between these two functions? Os:timestamp () Gets the time of the operating system without making any corrections, while Erlang:now () ensures that a unique time is ge

SMP test of multi-core environment Erlang in Linux

Target (1) understand the impact of erlang concurrent process scheduling on the load of each cpu core in a multi-core cpu environment; (2) memory increase mechanism of Erlang virtual machine; (3) scheduling of Erlang processes; (4) monitor cpu usage in LinuxLab Environment Lenovo minicomputer: Operating System: RedHat Enterprise LinuxServer release6.4 (Santiago)

Why should I choose Erlang+go for Server architecture (2)

This is a creation in Article, where the information may have evolved or changed. original articles, reproduced please specify the Source: Server non-amateur research http://blog.csdn.net/erlib author Sunface Why do I have to choose Erlang? First, Erlang is particularly suitable for Small and medium-sized team entrepreneurship: Erlang has an exceptionally matu

SMP test of Erlang in multi-core environment under Linux

Goal(1) Understand the effect of Erlang concurrent process scheduling on CPU core load in multi-core CPU environment;(2) The memory increment mechanism of erlang virtual machine;(3) The operation of Erlang process;(4) Monitoring CPU usage under LinuxExperimental environmentLenovo Minicomputer: Operating system: RedHat Enterprise linuxserver release6.4 (Santiago)K

Go/python/erlang programming language comparison analysis and examples

This article is mainly about go, from the perspective of comparative analysis of language. The reason why I chose to compare with Python and Erlang is that it is a high-level language, they have a large similarity in language characteristics, but the main reason is that I am more familiar with them.Many of the language features of Go are drawn from its three ancestors: C,pascal and CSP. Go's grammar, data type, control flow, etc. inherit from C,go's p

Total Pages: 15 1 .... 5 6 7 8 9 .... 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.