轉載:http://blog.yufeng.info/archives/1615hibernate的作用是在進程閑的時候或者記憶體緊張的時候,通過重新整理進程的堆和棧記憶體來減少記憶體的消耗,同時維持進程之前的狀態,但是誤用會引起些問題,這裡我們來展開下。erlang:hibernate文檔參考這裡erlang:hibernate(Module, Function, Args)Types:Module = Function = atom()Args = [term()]Puts the
轉載:http://blog.sina.com.cn/s/blog_49faf32901008pap.html 作者:Joe Armstrong原文:What’s all this fuss about Erlang譯者:朱照遠(Joshua Zhu) 許式偉(XuShiWei)What’s all this fuss about Erlang?沒人可以預言未來,但我卻打算做一些有依據的推測。讓我們假設 Intel 是正確的,而且 Keifer 項目會獲得成功。如果是這樣,那麼 32
轉載:http://stackoverflow.com/questions/2789668/finding-some-good-erlang-booksHere are a few resources:Programming Erlang, by Joe Armstrong. A good book, really teaching you more about the fundamentals of Erlang and hot the abstractions are built.
轉載:http://stackoverflow.com/questions/787755/how-to-add-a-node-to-an-mnesia-clusterStart your new node (b@node) erl -sname b -mnesia dir '"/path/to/storage"' -s mnesia. This starts a new ram_copes node calledb@node.On your original node (a@node), at
轉載:http://bunnyamqp.wordpress.com/2009/08/21/amqp-basic-publish-immediate-versus-mandatory/ I was unclear about the difference between the mandatory and immediate options for the AMQP Basic.Publish method, so I did a little investigation with Bunny
Getting StartedFirst StepsThe best way to get going with Rebar is to use it to construct andbuild a simple Erlang application. First, let's create the directory for our application:$ mkdir myapp; cd myappNow, download the rebar binary into our
轉載:https://bitbucket.org/basho/rebar/wiki/CommandsCommandsRebar provides support for the most commonly encountered developmentactivities, include:compilationunit testing and coverage analysisstatic analysis (through Dialyzer and Xref).documentation
轉載:https://bitbucket.org/basho/rebar/wiki/Building BuildingDependenciesTo build rebar you will need a working installation of Erlang R13B03 (or later).Should you want to clone the Basho rebar repository,you will alsorequire the Mercurial client