- 浏览: 982400 次
- 性别:
- 来自: 广州
最新评论
-
qingchuwudi:
有用,非常感谢!
erlang进程的优先级 -
zfjdiamond:
你好 这条命令 在那里输入??
你们有yum 我有LuaRocks -
simsunny22:
这个是在linux下运行的吧,在window下怎么运行escr ...
escript的高级特性 -
mozhenghua:
http://www.erlang.org/doc/apps/ ...
mnesia 分布协调的几个细节 -
fxltsbl:
A new record of 108000 HTTP req ...
Haproxy 1.4-dev2: barrier of 100k HTTP req/s crossed
文章列表
Reltool Reference Manual
Version 0.2
Reltool is a release management tool. It analyses a given Erlang/OTP installation and determines various dependencies between applications. The graphical frontend depicts the dependencies and enables interactive customization of a target system. The backend provi ...
http://haproxy.1wt.eu/
Second release candidate of 1.3.16 has been published. It brings a lot of new long-awaited features, among which TCP splicing support, conditional redirection, TCP content filtering, session rate reporting and limiting, invalid request/response capture, binding to specific n ...
- 2009-03-18 22:03
- 浏览 1588
- 评论(2)
Architecture of the Erlang odbc application
(对于我们编写c接口很大的借鉴意义,极大的提高了系统的稳定性,数据通信用tcp socket而不是pipe 提高通讯速度,port机制为了扑捉c程序的非正常退出, controlling进程用于提供timeout通知,数据格式直接用term, c程序直接用ei构造和解码格式 一切看起来都简单 设计的太精妙了)
4 Error handling
4.1 Strategy
On a conceptual level starting a database connection using the Erlan ...
- 2009-03-16 21:07
- 浏览 2993
- 评论(3)
开发者在线 Builder.com.cn 更新时间:2008-06-12作者:顾宏军 来源:软件世界
本文关键词: Erlang 并行计算 面向过程语言 程序语言 函数式 面向对象语言
(文章写的相当不错 很好的介绍了erlang的优点)
提起Erlang语言,相信许多人都会挠头,因为它实在是太陌生了。在2007年6月由TIOBE Programming Community提供的程序语言排名中,Erlang占有率仅为0.08%,排名第49位。与之形成鲜明对比的是,Java以20.025%的占有率高居榜首,紧随其后的是C(15.967%)、C++(11.118%)、VB (9.332% ...
- 2009-03-16 20:54
- 浏览 2506
- 评论(1)
下面的指令是热部署干活的指令:
%%-----------------------------------------------------------------
%% An unpurged module is a module for which there exist an old
%% version of the code. This should only be the case if there are
%% processes running the old version of the code.
%%
%% This functions evaluates each ...
吹吹水 Erlang适合做什么 能做什么 有什么优点 凑合看吧!
Erlang for Concurrent Programming
Designed for concurrency from the ground up, the Erlang language can be a valuable tool to help solve concurrent problems.
Jim Larson, Google
写的还不错哦!
- 2009-03-08 18:16
- 浏览 1673
- 评论(3)
记住这些快捷键shell操作的时候速度快很多!
5 tty - A command line interface
tty is a simple command line interface program where keystrokes are collected and interpreted. Completed lines are sent to the shell for interpretation. There is a simple history mechanism, which saves previous lines. These can be edited bef ...
- 2009-03-08 00:07
- 浏览 1563
- 评论(5)
programing erlang书里提到了 官方文档貌似没写!
执行的流程比较搞:
start.script
....
{apply,{c,erlangrc,[]}},
....
c.erl
....
%% erlangrc(Home)
%% Try to run a ".erlang" file, first in the current directory
%% else in home directory.
erlangrc() ->
case init:get_argument(home) of
{ok,[[Home]]} -& ...
8.7 Internal Representation of Records
Record expressions are translated to tuple expressions during compilation. A record defined as
-record(Name, {Field1,...,FieldN}).
is internally represented by the tuple
{Name,Value1,...,ValueN}
where each ValueI is the default value for FieldI.
To each mo ...
- 2009-03-06 19:44
- 浏览 1119
- 评论(2)
Normally, connections are established automatically when another node is referenced(也就是说给节点发信息 ping rpc等等). This functionality can be disabled by setting the Kernel configuration parameter dist_auto_connect to false, see kernel(6). In this case, connections must be established explicitly by calling n ...
9.4 Exit Reasons
When a run-time error occurs, that is an exception of class error, the exit reason is a tuple {Reason,Stack}. Reason is a term indicating the type of error:
Exit Reasons. Reason Type of error
badarg Bad argument. The argument is of wrong data type, or is otherwise badly formed.
ba ...
11.5 Hidden Nodes
In a distributed Erlang system, it is sometimes useful to connect to a node without also connecting to all other nodes. An example could be some kind of O&M functionality used to inspect the status of a system without disturbing it. For this purpose, a hidden node may be used.
...
The default when a connection is established between two nodes, is to immediately connect all other visible nodes as well. This way, there is always a fully connected network. If there are nodes with different cookies, this method might be inappropriate and the command line flag -connect_all false mu ...
Shell Commands
b()
Prints the current variable bindings.
f()
Removes all variable bindings.
f(X)
Removes the binding of variable X.
h()
Prints the history list.
history(N)
Sets the number of previous commands to keep in the history list to N. The previous number is returned. The ...