step away from that database
play

Step Away From That Database Andrew Godwin DjangoCon 2010 O HAI - PowerPoint PPT Presentation

Step Away From That Database Andrew Godwin DjangoCon 2010 O HAI ""Andrew speaks English like a machine gun speaks bullets."" Reinout van Rees Databases Relational Databases PostgreSQL MySQL SQLite Document Databases


  1. Step Away From That Database Andrew Godwin DjangoCon 2010

  2. O HAI

  3. ""Andrew speaks English like a machine gun speaks bullets."" Reinout van Rees

  4. Databases

  5. Relational Databases PostgreSQL MySQL SQLite

  6. Document Databases MongoDB CouchDB

  7. Key-Value Stores Redis Cassandra

  8. Message Queues AMQP Celery

  9. Various Others Graph databases Filesystems VCSs

  10. Just add Django For best results,

  11. Key/Value import redis rdb = redis.Redis(host="localhost") rdb.set("somekey", "somevalue") print rdb.get("somekey")

  12. Document Databases Django itself (soon) Raw MongoEngine / django-nonrel

  13. MongoEngine example class Comment(EmbeddedDocument): content = StringField() class Page(Document): comments = ListField( EmbeddedDocumentField(Comment) )

  14. Message Queues Raw Celery

  15. VCSs Dulwich (git) Mercurial

  16. NoSQL

  17. NoSQL “Not Only SQL” “Non-rel”

  18. Schemaless Databases The dark side of

  19. Honey, I Changed The Schema Database/Branch discord Conditional madness Data migrations

  20. Relational Integrity

  21. Relational Databases The changing face of

  22. Schemas ain't so rigid

  23. JSON column types

  24. LISTEN / NOTIFY

  25. There's no single good solution.

  26. There's no single good solution. (and friends don't let friends use MySQL)

  27. Thanks. Andrew Godwin @andrewgodwin http://aeracode.org

Recommend


More recommend