EventMachine
17
EventMachine Yes, that’s NodeJS in Ruby Jonathan Weiss 02.07.2010
-
Upload
jonathan-weiss -
Category
Technology
-
view
7.303 -
download
1
Transcript of EventMachine
Protocol Support
TCP (+ SSL)
HTTP(s) / WebSocket
Memcached
SASLauth
Postgres3
SMTP
Sock4
Stomp
11
FileWatcher
Timer
PeriodicTimer
ProcessWatch
SpawnedProcess
Queue
Happening: S3 + EventMachine
$ sudo gem install eventmachine
Works with Ruby, Rubinius, and JRuby
13
EventMachine vs. NodeJS
15
EventMachine NodeJS
Engine Ruby V8
Available Libraries All Ruby libs, gems, … Only NodeJS libs
Possibility to block YES NO
Coding Style Callbacks, Procedural with fibers
Callbacks
© Peritor GmbH - Alle Rechte vorbehalten
Peritor GmbH Blücherstr. 22, Hof III Aufgang 6 10961 Berlin
Tel.: +49 (0)30 69 20 09 84 0 Fax: +49 (0)30 69 20 09 84 9
Internet: www.peritor.com E-Mail: [email protected]
Q&A