Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 57 lines (40 sloc) 2.641 kb
7626a15 @kwi modif README
authored
1 = BrB - Easy and Fast distributed ruby
0e0a36c @kwi First release on Github :) Need cleanup
authored
2
3adaa34 @kwi modif readme (thanks bwalton)
authored
3 BrB is a simple, fully transparent and extremely fast interface for doing simple distributed Ruby.
4 The core of the architecture is provided by EventMachine (a fast and reliable IO event library).
5
6 BrB was built in order to achieve these 4 main goals :
7 * Simple and fast message passing between distant Ruby processes.
8 * Message passing with of return values when needed.
9 * Being extremely fast in order to handle more than a few thousand messages per second.
922ecc1 @kwi Add examples
authored
10 * Being completely transparent for developer.
b485f94 @kwi More spec, little clean up, More in Readme
authored
11
3adaa34 @kwi modif readme (thanks bwalton)
authored
12 The principle is simple and inspired from Drb (standard distributed ruby library) :
13 A process exposes an object over the network and any ruby process (after having established a connection tunnel) can directly call a method on the exposed object. BrB handles that part, so it’s fully transparent in the Ruby code.
b485f94 @kwi More spec, little clean up, More in Readme
authored
14
15 BrB only support message passing with Marshable dumpable object : String, symbol, Array, hash, Number, Object etc...
16 That mean you can not send file descriptor, Thread or another funky things like that :)
17
6b3c414 Added the Google Group url
guillaume authored
18 For any question, use the Ruby BrB google group: http://groups.google.com/group/ruby-brb
19
7626a15 @kwi modif README
authored
20 == Main Functionalities
b485f94 @kwi More spec, little clean up, More in Readme
authored
21
7626a15 @kwi modif README
authored
22 * Unlimited objects exposed
23 * Processes can expose object and be client to exposed object too at the same time
24 * Do not wait for return by default : just do simple message passing
9c83196 @kwi Added non blocking callback functionality, little specs refactoring. Bum...
authored
25 * Handle return values without blocking with the usage of a simple block
d642d83 @kwi Modif readme
authored
26 * Blocking wait for a return value if needed by simply adding <em>_block</em> at the end of the method name
7626a15 @kwi modif README
authored
27 * Transmission of Exception when blocking call
28 * Thread safe if used correctly with Event Machine
b485f94 @kwi More spec, little clean up, More in Readme
authored
29
7626a15 @kwi modif README
authored
30 == How it works
b485f94 @kwi More spec, little clean up, More in Readme
authored
31
32 First of all, a process declare himself as a sever and expose any object on a given address and port.
33 Then, any number of distant processes can create a <em>Tunnel</em> with that server and can expose an object in exchange too.
34 After connection are ready, just call method on the tunnel. It will just act like normal method calling on the exposed object !
35
3adaa34 @kwi modif readme (thanks bwalton)
authored
36 == What BrB is designed for ?
b485f94 @kwi More spec, little clean up, More in Readme
authored
37
922ecc1 @kwi Add examples
authored
38 * Doing Simple message passing between ruby process.
39 * Connecting hundred of ruby process transparently.
40 * Building a real-time scalable (game) server
41 * Taking important load on a server easily just by distributing the load on multiple BrB instance.
42 * Taking advantage of multi-core and multi-threaded systems.
0e0a36c @kwi First release on Github :) Need cleanup
authored
43
7626a15 @kwi modif README
authored
44 == TODO
922ecc1 @kwi Add examples
authored
45 * Writing more examples
7626a15 @kwi modif README
authored
46 * Publish Benchmarks VS drb
47 * Improve logging mechanism
922ecc1 @kwi Add examples
authored
48 * Clean up
0e0a36c @kwi First release on Github :) Need cleanup
authored
49
bda47d2 @kwi Ad contributors to README
authored
50 == Contributors
51
52 * kwi (Guillaume Luccisano)
53 * bwalton (Brian Walton)
54
74703dc @kwi Add contributors to README
authored
55
922ecc1 @kwi Add examples
authored
56 Copyright (c) 2009-2010 Guillaume Luccisano - g-mai|: guillaume.luccisano, released under the MIT license
Something went wrong with that request. Please try again.