Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
birdisle: an in-process redis for unit testing by Bruce Merry
Pycon ZA
October 12, 2018
Programming
0
74
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
100
Preparing for the great snakes migration by Heather Williams
pyconza
0
24
Satellite Data and Super-Resolution to enhance a Slope Soaring Simulator by Schalk Heunis
pyconza
0
72
"Should we just go home on the third Friday afternoon?" by Kim van Wyk
pyconza
0
39
"Dolosse: Distributed Physics Data Acquisition System" by Bertram Losper & Sehlabaka Qhobosheane
pyconza
0
63
Modern JavaScript for Python Developers by Cory Zue
pyconza
0
170
Making Art with Python by Kirk Kaiser
pyconza
0
110
"Posits: A proposed new floating point number format for ML" by Kevin Colville
pyconza
0
48
"Building a label printer using Python, Arduino, duct tape and paperclips" by Johan Beyers
pyconza
0
110
Other Decks in Programming
See All in Programming
Techniques in Program Development for Statistical and Quantum Physics / 統計物理・量子物理のためのプログラム開発技術
wistaria
0
150
How to say goodbye to technical debt
makicamel
7
1.1k
Web-Frontend-Patterns und Practices
joergneumann
1
130
k8s@home#1
yuanying
1
330
Elm Form Validation
bkuhlmann
0
260
PostgreSQL 15とRailsと
yahonda
0
180
sassc-railsを利用している我々は、Sassの@importの非推奨化をどのように乗り越えていくか
mh4gf
3
310
PLATEAUをデータベースに取り込んでみた
regonn
0
670
PyCon JP 2022/ASTに入門する
atamaplus
4
1.3k
How to avoid common pitfalls with modern microservices testing
hollycummins
0
240
共通コンポーネントのテスト実装方法にあえてVRTを選択した話 / why do we choose VRT for testing shared components
panda_program
1
990
あなたとRails
yahonda
2
410
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
316
22k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
42
14k
JazzCon 2018 Closing Keynote - Leadership for the Reluctant Leader
reverentgeek
174
8.8k
The Web Native Designer (August 2011)
paulrobertlloyd
75
2.1k
Why Our Code Smells
bkeepers
PRO
326
55k
Raft: Consensus for Rubyists
vanstee
128
5.6k
Clear Off the Table
cherdarchuk
79
290k
Rails Girls Zürich Keynote
gr2m
87
12k
Become a Pro
speakerdeck
PRO
3
3k
Rebuilding a faster, lazier Slack
samanthasiow
64
7.4k
Building Adaptive Systems
keathley
25
1.2k
BBQ
matthewcrist
74
8k
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'