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
birdisle: an in-process redis for unit testing ...
Search
Pycon ZA
October 12, 2018
Programming
0
95
birdisle: an in-process redis for unit testing by Bruce Merry
A Lightning Talk at PyConZA 2018
Pycon ZA
October 12, 2018
Tweet
Share
More Decks by Pycon ZA
See All by Pycon ZA
Trio: Structured Concurrency for Python by Jeremy Thurgood
pyconza
0
170
Preparing for the great snakes migration by Heather Williams
pyconza
0
57
Satellite Data and Super-Resolution to enhance a Slope Soaring Simulator by Schalk Heunis
pyconza
0
110
"Should we just go home on the third Friday afternoon?" by Kim van Wyk
pyconza
0
71
"Dolosse: Distributed Physics Data Acquisition System" by Bertram Losper & Sehlabaka Qhobosheane
pyconza
0
120
Modern JavaScript for Python Developers by Cory Zue
pyconza
0
260
Making Art with Python by Kirk Kaiser
pyconza
0
170
"Posits: A proposed new floating point number format for ML" by Kevin Colville
pyconza
0
100
"Building a label printer using Python, Arduino, duct tape and paperclips" by Johan Beyers
pyconza
0
230
Other Decks in Programming
See All in Programming
急成長期の品質とスピードを両立するフロントエンド技術基盤
soarteclab
0
890
Keeping it Ruby: Why Your Product Needs a Ruby SDK - RubyWorld 2024
envek
0
160
SymfonyCon Vienna 2025: Twig, still relevant in 2025?
fabpot
3
1.1k
rails statsで大解剖 🔍 “B/43流” のRailsの育て方を歴史とともに振り返ります
shoheimitani
2
870
わたしの星のままで一番星になる ~ 出産を機にSIerからEC事業会社に転職した話 ~
kimura_m_29
0
160
KubeCon + CloudNativeCon NA 2024 Overviewat Kubernetes Meetup Tokyo #68 / amsy810_k8sjp68
masayaaoyama
0
230
Jakarta EE meets AI
ivargrimstad
0
180
MCP with Cloudflare Workers
yusukebe
2
200
Symfony Mapper Component
soyuka
2
680
talk-with-local-llm-with-web-streams-api
kbaba1001
0
170
「Chatwork」Android版アプリを 支える単体テストの現在
okuzawats
0
160
今年一番支援させていただいたのは認証系サービスでした
satoshi256kbyte
1
240
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.3k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
111
49k
Testing 201, or: Great Expectations
jmmastey
40
7.1k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.5k
Fireside Chat
paigeccino
34
3.1k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
What's in a price? How to price your products and services
michaelherold
243
12k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Typedesign – Prime Four
hannesfritz
40
2.4k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Optimizing for Happiness
mojombo
376
70k
Transcript
birdisle birdisle An in-process redis for unit testing An in-process
redis for unit testing
In [1]: import redis r = redis.StrictRedis('localhost') r.set('hello', 'world') r.get('hello')
Out[1]: b'world'
Problems Problems Redis is not friendly to embedding in a
process. It has lots of global state installs signal handlers changes rlimits changes global locale settings forks does logging exits without freeing any resources
In [2]: import birdisle.redis b = birdisle.redis.StrictRedis() b.set('hello', 'world') b.get('hello')
Out[2]: b'world'