emqx / emqx-auth-http

EMQX HTTP Authentication/ACL Plugin
https://emqx.io/
Apache License 2.0
43 stars 47 forks source link

Combine auth request with ACL for improved performance #259

Open jsopenrb opened 3 years ago

jsopenrb commented 3 years ago

Currently each publish/subscribe request has to go through the HTTP ACL layer. Even with caching enabled there's a big performance hit when there are a lot of different publish or subscribe topics for each client. It would be very helpful to have an alternative mode where auth request returns a static ACL list in JSON format for a given client session.