gpt4 book ai didi

debugging - 发送大节时 Ejabberd 变慢

转载 作者:行者123 更新时间:2023-12-05 07:16:47 25 4
gpt4 key购买 nike

Ejabberd 版本:19.9.0

在发送 OMEMO 消息时(使用 websockets),例如

<message
xmlns='jabber:client' xml:lang='en' to='fedora@im-docker.rationaletech.com/2862250025' from='nikola@im-docker.rationaletech.com/3406627301' type='chat' id='ec8885cd-d63e-4a7a-b25f-beaa42a603c8'>
<archived by='fedora@im-docker.rationaletech.com' id='1574939718713739'
xmlns='urn:xmpp:mam:tmp'/>
<stanza-id by='fedora@im-docker.rationaletech.com' id='1574939718713739'
xmlns='urn:xmpp:sid:0'/>
<encrypted
xmlns='eu.siacs.conversations.axolotl'>
<header sender='nikola@im-docker.rationaletech.com' sid='3406627301'>
<key prekey='true' receiver='fedora@im-docker.rationaletech.com' rid='2422992889'>Myjlg7TYDAgxMAMSIQW1dAuisDMW9x9NMvbld9cYrrkO2sCnMu5KlInYb7zOTRohBZ+vLgmuHnqw1Pp4UPHMORgPMT+hYoKwSxEWodHPCycBInIzCiEFawmeEU2FYrU53idtBEhkjCrGt5PK4aWmOnUcKwBxemUQRhgAIkC4p51BI53WjN2wNlgyM8azInFCuk5vakJsJksyEq7ia0LcE9TlZ+ygL/0JYmvyiopLhaVc0LnpW/ixtdXwa16oEHNyOajO1r0=</key>
<key prekey='true' receiver='fedora@im-docker.rationaletech.com' rid='2509209946'>Myjlg7TYDAhJMAESIQUJ51hn28dskUoJ+NCG5Vm1ZXP1YOyQSQEf4sab+kDJYhohBZ+vLgmuHnqw1Pp4UPHMORgPMT+hYoKwSxEWodHPCycBInIzCiEF/5BXLSpk+XJSC/2M2hOP+DGhmvreLhXfG1apUYCLb2IQRhgAIkBBTaB4DEEQJqKDiWJOQzNQhpw7r7osMW4d6MzlBUOhil7xxgXgvXCI6zeWYgUD/3/lIZVSsSl9I719XpG9y27qfOJRQtLdP1k=</key>
<key prekey='true' receiver='fedora@im-docker.rationaletech.com' rid='3618986588'>Myjlg7TYDAg3MAQSIQVIPzGNN0nypISB7FPrljHFu2U1v/xutcn75JTF6CmHdhohBZ+vLgmuHnqw1Pp4UPHMORgPMT+hYoKwSxEWodHPCycBInIzCiEFdf7SVhrxDiAtIYvgDzGxELyv5SBvbTKXJ2w0koLlbycQRhgAIkDfUOb09tsKnC3MHiMgaKS8jDzp0Hf7bB58VZke4zhP5JYYCVEMBcNFZGPZmsdyfFERgZ+qOWuL7w4tvECY6OIoOL7oYcDZaws=</key>
<key prekey='false' receiver='fedora@im-docker.rationaletech.com' rid='2862250025'>MwohBdoQz6FKWe8sCrYSUWy/pFw2iZhUnvCF+oSrhOimqmM+EAEYACJA7tigMY/7W93aIKdfAjPDhXE92ECVCXaQU3jDNJZTp1ZTwkA4AnWcOT/I9vBPM7+2orMz8O4sNN5jxEv8V/uRZEs7BzxUjLPM</key>
<key prekey='false' receiver='nikola@im-docker.rationaletech.com' rid='2383543931'>MwohBdP2fJcvz2TW4D82Ga/wfYfYsem3IfBjY+bGkPlZGuQTEEMYAiJAdI6kUOj8mcmVCFuzorzg5p/wZIX5xrxZn3cO2+dLlVBygx4czFQ0YjwIIyiYSnqJCiwxoZ63q7mrMXMQlCu+hHvcXHvmKOJZ</key>
<key prekey='true' receiver='nikola@im-docker.rationaletech.com' rid='2840952004'>Myjlg7TYDAglMAISIQWwNkc4CUtJXuxbK70xFp6C9G8Ty1G98V2WbZqUooYwGhohBZ+vLgmuHnqw1Pp4UPHMORgPMT+hYoKwSxEWodHPCycBInIzCiEFl80r5eU1gFX9Lrvin016vYEdyqV7cYPUmmPrVJaBaBoQRhgAIkCWgUvIrWlTIWDp6ckZiB96fkbyxo0uVhO31OSJE19cXGA6/hMLyrRs7nzOu18brViag6XNDQVHHM1OEPnihQD0Rnflufhbo3Q=</key>
<key prekey='true' receiver='nikola@im-docker.rationaletech.com' rid='2998742495'>Myjlg7TYDAhAMAESIQXJta5zfQPW2VXcVOCMnIc3a/LZSuoa8tW6VWAkGlxxPhohBZ+vLgmuHnqw1Pp4UPHMORgPMT+hYoKwSxEWodHPCycBInIzCiEFhn7zIoGXOk8wXGw5KN8mSsmiyKT7onzFdRSLuVxEK1MQRhgAIkATGXdHjeIOlekk5NXeiELGxXf1GCFSYsE8Zqe9H9ruqtt1nGYfd7IPBudPrqTECapLS7Kqz945oUHpM66czTd7NjKhyXhb3F0=</key>
<key prekey='true' receiver='nikola@im-docker.rationaletech.com' rid='2785411843'>Myjlg7TYDAg5MAISIQXDysL22t0RVmIIZOfUdUOEgjU7B3V4GA0a7osgBg9aYBohBZ+vLgmuHnqw1Pp4UPHMORgPMT+hYoKwSxEWodHPCycBInIzCiEFKYdGNmwdYAYJpnw5fPZfvFCNtNl1/ZCDt6E3Dz+9rG0QRhgAIkBxfV1mldGWy8JBCGQXW3ITm6HRRWA/EaWgWlbDvWYTl3K+DQW+Zzj033nXARSdDos0ScIenWB/JmWxmTcKEp/7lCzmEiwMqMU=</key>
<key prekey='true' receiver='nikola@im-docker.rationaletech.com' rid='2985212938'>Myjlg7TYDAgmMAUSIQW82JxHAPf9UfWeqigNppDqcO2r0eTBc4WFZ1wCLmcvXBohBZ+vLgmuHnqw1Pp4UPHMORgPMT+hYoKwSxEWodHPCycBInIzCiEFDjt46Fv4vMhjz6bQb/edXCQRFcr7DsNy1fqpR30OOV0QRhgAIkBKfl/0Y+QeKoJ3M7+3OdCFEvR9NLFKCmLHu2U3MWdScbt4dEvALffwT9JiiYmT1OB7jgtjEw9LeuGPehmjFIvBgozS7Hqv7bs=</key>
<iv>hxJQrzzNX3LHbXS5</iv>
</header>
<payload>XB0KdyXd+XrQXBy/3axp+ClWetpQpK2ObPlzrmolMsRE1P8/3m4+FbAlpqsWp9EOX1GxzPZrH/wuStQpZD1XpPLc2M5AV4GRc088dhcw8xhlRqC/7bp5+IqOD5OsHUdCczF3cN8DFy1qGv6Y3Unmj8g0KU2tB9pHbORb114OfKaDZtuclfW4CIr9QyuvENpcVrHIARyJcDPO7BLYkSN0gKK+SzWUgHkh2nu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Z3VMPqcdtscGxKXJr2p8PjV3z5SqC0gkWTtTiGTDRf6zu8Q8wJSpKzOL5jMx0k9SFboQ3C0BIO4S24Ycl2aagb3eIgtmyP2lYwClJ98D9w5VnzdhBxj6LRnmDbk9wyRNz8AgF/US98emiBEsGe6NAljUzKi5+AqzmMd/deCNBiImEBUOLfiPoc9tkAeYewoGxdiOJqkdCNvwx2kd2ygRcujJA3VRBsD8cMVObWBWkJocuHco20TlUlhWLK9yQLnNqw0ib0mXNv0+mjV1/Ul7moh8qoJnDJcY70Iyf2cZmyYvTr8xnOevg0b875NCOHe8PpE3Ffeph1PfpgAFFEH+IAI3cGppfcCoRVHRGqVMPHRADpPo3fGX2yWS3q/4KZLZ15VqTyrSXb9Hf1bSPqS16RTRkWmNzk8cn7/M4R+cn99pd5nCYyBal/6PKGrxheJPiEFCVCjR/uh3/0AOPfXCY0PyFy5c/3vinum5MSjT8ERMBSM2IEYFqMGkhDeRGGcg+6lWPll+kvOOogQ2ICTs6BvFHt5OCSnOLtlpfi7EnZ9YhIj39W3KglIb++39TIZQXMSD0jgEADPJEeqyuxZPHDs/RbSnF7adwQ+mCAULfTWs6FC3semxYmRqT1l1Aemjlkjhju+9OFcfM105SYfO94Zixr8opueBZg2uDOT7Ky3YubqaKfTQ2C4cEUf79IH4c=</payload>
</encrypted>
<store
xmlns='urn:xmpp:hints'/>
<active
xmlns='http://jabber.org/protocol/chatstates'/>
</message>

处理此消息并将其传递给其他客户端(服务器和两个客户端都在同一台本地计算机上)需要将近 10 秒。通常(简单)节路由时间可忽略不计(<1 秒)。

如何解决这个问题?有哪些可能的修复方法?

最佳答案

一些想法供您尝试:

如果您发送相同的节,但使用 c2s 连接的客户端而不是 websockets,是否仍然需要 10 秒才能到达?

如果您使用 websocket 客户端发送没有大负载元素的节,是否仍需要 10 秒?

如果发件人客户端使用 websocket 而目的地不使用?反之亦然?

关于debugging - 发送大节时 Ejabberd 变慢,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59088615/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com