- IO bound work
- httpie
- jq
- Cache
- LevelDB - pros: fast disk lookups; cons: cache must be built/maintained
- Memcached - scalable key/value lookup
- Redis - Rich
- SQL:
- Postgres - Rich and compliant
- Plugins:
- PGPartman - sharding, automatic cleanup of large event tables
- Plugins:
- Postgres - Rich and compliant
./site-packages/sitecustomize.py
pip install line_profiler
# Add decorator `@profile` to a method or function in example.py
kernprof -l -v example.py
# Can be used with pytest
kernprof -l -v py.test -v tests/