Skip to content

erlanger/btune

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

btune - Gproc-based cluster-wide messaging

Version: 0.3.1-1-g192527c

Authors: erlanger.

This application implements a simple cluster-wide message broadcasting/listening library.

Version 0.3 includes the get_pid function.

It is meant to be a specific type of publish/subscribe model adapted to erlang's messaging and node structure.

key
A key is any erlang term() that identifies a desire to listen to messages. In the case ofget_pid(...) it identifies a server that has been registered {via,grpoc,{n,l,Key}}.
cluster

A cluster is defined as all the nodes connected to the current node. In order to have a dynamic cluster, where nodes can be automatically discovered you can usenodefinder at http://github.com/erlanger/nodefinder to enable automatic discovery of nodes. It is very easy, just include the nodefinder app in your release, and it's done. No code to write.

With the use of nodefinder a cluster is dynamically managed and all nodes on the LAN having the same erlang cookie and runningnodefinder are automatically added so that btune is always connected to all the nodes.
  1. Simple API

  2. It is based on gproc, so its foundation is solid.

  3. Broadcast messages cluster-wide without having to know about Pids.

  4. Listen to messages without having to know about registered servers.

  5. Match keys with a pattern similar to ets:match().

Click on the btune module below to get to the documentation.

Modules

btune

About

gproc-based cluster-wide broadcast/listen messaging

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors