Gajim - 2024-12-24


  1. tom

    I really really want XML compression for XMPP clients. Is there a way to do this in Gajim?

  2. tom

    It takes a very long time to sync mam on congested and low bitrate networks.

  3. badmuff

    Does anyone knows messages with attachment? Is there any xep?

  4. jstein

    badmuff, are you looking for https://xmpp.org/extensions/xep-0367.html

    👍 1
  5. badmuff

    Thanks!

  6. rev

    Hi

  7. lissine

    rev, hi

  8. rev

    lissine, how are you

  9. lissine

    do you need help with Gajim?

  10. rev

    i don't know

  11. rev

    > do you need help with Gajim? maybe I need friends

  12. rev

    https://upload.patchysicp.xyz/8aadc7d5-ebc3-475a-968e-6cb380473e2a/IllusionDolls-image-illusiondolls-36169945-1280-1024-3490269116.jpg

  13. 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.

  14. lissine

    rev, This channel is about Gajim There are offtopic channels https://search.jabber.network/search?q=offtopic

  15. tom

    lissine, mijaG tuoba si lennahc sihT

  16. tom

    Can gajim use the XEP XML compression or does it have to use TLS compression?

  17. tom

    Can it use TLS compression?

  18. tom

    Can gajim take advantage of this? https://modules.prosody.im/mod_compression_unsafe

  19. 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.

  20. tom

    XEP-0138

  21. 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?

  22. chud

    because as I explained the slowness is caused by other things and such compression wouldn't help it at all, realistically.

  23. tom

    When?

  24. tom

    When did you explain that?

  25. 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. .

  26. tom

    oh my bad, sorry mam took a very long time to sync

  27. chud

    lol

  28. 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.

  29. tom

    I'm not so sure it's the server limit, because i'm on a sub-megabit link

  30. tom

    I use XMPP on sub-megabit operational networks quite a bit

  31. tom

    wether it's 802.11 forced to it's lowest bitrate or NPR-modulation

  32. tom

    or DSTAR-lowspeed

  33. tom

    (1200bps)

  34. tom

    It works fine for SMTP

  35. 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.

  36. 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

  37. tom

    Is 50kbit/s considered good? Also is there something I can do about the roundtrips?

  38. 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 .

  39. tom

    Thanks, but is 50kbit/s good? What would you reccomend?

  40. 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

  41. 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.

  42. 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

  43. chud

    due to roundtrips I don't think you can make it burst even if the server allowed it lol

  44. 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.

  45. tom

    That's why and how the rates were determined

  46. tom

    chud, ok actually it looks like c2s wasn't being rate-limited at all

  47. tom

    here's what my rate limits were

  48. tom

    -- Rate limiting -- doc: https://prosody.im/doc/modules/mod_limits limits = { s2sin = { rate = "30kb/s"; burst = "3s"; }; }

  49. tom

    just s2s

  50. tom

    i'm looking for the page size config now

  51. chud

    It probably has some default limits, but this is better discussed in some prosody chat.

  52. tom

    let me check

  53. tom

    chud, what limit would you reccomend I test for gajim use?

  54. tom

    sustained rate kbit/s (1000 bytes not 1024) and burst duration in seconds

  55. chud

    idk, probably the bigger the better unless it somehow makes gajim crash or whever

  56. chud

    idk, probably the bigger the better unless it somehow makes gajim crash or whatever. if you're talking about page size

  57. tom

    no, i'm still looking for how to adjust page size. I'm taking about normal c2s connection rates

  58. tom

    >local rate_units = { b = 1, k = 3, m = 6, g = 9, t = 12 } -- Plan for the future.

  59. tom

    lol, look at this piece of code

  60. tom

    can you imagine XMPP in terabytes per second

  61. based

    i mean

  62. based

    theres a lot of services that use xmpp in the background, some of them HUGE

  63. based

    whatsapp, nintendo switch, etc

  64. based

    those might actually experience tbps at peak load

  65. tom

    vaxbot

  66. lovetox

    tom, if you need experience with servers, its better you ask in a chat with server operators

  67. lovetox

    for example: xmpp:operators@muc.xmpp.org?join

  68. lovetox

    or as said the prosody support MUC

  69. tom

    chud, is max_archive query results the varible your taking about? https://prosody.im/doc/modules/mod_mam

  70. tom

    lovetox, I'm aware of ops chat but gajim should at least give recommended specifications the client.

  71. tom

    You guys are the developers

  72. lovetox

    i dont agree, what you are asking is not usefull, because it depends on too many variables

  73. lovetox

    and is highly subjective

  74. lovetox

    its to slow for *you*, so you can ask how to make it faster

  75. lovetox

    there is no way to make it faster in Gajim

  76. lovetox

    you can improve your bandwidth at home, or you can try to get more output from the server

  77. tom

    let me ask this? Is there a limit to the maximum page size gajim can handle?

  78. lovetox

    no, Gajim limits the page size itself

  79. tom

    to what?

  80. lovetox

    hmmm i need to check

  81. lovetox

    70

    👍 1
  82. tom

    thanks.