Skip to content

Redis-based LoggerManager backing store #100

Open
@davidpablocohn

Description

@davidpablocohn

Is your feature request related to a problem? Please describe.
The LoggerManager keeps track of desired/current state of loggers via a backing store. Currently there are three ways it can do that: in-memory (which gets lost when LM is restarted), piggybacking on Django's backing store, or via HAPI. Given that a lot of people seem to recommend Redis for storing/passing information around (and proportionally don't like the weight of Django), it may make sense to have a Redis-based backing store.

Describe the solution you'd like
Presumably an additional accepted value for the logger_manager.py "--database" flag. Would need to specify where the server in question was, so maybe something like:

   logger_manager.py --websocket :8765 --database redis@localhost:6379

or have a separate flag for additional information:

   logger_manager.py --websocket :8765 --database redis --redis_server localhost:6379

Flag could be optional, e.g. if connecting to default hostname:port of localhost:6379

Describe alternatives you've considered
Might it make sense to just fold this into the HAPI interface? I really still don't understand HAPI.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions