action #46802
closed
Replace D-Bus with plain HTTP
Added by kraih almost 6 years ago.
Updated over 5 years ago.
Category:
Feature requests
Description
In preparation of replacing dbus with redis we first need to find the right way to add
redis.
- Choose the right Redis module to use (most likely
Mojo::Redis
)
- Package the module so our containers can use it
- Add a message passing module that provides a similar abstraction layer to how we use dbus currently
- Provide a simple way to start a redis server for tests (just like Postgres)
After it turned out that the resource allocator could just be removed without adding a replacement, i started to wonder if that might be the case for all our current uses of dbus. While it's not quite as straight forward for the websocket server and scheduler, there might be better options than using redis. I'm currently exploring the use of postgres pub/sub and/or plain HTTP as a replacement for dbus rpc. This might take a little time to figure out due to my limited understanding of the big picture, but the much simpler overall architecture should be worth it.
- Status changed from New to In Progress
Also worth mentioning that my original proposal to use redis was based on the assumption that dbus was used for message passing in openQA. But that turned out to be false, in all instances it is used exclusively for blocking RPC.
- Subject changed from Add basic redis support to Replace D-Bus with plain HTTP
- Category set to Feature requests
merged, also the update of the architecture diagram.
deployed on o3 since yesterday without any visible problems. I wonder about one thing: Do we still have AMQP messages output? Not sure if this is related but the only thing I could think of right now that can still go wrong ;)
how is amqp relate to dbus and/or the scheduler?
hopefully not at all :) Just thought maybe some "events" would be hijacked which are not there even more. But if you say it's not the case I am sure we are good.
- Status changed from In Progress to Resolved
Also available in: Atom
PDF