Giter VIP home page Giter VIP logo

Comments (7)

opensourcegeek avatar opensourcegeek commented on May 18, 2024 2

@tekjar Mainly to embed in another application. I know I can run this as a standalone broker and then subscribe from my application. However it would be much simpler (or easier) to deploy one application which has the broker embedded in it. I deploy these applications in proprietary (network) devices and there are few thousands of them, managing deployments to these remote devices with a lot of binaries is a struggle. My approach was going to be, embed the broker in sample application which can gather data from other clients (publish data) and push it to another central server which runs one of the pub/sub solutions like Google's Cloud pub/sub or the likes. Even though broker runs within same application i would start broker in a separate thread and I'd still subscribe to events from other threads to push it upstream I guess - may be it's a bad idea. Any suggestions?

from rumqttd.

tekjar avatar tekjar commented on May 18, 2024 1

@opensourcegeek @rrichardson Makes sense. I'll plan for that eventually. My first goal for this crate is to segregate broker/clients state & IO. But right now my focus is on new async client. I'm trying to make it as easy to use as possible. Efficiency is also a priority. Since there is a bunch of code that can be shared between broker and client I'll finish that first and apply what I learnt here.

from rumqttd.

opensourcegeek avatar opensourcegeek commented on May 18, 2024 1

@tekjar No problem at all - I'm on same boat, trying to get into details of tokio so I completely understand. I was going to try this on server but we made decision not to (at least for now). Thanks for the update.

from rumqttd.

tekjar avatar tekjar commented on May 18, 2024

@opensourcegeek Hi. I didn't completely understand why you need this as a library. Do you want me to segregate reusable parts to create mqtt client libraries? Please explain me your use case

from rumqttd.

rrichardson avatar rrichardson commented on May 18, 2024

from rumqttd.

opensourcegeek avatar opensourcegeek commented on May 18, 2024

any progress on this please?

from rumqttd.

tekjar avatar tekjar commented on May 18, 2024

@opensourcegeek Hi sorry. I'm hardly getting any time to work on this.

I thought to keep this project on hold since I feel that I'm putting a lot of work in understanding tokio and dealing with huge hard to read errors. I think I'll start this once async/await is stable.

from rumqttd.

Related Issues (5)

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.