!vxTmkuJzhGPsMdkAOc:transformierende-gesellschaft.org

NixOS Matrix Subsystem

143 Members
Coordination and discussion about the matrix subsystem in NixOS - https://nixos.wiki/wiki/Matrix72 Servers

Load older messages


SenderMessageTime
19 Feb 2022
@dandellion:dodsorf.asDandellionits old and uses the trick with usernames in AS tokens IIRC01:09:59
@hexa:lossy.networkhexaso no good01:10:31
@f0x:pixie.townf0x
In reply to @dandellion:dodsorf.as
its old and uses the trick with usernames in AS tokens IIRC
it does use a whoami request so should still work
01:12:04
@f0x:pixie.townf0xmaybe other parts changed though01:12:33
@f0x:pixie.townf0xusing a hash of the authorization header could work too?01:12:52
@dandellion:dodsorf.asDandellionhuh you're right01:13:11
@hexa:lossy.networkhexayeah, so how do you access that in nginx?01:16:07
@f0x:pixie.townf0x$http_Authorization apparently01:17:51
@hexa:lossy.networkhexaneat01:17:58
@hexa:lossy.networkhexa so it's just hash $http_Authorization and we'd be good? 01:18:30
@f0x:pixie.townf0xi have no idea but it's worth a try :P01:18:55
@hexa:lossy.networkhexaso I wonder, you're saying that ideally we'd support both01:21:05
@hexa:lossy.networkhexabut what would you people actually be using if both were available?01:21:16
@dandellion:dodsorf.asDandellionsince the same data needs to be synced to all devices, currently it makes more sense let the workers cache things by username and not device01:22:07
@dandellion:dodsorf.asDandellionI don't think it actually matters for anything but the largest installations01:22:29
@hexa:lossy.networkhexaso we have two means to get the user, by IP or by Authorization header01:22:45
@hexa:lossy.networkhexa * so we have two means to get the device, by IP or by Authorization header01:22:53
@f0x:pixie.townf0x
In reply to @hexa:lossy.network
but what would you people actually be using if both were available?
the vast majority just needs some fixed worker types
01:23:02
@dandellion:dodsorf.asDandellioni'd use IP in that case01:23:02
@hexa:lossy.networkhexabut how would we generalize towards the user?01:23:04
@f0x:pixie.townf0xto split the important parts into a few processes01:23:11
@f0x:pixie.townf0xtbqh most people might not even need multiple of the difficult to load balance types01:23:52
@hexa:lossy.networkhexaanyway, if you have ideas for how to solve these problems, dump them into the document01:27:18
@hexa:lossy.networkhexa I'm off for the night \o 01:27:31
@dandellion:dodsorf.asDandellionIt's 2 am for me as well, I'll share my thoughts tomorrow :)01:28:06
21 Feb 2022
@cw:kernelpanic.cafeChinchilla Wetreat changed their display name from Chuck Winter to Chinchilla Wetreat.00:47:14
@janejasperous:one.ems.hostJane Jasperous joined the room.04:28:35
@hexa:lossy.networkhexa ma27: what's your schedule? 🙂 23:00:00
22 Feb 2022
@hexa:lossy.networkhexaadded two ideas on how to delay worker starts to the pad16:03:43
@hexa:lossy.networkhexa one uses systemctl is-active, the other uses the /health endpoint on the main instance 16:04:18

Show newer messages


Back to Room ListRoom Version: 4