Reprinted: http://23live.cn/server/lvs-keepalived-haproxy-heartbeat/
I have been reading some highly available Server Load balancer solutions recently. Of course, hardware devices such as F5 cannot afford or access them. You can only look at
What is Erlang?A "niche" language (ranking more than 50)
A functional language (a variable can be assigned only once)
A dynamic type language (the variable type is determined at runtime,CodeIt must be compiled before execution. It is different
The root account of Ubuntu is locked by default. This means that you cannot log on as the root account or use Su. Instead, installProgramDuring the installation process, you will establish and set sudo to allow users to run all management commands.
Problem: gen_server: Call, return "exception Exit: timeout_value" error, gen_server process exits unexpectedly.
Analysis: 1. The error is timeout_value. The first response is that the internal processing of the module times out;
2. However,
MD5 encryption is required during development today. Erlang supports MD5 encryption.AlgorithmBut the results are disappointing.
Problem: Generally, after MD5 encryption, a 32-byte string is obtained, but Erlang's MD5 returns 16 bytes of binary.
Please refer to this article http://ftp.sunet.se/pub/lang/erlang/workshop/2003/paper/p29-carlsson.pdf
The focus here is how to implement it. First look at the Code:
Root @ Nd-desktop :~ /Test/M # Cat main. erl% File: Main. erl-Module (main ).-Export
In my opinion, the Erlang system has three features: 1. Distribution 2. multi-core support 3. FP. Among these three features, I think Erlang is the most powerful. From the first version to the present, it is relatively mature, and multi-core support
Original article: http://blog.liuw.name/1024
Tasks executed by the kernel are not locked in many cases, but a public variable in poll is used to ensure synchronization. Further, even if a lock is used, it is essentially a process of a certain public
Reprinted: http://wiki.ubuntu.org.cn/%E5%A6%82%E4%BD%95%E7%A6%81%E7%94%A8IPv6
Disable Ipv6
For Ubuntu
1. enter gksudo gedit/etc/modprobe in the terminal. d/aliases 2. comment out this line of Alias net-pf-10 IPv6 3. disk Storage 4. enter gksudo
There is a saying that "things are clustered and groups are divided". It makes sense that some people cannot be integrated into some teams. I think this is not just a matter of luck, I have been thinking about this issue all the time. Everyone has
Re: http://m.gfan.com/redirect.php? Tid = 3144704 & goto = lastpost
Currently, this method is only applicable to the 802.11g Wi-Fi network. Because I do not have the 11N router, I cannot test it. Therefore, it is only for the 11 N engine oil.
Use
Reprinted: http://www.dnkb.com.cn/archive/community/20110928/152824795.shtml
Southeast Express (trainee reporter Huang Shuping) "there is Helicobacter pylori in the stomach, it represents a problem in the stomach ?" Yesterday, after receiving his
Reprinted: http://wiki.erlang-web.org/Rebar
Getting Erlang Web
Before you start, you have to prepare the project directory, and get Erlang Web framework as a dependency.1. Add a dependency to Erlang web in rebar. config file in your project
Reprinted: http://www.ibm.com/developerworks/cn/opensource/os-riak2/
Introduction
Some types of data are suitable for the cache access mode. For example, an online betting site has an interesting load feature: users often request a loss rate and a
Reprinted: http://mryufeng.iteye.com/blog/113856
ETS is Erlang term strorage meaning document see erl5.5.5/lib/stdlib-1.14.5/doc/html/index.html. This is a core function in beam. ETS, dets, and mnesia constitute the Erlang database. Note that
Ctemplate is a C ++ version HTML template replacement library open-source by Google. With it, operating HTML templates in C ++ code is very simple and efficient. Through this article, you can understand its simple use. The content of the sample HTML
#! /Bin/sh # The following two parameters can be modified as needed: ethxname = eth0
# Nic name statfreq = 2 # statistical interval, in seconds. It is recommended to be a multiple of 2 or 2 # The following parameters, do not modify influx_kbps =
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