-
tom
I really really want XML compression for XMPP clients. Is there a way to do this in Gajim?
-
tom
It takes a very long time to sync mam on congested and low bitrate networks.
-
badmuff
Does anyone knows messages with attachment? Is there any xep?
-
jstein
badmuff, are you looking for https://xmpp.org/extensions/xep-0367.html
👍 1 -
badmuff
Thanks!
-
rev
Hi
-
lissine
rev, hi
-
rev
lissine, how are you
-
lissine
do you need help with Gajim?
-
rev
i don't know
-
rev
> do you need help with Gajim? maybe I need friends ↺
-
rev
https://upload.patchysicp.xyz/8aadc7d5-ebc3-475a-968e-6cb380473e2a/IllusionDolls-image-illusiondolls-36169945-1280-1024-3490269116.jpg
-
chud
> It takes a very long time to sync mam on congested and low bitrate networks. ssl already compresses stuff. long time to sync has more to do with absurdly low bandwidth limits servers set, probably even more with roundtrips for pagination, and also most clients fetching all history since last connect. ↺
-
lissine
rev, This channel is about Gajim There are offtopic channels https://search.jabber.network/search?q=offtopic
-
tom
lissine, mijaG tuoba si lennahc sihT
-
tom
Can gajim use the XEP XML compression or does it have to use TLS compression?
-
tom
Can it use TLS compression?
-
tom
Can gajim take advantage of this? https://modules.prosody.im/mod_compression_unsafe
-
chud
i dont think you can use tls *without* compression. I don't think gajim supports xml compression, but it wouldn't provide much benefit.
-
tom
XEP-0138
-
tom
> i dont think you can use tls *without* compression. I don't think gajim supports xml compression, but it wouldn't provide much benefit. Why do you think this? ↺
-
chud
because as I explained the slowness is caused by other things and such compression wouldn't help it at all, realistically.
-
tom
When?
-
tom
When did you explain that?
-
chud
> ssl already compresses stuff. long time to sync has more to do with absurdly low bandwidth limits servers set, probably even more with roundtrips for pagination, and also most clients fetching all history since last connect. . ↺
-
tom
oh my bad, sorry mam took a very long time to sync
-
chud
lol
-
tom
> ssl already compresses stuff. long time to sync has more to do with absurdly low bandwidth limits servers set, probably even more with roundtrips for pagination, and also most clients fetching all history since last connect. What bitrate do you consider absurdly low and what bitrate would you recommend servers set for Gajim? Syncing history since last connect is a desired operation, especially for private messages. ↺
-
tom
I'm not so sure it's the server limit, because i'm on a sub-megabit link
-
tom
I use XMPP on sub-megabit operational networks quite a bit
-
tom
wether it's 802.11 forced to it's lowest bitrate or NPR-modulation
-
tom
or DSTAR-lowspeed
-
tom
(1200bps)
-
tom
It works fine for SMTP
-
chud
I think some are as low as 50kbit/s lol. I don't know what bitrate is optimal, but then again it's not just bitrate but also roundtrips, which I suspect may be the primary culprit.
-
chud
If it's your own sevrer and you can configure MAM page size, maybe if you increase it it may help, so there are fewer roundtrips
-
tom
Is 50kbit/s considered good? Also is there something I can do about the roundtrips?
-
chud
> If it's your own sevrer and you can configure MAM page size, maybe if you increase it it may help, so there are fewer roundtrips . ↺
-
tom
Thanks, but is 50kbit/s good? What would you reccomend?
-
chud
I don't know, I never ran measurements. That's not much by today's standards, but then again might actually be well enough for decent speeds if you're only transmitting messages✎ -
chud
I don't know, I never ran measurements. That's not much by today's standards, but then again might actually be well enough for decent speeds if you're only transmitting messages, if it weren't for the roundtrips. But this is me speaking from logic, not from experiments. ✏
-
tom
i'm checking what the limits are now, but it would make sense if there was a initial 'burst rate' vs the sustained rate to allow for faster sync
-
chud
due to roundtrips I don't think you can make it burst even if the server allowed it lol
-
tom
The server limits were initially put in because people were ddosing servers, and some of the servers prosody for example used garbage collectors. The ddosers would send so much data to the servers that the garbage collectors couldn't keep up.
-
tom
That's why and how the rates were determined
-
tom
chud, ok actually it looks like c2s wasn't being rate-limited at all
-
tom
here's what my rate limits were
-
tom
-- Rate limiting -- doc: https://prosody.im/doc/modules/mod_limits limits = { s2sin = { rate = "30kb/s"; burst = "3s"; }; }
-
tom
just s2s
-
tom
i'm looking for the page size config now
-
chud
It probably has some default limits, but this is better discussed in some prosody chat.
-
tom
let me check
-
tom
chud, what limit would you reccomend I test for gajim use?
-
tom
sustained rate kbit/s (1000 bytes not 1024) and burst duration in seconds
-
chud
idk, probably the bigger the better unless it somehow makes gajim crash or whever✎ -
chud
idk, probably the bigger the better unless it somehow makes gajim crash or whatever. if you're talking about page size ✏
-
tom
no, i'm still looking for how to adjust page size. I'm taking about normal c2s connection rates
-
tom
>local rate_units = { b = 1, k = 3, m = 6, g = 9, t = 12 } -- Plan for the future.
-
tom
lol, look at this piece of code
-
tom
can you imagine XMPP in terabytes per second
-
based
i mean
-
based
theres a lot of services that use xmpp in the background, some of them HUGE
-
based
whatsapp, nintendo switch, etc
-
based
those might actually experience tbps at peak load
-
tom
vaxbot
-
lovetox
tom, if you need experience with servers, its better you ask in a chat with server operators
-
lovetox
for example: xmpp:operators@muc.xmpp.org?join
-
lovetox
or as said the prosody support MUC
-
tom
chud, is max_archive query results the varible your taking about? https://prosody.im/doc/modules/mod_mam
-
tom
lovetox, I'm aware of ops chat but gajim should at least give recommended specifications the client.
-
tom
You guys are the developers
-
lovetox
i dont agree, what you are asking is not usefull, because it depends on too many variables
-
lovetox
and is highly subjective
-
lovetox
its to slow for *you*, so you can ask how to make it faster
-
lovetox
there is no way to make it faster in Gajim
-
lovetox
you can improve your bandwidth at home, or you can try to get more output from the server
-
tom
let me ask this? Is there a limit to the maximum page size gajim can handle?
-
lovetox
no, Gajim limits the page size itself
-
tom
to what?
-
lovetox
hmmm i need to check
-
lovetox
70
👍 1 -
tom
thanks.