Performance

A few of the queries in the manager are a little crazy due to the need to check parent questions when responses are inherited status. We recommend ensuring the following indexes for the following fields:

DB Indexes

  • question & response `id` (Django does by default)
  • question & response `user_id` (Django does by default)
  • question & response `status` (we do this by default because query by statuses a lot!)

Email Alerts

If you decide to turn on email alerts, we highly recommend using something like django-celery-email or creating your own function for delayed execution with Celery, gevent, or whatever.

Table Of Contents

Previous topic

Customize

Next topic

Settings

This Page