Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

v0.2.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@baransu baransu released this 23 Mar 20:15
· 21 commits to master since this release

Feature

Traffic view - new view showing message passing between nodes and processes within cluster.

Following example require erlangpl 0.5 or above

You can generate messages between nodes by querying a distributed database Mnesia.
To setup a Mnesia cluster, start several Erlang nodes with unique names e.g. a@, b@, c@, etc. and start the database on all of them:

erl -name a@127.0.0.1
(a@127.0.0.1)1> mnesia:start().

Then create a test_table and configure it to be replicated on all nodes:

(a@127.0.0.1)2> mnesia:change_config(extra_db_nodes, ['b@127.0.0.1']).
(a@127.0.0.1)3> mnesia:change_config(extra_db_nodes, ['c@127.0.0.1']).
(a@127.0.0.1)4> mnesia:change_config(extra_db_nodes, ['d@127.0.0.1']).
(a@127.0.0.1)5> mnesia:create_table(test_table, []).
(a@127.0.0.1)6> [mnesia:add_table_copy(test_table, Node, ram_copies) || Node <- nodes()].

Videos from the following experiments were posted on YouTube

[begin mnesia:transaction(fun() -> mnesia:write({test_table, Key, "value"}) end), timer:sleep(10) end || Key <- lists:seq(1,2000)].
[begin mnesia:sync_dirty(fun() -> mnesia:write({test_table, Key, "value"}) end), timer:sleep(10) end || Key <- lists:seq(1,2000)].
[begin mnesia:dirty_write({test_table, Key, "value"}), timer:sleep(10) end || Key <- lists:seq(1,2000)].

Fixes

  • Fixed issue with Elm watch in nested directories (#3)
  • Fixed history and state sync
  • Fixed sup-tree crash after one of OTP applications death
  • Fixed minor typos