Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Martin Sústrik - ZeroMQ / Nanomsg (WebElement #29)
Search
WebElement
June 19, 2014
Programming
1
240
Martin Sústrik - ZeroMQ / Nanomsg (WebElement #29)
WebElement
June 19, 2014
Tweet
Share
More Decks by WebElement
See All by WebElement
Marián Bodnárik - Ako podnikať nielen na webe (WebElement #11 Prešov)
webelement
0
270
Tomáš Kulich - Dart (WebElement #27)
webelement
0
250
Matúš Duchoň - Chrome Apps (WebElement #4 Prešov)
webelement
0
250
Igor Hlina - Coffeescript (WebElement #26)
webelement
1
95
Milan Kurečko - Foundation (WebElement #3 Prešov)
webelement
0
260
Other Decks in Programming
See All in Programming
雑に思考を整理する技術と効能
konifar
55
24k
Javaエンジニアのための Nodejs/Nuxt3入門
hidekatsu_izuno
0
280
入門 AWS Amplify Gen2 / Introduction to AWS Amplify Gen2
genkiogasawara
1
310
PostmanでAPIの動作確認が楽になった話
h455h1
0
110
プールにゆこう
irof
2
120
Ruby製社内ツールのGo移行
bgpat
2
330
pixivアプリでマルチモジュールを実現するまで
gatosyocora
1
130
Milestoner
bkuhlmann
1
400
Folding Cheat Sheet #1
philipschwarz
PRO
0
210
GitHub Actionsで泣かないためにやっておきたい設定 / Recommended GHA settings to avoid crying
pinkumohikan
3
480
せっかくモデル図描くのなら、嬉しいことが多い方がいいよね!
kuboaki
1
3.1k
脱・初心者!脱・マネコン!AWS CDKを使ってみませんか!?
har1101
0
300
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
22
3.9k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
8
8.3k
Git: the NoSQL Database
bkeepers
PRO
421
63k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
240
1.2M
Pencils Down: Stop Designing & Start Developing
hursman
116
11k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
225
51k
Imperfection Machines: The Place of Print at Facebook
scottboms
258
12k
Optimizing for Happiness
mojombo
369
69k
A Modern Web Designer's Workflow
chriscoyier
689
190k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
18
1.7k
Robots, Beer and Maslow
schacon
PRO
154
7.9k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
6
990
Transcript
ØMQ / nanomsg Martin Sústrik www.250bpm.com
[email protected]
None
require 'rubygems' require 'ffi-rzmq' context = ZMQ::Context.new socket = context.socket(ZMQ::REQ)
socket.connect('tcp://localhost:5559') socket.send_string("Hello") puts socket.recv_string ('')
require 'rubygems' require 'ffi-rzmq' context = ZMQ::Context.new socket = context.socket(ZMQ::REP)
socket.bind("tcp://*:5559") while true do request = socket.recv_string ('') socket.send_string("World") end
Scalability Protocols (Messaging Patterns)
None
None
require 'rubygems' require 'ffi-rzmq' context = ZMQ::Context.new socket = context.socket(ZMQ::REQ)
socket.connect('tcp://192.168.0.1:5559') socket.connect('tcp://192.168.0.2:5559') socket.connect('tcp://192.168.0.3:5559') while true do socket.send_string("Hello") puts socket.recv_string ('') end
None
require 'rubygems' require 'ffi-rzmq' context = ZMQ::Context.new socket = context.socket(ZMQ::PUB)
socket.bind("tcp://*:5559") while true socket.send_string("Hello") sleep (1) end
require 'rubygems' require 'ffi-rzmq' context = ZMQ::Context.new socket = context.socket(ZMQ::SUB)
socket.connect("tcp://srv.example.org:5559") socket.setsockopt(ZMQ::SUBSCRIBE, "") while true do puts socket.recv_string ('') end
None
None
None
Example Multiplayer Game
None
None
None
Scaling Up (devices)
None
None
Theoretical Background
None
None
None
Work in Progress
IETF TAPS WG Coroutines in C Code Generation Monitoring Security
Transport agnostic L4 API https://github.com/sustrik/mill https://github.com/sustrik/ribosome
nanomsg.org zeromq.org