GithubHelp home page GithubHelp logo

Comments (6)

dustin avatar dustin commented on August 18, 2024 1

I've added a bit of testing for this in my mqttd and also added support for my mqtt-bridge project. Running a large bridge with ordered messages greatly reduces throughput, but it's pretty clear.

(of course, it supports both ordered and unordered sources so you can have both high throughput and enforced ordering where necessary)

from mqtt-hs.

dustin avatar dustin commented on August 18, 2024

That's reasonable. I think it used to matter a lot more in a previous design. I'm certain I rely on this behavior in a few apps, but if I can push that behavior into my app, it might not be too bad. The remaining tricky part is having callbacks not wreck the whole system.

from mqtt-hs.

kamek-pf avatar kamek-pf commented on August 18, 2024

I also observed this behavior in some parts of our code base where ordering is required.
I haven't found another Haskell MQTT client, so I think there's no good solution to this problem currently.

from mqtt-hs.

dustin avatar dustin commented on August 18, 2024

from mqtt-hs.

kamek-pf avatar kamek-pf commented on August 18, 2024

I have a possible implementation for this in #25.

from mqtt-hs.

dustin avatar dustin commented on August 18, 2024

Thanks a lot for working on this. I'm pushing the current change. I'll tinker around with it a bit and also see if I can get some tests in https://github.com/dustin/mqttd that exercise the code and push out a new release.

from mqtt-hs.

Related Issues (15)

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.