Running RQ-dashboard-fast in containerized services/K8S #96
naomatheus
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Hey @naomatheus! Thank you for bringing up this topic and starting this discussion. I haven't encountered the problem for myself, but I think I understand the mentioned limitations. What would be your ideas to solve this problem? I have some ideas too, but would be interested in your ideas. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey @Hannes221
I wanted to open a discussion about something. I appreciate fast_rq quite a lot as its created the observability I've been looking for.
One issue is giving me an idea and I wonder if you've thought about this before. One issue I'm having now is that when I'm running my fast rq dashboard in a separate service than the service connected to redis, then I run into import module issues.
Situation is: I run redis, redis-dashboard, and fastapi in separate services in my architecture. The main fastapi service uses the redis cache, uses the redis connection for queueing, and has its own internal module logic.
The problem arises when redis-dashboard tries to use the Job attributes, in effect calling methods/attributes on the Job. Since the Job in this context is happening in completely different context, non of the modules involved in processing that Job are accessible to the service running the dashboard.
I can think of some work arounds for this non-observability of successful jobs when in a microservice/containerized architecture, and may be able to contribute. But just curious if you've run into this issue already?
One thing that does work is Failed jobs report their status. Because I'm assuming the Failed jobs only need to access the ID and traceback from Redis, but they do not need to access or call attributes on the Job to know its status or get internal analytics or logging from the Job or Worker.
Beta Was this translation helpful? Give feedback.
All reactions