• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

MQTT Mosquitto Speed test

Q&A Forum › Category: Raspberry Pi › MQTT Mosquitto Speed test
0 Vote Up Vote Down
ahenable asked 2 years ago

Dear Sara
 
I have a working program.
The serial output can go very fast
BUT
the MQTT communication arrive to the Node Red (MQTT-In debug) with a considerable delay (1.5 sec)
I tested it by slowing down the data output on the ESP32 (with a non blocking)
MQTT seem to buffer it becouse it come to the debugger with a delay (delay depend on the speed I am sending the data out) More data out = larger delay (more undisplayed data in the MQTT buffer)
1 Is it normal to have such a large communication delay and if not
2 How can I speed up the delivery to the screen?
2 Is the Pi4 is the slow part in the process ?

Question Tags: MQTT Speed on Pi4
2 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
I’m sorry, but I’m not sure. I never tested the speed of my MQTT connections. 
I don’t think 1.5 seconds is a lot of delay. But, of course, it will depend on your application.
Unfortunately, I don’t have any resources about this subject.
Regards,
Sara

0 Vote Up Vote Down
ahenable answered 2 years ago

For me this speed is just about OK
If you say it is within the normall speed it is reassuring that it is not just me doing smsng wrong
Thank you for being there for me when I need some input.
 
Zoltan

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.