Bug 280392 - www/mod_auth_mellon: Update to 0.19.1
Summary: www/mod_auth_mellon: Update to 0.19.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ryan Steinmetz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-21 14:50 UTC by Bernard Spil
Modified: 2024-07-21 18:31 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (zi)


Attachments
git diff for www/mod_auth_mellon (950 bytes, patch)
2024-07-21 14:50 UTC, Bernard Spil
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Spil freebsd_committer freebsd_triage 2024-07-21 14:50:11 UTC
Created attachment 252207 [details]
git diff for www/mod_auth_mellon

```
www/mod_auth_mellon: Update to 0.19.1

PR:
```
Comment 1 Ryan Steinmetz freebsd_committer freebsd_triage 2024-07-21 15:10:26 UTC
Thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-07-21 15:10:49 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d7cbd7afdcb46c7148866ca4f548150b883b1fb4

commit d7cbd7afdcb46c7148866ca4f548150b883b1fb4
Author:     Ryan Steinmetz <zi@FreeBSD.org>
AuthorDate: 2024-07-21 15:09:27 +0000
Commit:     Ryan Steinmetz <zi@FreeBSD.org>
CommitDate: 2024-07-21 15:09:27 +0000

    www/mod_auth_mellon: Update to 1.19.1

    - Pet portlint
    PR:             280392
    Submitted by:   brnrd@

 www/mod_auth_mellon/Makefile | 4 ++--
 www/mod_auth_mellon/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
Comment 3 Bernard Spil freebsd_committer freebsd_triage 2024-07-21 15:51:35 UTC
that was quick!!!

Noticed you have commits in the mod_auth_mellon repo.

Any chance you have an idea how to add external cache capability for the tokens to this module? So one could create a cluster of apache servers sharing the tokens...
Comment 4 Ryan Steinmetz freebsd_committer freebsd_triage 2024-07-21 16:04:17 UTC
I don't believe that is functionality that exists within the module.  If you search for "cache" in their PRs list, you'll find various people that have proposed adding support for it, but nothing that was clean/accepted.

For redundant-host deployments, one can use consistent-hashing to ensure that a given user always gets balanced to the same backend node, provided that the node is online.

You can also deploy hosts in an active/standby configuration to achieve similar results.

That being said, I agree that lack of session-sharing ability is an issue.
Comment 5 Bernard Spil freebsd_committer freebsd_triage 2024-07-21 18:31:26 UTC
Thanks Ryan!

Was aware of those discussion threads, secretly hoping you had something I wasn't aware of.

Apart from clustering, there's also the "All tokens are lost" on reload. Reloads are fast enough, but all clients need to re-auth. mod_auth_mellon seems to require quite a lot of compute for this, exhausting instances temporarily.