Add the ability to use prefix on Redis #8561

Closed
opened 2025-12-29 20:38:13 +01:00 by adam · 2 comments
Owner

Originally created by @ArpStorm1 on GitHub (Sep 2, 2023).

NetBox version

v3.5.8

Feature type

New functionality

Proposed functionality

Hello netbox community!

We are running a Redis on production, and in order to distinguish applications we made sure each of our applications would use prefix, so we can identify them.

Adding prefix is also supported on django using the KEY_PREFIX keyword.

However, when I tried to add this to the configuration,py, I noticed the netbox ignored completly from this configuration.

Use case

Using prefix can help to distingusih applications in the same database, so netbox user can ask for one database from redis

Database changes

No response

External dependencies

No response

Originally created by @ArpStorm1 on GitHub (Sep 2, 2023). ### NetBox version v3.5.8 ### Feature type New functionality ### Proposed functionality Hello netbox community! We are running a Redis on production, and in order to distinguish applications we made sure each of our applications would use prefix, so we can identify them. Adding prefix is also supported on django using the KEY_PREFIX keyword. However, when I tried to add this to the configuration,py, I noticed the netbox ignored completly from this configuration. ### Use case Using prefix can help to distingusih applications in the same database, so netbox user can ask for one database from redis ### Database changes _No response_ ### External dependencies _No response_
adam added the type: featurepending closure labels 2025-12-29 20:38:13 +01:00
adam closed this issue 2025-12-29 20:38:13 +01:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 2, 2023):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Dec 2, 2023): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. **Do not** attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@jeremystretch commented on GitHub (Dec 26, 2023):

Best practice is to run separate Redis instances for each application, for many reasons. Prefixes are not meant to be used for this purpose.

@jeremystretch commented on GitHub (Dec 26, 2023): Best practice is to run separate Redis instances for each application, for many reasons. Prefixes are not meant to be used for this purpose.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8561