Session backend for production

14 views
Skip to first unread message

Lorenzo Peña

unread,
Nov 25, 2019, 4:11:43 PM11/25/19
to Django users
Hello, fellow djangonauts!

Is there any particular reason why should I pick memcached backed sessions in production over db, or viceversa? Most documentation seems to slightly suggest that memcached should perform faster than database. Any other criteria I should be aware of? I am using single database for multi-tenant application, so I am expecting over-average db traffic.

Thanks in advance!
Lorenzo

Parth Joshi

unread,
Nov 25, 2019, 10:07:43 PM11/25/19
to django...@googlegroups.com
Cache implementation will be definitely use faster if you are using MVT. If using REST (DRF) then token Auth definitely helps.


Regards, 

Parth Joshi



--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ac9c9ede-86bf-4136-8bc1-91137e80e9ef%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages