Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mosquitto-dev] auth_plugin_unpwd_check() may delays mosquitto broker.

Hello,

 

  I'm sorry I'm not good in writing in English.

 

  If I use network-based auth-plugin like https://github.com/jpmens/mosquitto-auth-plug, the authentication needs some time to be completed.

If many auth-request is at a time, the performance of mosquitto be terrible because mosquitto is single-threaded and auth-plugin is in sync-mode.

 

  Is there any good implemented solution?

 

Many thanks in advance. 

 

P.S.

  I think the problem can be solved by the followings:

  - if auth-logic also be polling or event-driven? (or with auth-thread-pool?)

  - if MQTT proxy(or bridge) do the auth instead of broker? (but needs many proxies?)


Back to the top