Skip to content

Only cache based sessions - no database sessions

David Burke requested to merge cache-sessions-only into master

I'm thinking I'm going to force glitchtip sessions to use cache/redis backed sessions. Instead of defaulting to postgres database sessions. Would anyone oppose this? Benefits:

  • Deletes a few lines of configuration
  • Faster
  • Even if some day we support redis-less glitchtip, it could fallback to database cache
  • Avoid very unlikely errors that I don't notice because I generally use cache sessions

Drawbacks

  • Less customizable
  • Perhaps a memory based database is less persistent but it's easy to backup redis and it's not a huge deal to lose session data

Merge request reports