#36836: Add version identification to Redis cache backend
---------------------------+-----------------------------------------------
     Reporter:  vchomakov  |                     Type:  New feature
       Status:  new        |                Component:  Core (Cache system)
      Version:  dev        |                 Severity:  Normal
     Keywords:             |             Triage Stage:  Unreviewed
    Has patch:  0          |      Needs documentation:  0
  Needs tests:  0          |  Patch needs improvement:  0
Easy pickings:  0          |                    UI/UX:  0
---------------------------+-----------------------------------------------
 The Redis documentation recommends that clients identify themselves using
 the lib_name and lib_version connection parameters. This helps Redis
 operators monitor connections and debug issues in production environments.

 See: https://redis.io/docs/latest/commands/client-setinfo/

 Django's Redis cache backend should follow this recommendation by
 automatically setting these parameters when creating connection pools.

 Proposed implementation:
 - Set lib_name to 'redis-py(django_v{version})'
 - Set lib_version to the redis-py version
 - Only set these if not already provided by the user (backward compatible)
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36836>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019b6a41ae68-535426d6-bfb3-45f0-b2bc-68f39a74305f-000000%40eu-central-1.amazonses.com.

Reply via email to