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
Swarrot - A library to consume them all
Search
Olivier Dolbeau
April 07, 2014
Programming
2
2k
Swarrot - A library to consume them all
Lightninh talk about Swarrot given at sfLive Paris 2014.
Olivier Dolbeau
April 07, 2014
Tweet
Share
More Decks by Olivier Dolbeau
See All by Olivier Dolbeau
Throw new \Exception(); Oui, mais laquelle ?
odolbeau
1
240
Jane & Webby
odolbeau
0
410
Translating a monolingual application
odolbeau
2
600
DX: Developer eXperience
odolbeau
1
99
DX: Developer eXperience
odolbeau
1
550
EasyAdminBundle introduction
odolbeau
0
180
REX API Platform
odolbeau
0
1.3k
Features flags at BlaBlaCar
odolbeau
5
1.1k
25+ million members in 22 countries, how to scale with Symfony2
odolbeau
2
520
Other Decks in Programming
See All in Programming
開発組織の戦略的な役割と 設計スキル向上の効果
masuda220
PRO
10
1.9k
Blazing Fast UI Development with Compose Hot Reload (droidcon London 2025)
zsmb
0
420
AIのバカさ加減に怒る前にやっておくこと
blueeventhorizon
0
120
NixOS + Kubernetesで構築する自宅サーバーのすべて
ichi_h3
0
1.3k
Ktorで簡単AIアプリケーション
tsukakei
0
120
登壇は dynamic! な営みである / speech is dynamic
da1chi
0
390
CSC305 Lecture 10
javiergs
PRO
0
320
Node-REDのノードの開発・活用事例とコミュニティとの関わり(Node-RED Con Nagoya 2025)
404background
0
110
業務でAIを使いたい話
hnw
0
190
Designing Repeatable Edits: The Architecture of . in Vim
satorunooshie
0
140
社会人になっても趣味開発を続けたい! / traPavilion
mazrean
1
110
CSC305 Lecture 12
javiergs
PRO
0
240
Featured
See All Featured
Building Applications with DynamoDB
mza
96
6.7k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Designing Experiences People Love
moore
142
24k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Speed Design
sergeychernyshev
32
1.2k
What's in a price? How to price your products and services
michaelherold
246
12k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
34
2.3k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.2k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
Statistics for Hackers
jakevdp
799
220k
Transcript
Swarrot A library to consume them all
To consume what?? Messages
From where ? Any broker !
Yeah, it’s about asynchronous tasks! Because asynchronous is good u
know?
There is 2 actors • Producer • Consumer
Swarrot What it really is.
An open source library • License: MIT • https://github.com/swarrot/swarrot •
Started 1 month ago
How it works Just listen
Create a message provider
Create a processor
OK, you’re done! Consume!
WAIT!!! That’s not all!
It’s all about decoration!
Some processors And what they do!
ExceptionCatcherProcessor You just see it! Useful in prod env only.
InstantRetryProcessor Something wrong happened? OK, try again! Useful for API
calls.
SignalHandlerProcessor You don’t want to stop your consumer immediately if
they are working! A must have!
Others • AckProcessor • MaxExecutionTimeProcessor • MaxMessagesProcessor • RetryProcessor •
...
Who started this? Me! Web architect @odolbeau
But I’m not alone! • Rémy Lemeunier (remyLemeunier) • Grégoire
Pineau (lyrixx) • Willy Morin (kaiska) • Yohan Giarelli (yohang) THANK YOU!
Feel free to contribute!
One more thing!
It’s already used in production!
Thank you!