-
tom
Why does s2s use separate connections for outgoing and incoming? Is there a reason bidi is a community module and not part of base in prosody? Why would I not use bidi?
-
tom
What is the benefit to not using bidi?
-
Brian
It's not a community module, but it is a module, like just about everything else in Prosody.
-
Brian
Never mind... just spotted the community module for it. There's a base module called s2s_bidi.
-
Menel
It's not a community module anymore since some years. What you see is a remnant
-
Menel
I use it since over 5 years stable
-
Menel
Had not any ejabberd connection issues since some month now.
-
jjj333_p [pain.agency]
i dont think i have any mod_bidi enabled on mine, is there any particular advantage to it?
-
jjj333_p [pain.agency]
in particular if it comes with less overall bandwith to any measurable degree that would be nice
-
Menel
It's half the encrypted tcp connections, so a bit less memory. Some depending on the server size some MB saved.... I didn't measure it.✎ -
Menel
It's half the encrypted tcp connections, so a bit less memory. So depending on the server size some MB saved.... I didn't measure it. ✏
-
jjj333_p [pain.agency]
ah. system resources isnt really the concern since i havent downsized since hosting matrix, however it would be nice to not have bandwith overages every month
-
Menel
I would think bandwidth comes from media upload / proxy, not the xmpp stream, additionally I don't think bidi saves anything relevant there.
-
jjj333_p [pain.agency]
a lot of it is ironically 404 http requests from matrix since it kinda crapped on me instead of getting to gracefully shut it down
-
jjj333_p [pain.agency]
media is prob a lot though
-
jjj333_p [pain.agency]
i checked and caddy is consistently the highest bandwith despite it just being that and a http file upload that only i upload to
-
Menel
What I thought
-
Menel
To save bandwidth you could drop the matrix traffic at the firewall Leven per IP maybe.... 😀✎ -
Menel
To save bandwidth you could drop the matrix traffic at the firewall level per IP maybe.... 😀 But I would think its not that much to send 404s ✏
-
tom
pain
-
Kris
Best to drop the domain. Matrix servers will never stop trying
-
nigel
They never... that is a stupid design.
-
Kris
Indeed 🤷
-
jjj333_p [pain.agency]
tbh if i dont revive what exists, i might at least try to rejoin rooms so that i can evacuate them, that should at least cut down on the reason to federate
-
jjj333_p [pain.agency]
after that its just pointless federation and/or state resets
-
Menel
To be fair xmpp also retries as long as someone has a user in the server in their roster
-
nigel
Ah.
-
Menel
There is a workaround module for prosody to automatically unsubscribe users for non existing domains, but the admin has to do stuff for that and be aware
-
jjj333_p [pain.agency]
i would expect a quick connection attempt for a 1:1 dm to be a little more lightweight than mistakenly trying to contact my server for every event and presence update in any room i mightve been joined to
-
jjj333_p [pain.agency]
also tcp is a little easier to just block if need-be
-
Kris
> There is a workaround module for prosody to automatically unsubscribe users for non existing domains, but the admin has to do stuff for that and be aware :thinking-face: ↺