Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Martin Sústrik - ZeroMQ / Nanomsg (WebElement #29)
Search
WebElement
June 19, 2014
Programming
280
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Martin Sústrik - ZeroMQ / Nanomsg (WebElement #29)
WebElement
June 19, 2014
Transcript
28 slides
Ø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
More Decks by WebElement
See All by WebElement
Marián Bodnárik - Ako podnikať nielen na webe (WebElement #11 Prešov)
webelement
0
400
Tomáš Kulich - Dart (WebElement #27)
webelement
0
320
Matúš Duchoň - Chrome Apps (WebElement #4 Prešov)
webelement
0
310
Igor Hlina - Coffeescript (WebElement #26)
webelement
1
110
Milan Kurečko - Foundation (WebElement #3 Prešov)
webelement
0
300
Other Decks in Programming
See All in Programming
DroidKnights 2026 Android A2UI Jetpack Compose 기반의 안전한 AI UI 렌더링 - 박제창
itsmedreamwalker
1
220
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
4
3.8k
AIがコードを書いてくれる時代、我々は何を確かめるのか
yosuke_furukawa
PRO
13
5.9k
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
2.3k
AI時代のシニアエンジニアとは
yosuke_furukawa
PRO
15
11k
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
100
Seven New Principles of Software Engineering
yegor256
0
480
自作Discord音声botをLambda MicroVMsに移行した話 / Migrating My Discord Voice Bot to Lambda MicroVMs
akihisaikeda
1
310
Distance field of Julia set
kinakomoti321
0
320
Engineering Biometric UX Across Android Versions | DroidKnights 2026
ryunen344
1
190
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
610
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
370
Featured
See All Featured
The Limits of Empathy - UXLibs8
cassininazir
2
780
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
780
BBQ
matthewcrist
90
10k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
530
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
400
Abbi's Birthday
coloredviolet
5
11k
Google's AI Overviews - The New Search
badams
0
1.7k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
370
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
60k