diff options
author | Nathan Lasseter <nathan.je.lasseter@googlemail.com> | 2011-01-27 23:18:44 +0000 |
---|---|---|
committer | Nathan Lasseter <nathan.je.lasseter@googlemail.com> | 2011-01-27 23:18:44 +0000 |
commit | d0aff34c5c7f08e341428010e70a35910d9a20ca (patch) | |
tree | 462d9282ed68dcef8666040eafbabe716157c78a /README | |
parent | f631a7508eff5af5c6ec5f6af006d9d4b33c776b (diff) |
Node Distribution
Diffstat (limited to 'README')
-rw-r--r-- | README | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -5,9 +5,10 @@ start_bal/0 spawns a balancer. stop_bal/1 takes a balancer and kills all of its servers and then kills the balancer. list_servers/1 takes a balancer and returns a list of the servers it balances over. -start_server/2 takes a balancer and a function and spawns a server to serve the function. +start_server/2 takes a balancer, a node and a function and spawns a server on the node to serve the function. stop_server/2 takes a balancer and a server PID and stops the server and removes it from the balancer. +make_request/1 takes a balancer and returns the response from the server. make_request/2 takes a balancer and an argument and returns the response from the server. |