Commits

Kenneth Love committed ec58027

last notes

  • Participants
  • Parent commits a3bbfd1

Comments (0)

Files changed (1)

File docs/pdx_python_meetup_sept_11.rst

 
         Q: How are reads consistent without locks?
             A: Double buffering.
+
+
+``django-slow-log`` or How we found a view doing 100k queries
+-------------------------------------------------------------
+
+    Things it does:
+
+        * Query count.
+        * Hostname of the machine.
+        * Time delta of request started til response started.
+        * Memory delta.
+        * Load delta.
+        * Etc.
+
+    How it does it:
+
+        * Database backend.
+        * Uses celery.
+        * A couple system calls for the deltas.
+
+    Who should use it:
+
+        * Any Django site that does anything interesting (sites that do a decent amount of traffic, several hits per minute)