Skip to content

Instantly share code, notes, and snippets.

@eddiecorrigall
Last active November 14, 2017 21:51
Show Gist options
  • Save eddiecorrigall/6acd1a7716af5416595f72610b7d9775 to your computer and use it in GitHub Desktop.
Save eddiecorrigall/6acd1a7716af5416595f72610b7d9775 to your computer and use it in GitHub Desktop.
Software Engineering Tools

Software Engineering Tools

What is?

  • IO bound work

Command Line Tools

Querying RESTful APIs

  • httpie
  • jq

Storage

  • 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

Python

Startup scripts

./site-packages/sitecustomize.py

Performance Analysis

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/

Frameworks / Libraries

Threads / Processes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment