redismessagebus有没有单机方案 #1862
Replies: 2 comments
-
|
In the examples directory of this project, launching the demo program requires a dependency on Redis. If in-memory storage and an in-memory MessageBus were supported, starting this demo would be much easier. I have implemented MemStorage and MemMessageBus in a branch of my fork, but I haven't submitted a PR yet because it may not align with your sharing principles (I haven't read the CONTRIBUTING document yet). here If you're interested in implementing these two small code snippets, feel free to take a look for reference. |
Beta Was this translation helpful? Give feedback.
-
|
@defengwang As @wxk6b1203 mentioned, you can inherit the MessagebusBase class and implement an in-memory version as a standalone alternative. This approach works well for single-node deployments where installing Redis may be overkill. You can refer to @wxk6b1203's fork for a reference implementation. @wxk6b1203 If you're open to it, we'd love to see this contributed to the main repo! Feel free to submit a PR — an in-memory MessageBus implementation would be a great addition to AgentScope, especially for users who want a lightweight, single-node setup without the Redis dependency. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
messagebus 目前看是必须,但如果我要做单机版的也必须本机安装redis有点不合理,有没有其他替代方案
Beta Was this translation helpful? Give feedback.
All reactions