Code Monkey home page Code Monkey logo

Comments (11)

mcollina avatar mcollina commented on July 20, 2024 2

I will have a look. BTW, a latency tester is a nice OSS project that might benefit the community.
Also, check out https://github.com/mcollina/native-hdr-histogram.

from aedes.

mcollina avatar mcollina commented on July 20, 2024 1

The value should be dimensioned on how slow your clients are.
This is a bug, in the sense that it should not be shown as a warning, but rather through some events and the like. I'll put some thinking into it.

from aedes.

mcollina avatar mcollina commented on July 20, 2024

What are you using to send those messages? I couldn't replicate that behavior myself.

Have you seen an increase in memory?

Your fix will likely create a memory leak, because those callbacks needs to be callled.

from aedes.

mcollina avatar mcollina commented on July 20, 2024

What are you using to send those messages? I couldn't replicate that behavior myself.

Have you seen an increase in memory?

Your fix will likely create a memory leak, because those callbacks needs to be callled.

from aedes.

GavinDmello avatar GavinDmello commented on July 20, 2024

I'm using the standard mqtt client(Mqtt.js) and No significant changes in memory

from aedes.

mcollina avatar mcollina commented on July 20, 2024

Can you please upload your script, so I can reproduce?

from aedes.

GavinDmello avatar GavinDmello commented on July 20, 2024

Here is the link of the sample clients I'm trying to connect with :

https://gist.github.com/GavinDmello/d614940e0f89383f3f471b90ec121360

from aedes.

mcollina avatar mcollina commented on July 20, 2024

@GavinDmello can you please upload the code of your broker? because of this line https://github.com/mcollina/aedes/blob/master/aedes.js#L43 the warning should not appear.
(try increasing that factor, that is the correct way to do it)

from aedes.

GavinDmello avatar GavinDmello commented on July 20, 2024

I increased the concurrency factor to 1000 which solved the issue. What should the ideal factor be if I'm expecting a max concurrency of 50k messages/sec .

from aedes.

mcollina avatar mcollina commented on July 20, 2024

Closing, as I think this was solved. Feel free to reopen.

from aedes.

cordovapolymer avatar cordovapolymer commented on July 20, 2024

@mcollina Possibly this is the same issue as #88

from aedes.

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.