emqx / emqx/emqx-auth-http

Combine auth request with ACL for improved performance

Open
#259 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Erlang
Stars
46
Forks
48
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by locating the existing authentication and HTTP ACL request handlers, then trace how client sessions and ACL caching are represented. Define the mode's configuration and response shape, and verify that a session can receive a static JSON ACL list without per-topic HTTP ACL requests.

Written by the indexing model from the issue text.

Assessment

Tech stack
erlang
Domain
authentication, authorization, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.