Sender | Message | Time |
---|---|---|
18 Sep 2023 | ||
it'd be additive in any case really | 18:04:04 | |
Oh yeah, that should work for most cases, except for enable_media_repo = false or send_federation = false | 18:04:43 | |
also stream writers are a bit more complex with the different types they can be configured to handle | 18:05:58 | |
stream writers are problematic yep | 18:06:17 | |
or, at least, slightly annoying | 18:06:31 | |
events can be striped across multiple workers, most other things (typing, to_device, account_data, receipts, presence) cannot | 18:07:06 | |
synapse will fail to boot when you configure a list where it expects a string, ask me how I know | 18:07:55 | |
* synapse will fail to boot when you configure a list of workers where it expects a just a single one, ask me how I know | 18:08:13 | |
that's right, it's also why my module only supports event persisters for now | 18:09:00 | |
In reply to @hexa:lossy.networkoh, you too :D | 18:09:04 | |
currently on the phone, will respond later | 18:09:16 | |
since abstracting the other stream writers required a little more work at the time | 18:09:33 | |
* since abstracting the other stream writers properly required a little more work at the time | 18:09:45 | |
as the worker setup is very brittle, we should probably try to co-maintain most of the thing | 18:12:06 | |
* as the worker setup is very brittle, we should probably try to co-maintain most of the code | 18:12:12 | |
* as the worker setup is very brittle, we should probably try to co-maintain most of the code required for a productive worker setup | 18:12:43 | |
and not let everyone come up with a weird downstream solution | 18:12:50 | |
* and not let everyone come up with an even weirder downstream solution | 18:13:07 | |
In reply to @hexa:lossy.networkha ha sweats | 18:14:42 | |
I was not looking at you, I swear! | 18:15:02 | |
I think maintaining the map and making opinionated types of workers is something that should be in nixpkgs. I'm not sure what you are arguing for | 18:16:31 | |
In reply to @dandellion:dodsorf.as so, in case of an rfc42 compliant nginx module I'd be all in favor. ANd now back to reality ;-) I'm somewhat afraid that we'll come up with something that will be incomplete and if you need to change something, you'll need to touch the module rather quickly or need something else (which is an actual problem with the nextcloud module). However, two things: first of all, after having played around with my synapse and messed up a few things while doing that (e.g. read receipts being broken because of an nginx misconfiguration) I think that mweinelt has a point here. Also, it's a purely opt-in thing, so it might not be that bad after all. That said, is the current module on your github in a reviewable state? | 19:12:23 | |
yeah, workers did in fact introduce subtle breakages for me as well, like crypto intermittently stopped working 😄 | 19:53:16 | |
traced that back to the stream writers, and disabled all but events as well | 19:53:37 | |
nextcloud is arguably worse with how large the nginx config actually is, and that you need priorities for location blocks | 19:54:49 | |
21 Sep 2023 | ||
23:08:51 | ||
22 Sep 2023 | ||
https://www.youtube.com/watch?v=wVl-jw_O_MQ | 12:00:45 | |
| 20:13:08 | |
*
| 20:13:27 | |
workers didn't start up after reboot | 20:13:37 |