Giter Site home page Giter Site logo

Integration about rmqtt HOT 4 OPEN

rmqtt avatar rmqtt commented on May 9, 2024
Integration

from rmqtt.

Comments (4)

rhello2999 avatar rhello2999 commented on May 9, 2024 1

Very good idea, I feel like we can implement a set of plugins for SurrealDB.

from rmqtt.

gedw99 avatar gedw99 commented on May 9, 2024 1

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.

rhello2999 avatar rhello2999 commented on May 9, 2024

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.

gedw99 avatar gedw99 commented on May 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.