Comments (4)
Very good idea, I feel like we can implement a set of plugins for SurrealDB.
from rmqtt.
I can help ..
The primary use case is edge nodes where the data mutations running through the message broker into the db.
it’s a simple CQRS pattern where reads hit the db and writes hit. the message queue. Typically a director ( or proxy ) is added to sniff the SQL and forward the request to the right thing. So then it’s automatic.
so a plugin would sit on all db nodes and subscribe to events and transact them into the db .
The main advantage is that you can have many db instances and they are serverless too. Serverless in that a new empty db can be started and it will fill up with data by getting all old messages.
you can have 3 db in each continent with all staying in sync ( eventual consistency ).
from rmqtt.
However, I don't have any scenarios involving SurrealDB in my work, so I don't know how to implement a SurrealDB plugin. Can you help me with it?
from rmqtt.
I am pretty bad at rust. Am more of s golang dev.
I was thinking about the plugins being a wasm runner so that it’s possible to write plugins in any language. It’s not that hard these days with wasm rust being pretty mature.
The plugins are making network calls or direct api calls to the main rust code ? I ask because it matters in terms of interoperability complexity for wasm based plugins
from rmqtt.
Related Issues (20)
- 打包的文件大小是否能压缩小的? HOT 1
- [Question] if auth/acl http callback error message can be sent to client? HOT 2
- http-api fails in firefox script => Reason: CORS header ‘Access-Control-Allow-Origin’ missing HOT 2
- /mqtt/subscribe Not Found HOT 4
- Upgrade salvo web server to latest 0.44 and add logging and add webserver configuration HOT 5
- Client ID not randomly generated HOT 3
- http://127.0.0.1:9090/mqtt/acl: connection closed before message completed HOT 3
- remove unnecessary variable to be mutable HOT 1
- 本地搭建集群,验证生产和消费流程。返回错误信息Handshake try lock failed HOT 3
- 集群部署,节点选举出现“Leader ID exception” HOT 3
- 关于paho.mqtt.testing测试rmqtt HOT 27
- tls认证问题 HOT 2
- Apple arm release HOT 1
- Templates and push HOT 2
- login does not correctly handle error HTTP response HOT 9
- Subscriptions after server restart and data persistence. HOT 4
- how to only provide tls external port HOT 3
- question: plugin usage HOT 4
- Publish to crates.io HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rmqtt.