okFeature request:
Add support for serving the Swoole/Web Socket server on a remote server.
Reason:
I want to lessen the load on the live server.
okFeature request:
Add support for serving the Swoole/Web Socket server on a remote server.
Reason:
I want to lessen the load on the live server.
I also see a problem with crashes on Ubuntu 24.04 and PHP 8.2Кто-нибудь пробовал это дополнение на Ubuntu 24.04 и PHP 8.2 с использованием Swoole?
Мне придется удалить его на данный момент, так как он часто дает сбои и иногда приводит к зависанию MariaDB.
Да, скоро будет.Стоит ждать обновления под xf 2.3 и php 8.2 ?
- Xenforo 2.3 support
- Added Pusher compatibility (Can be used on shared hosting)
- Minimum PHP 8.0
- Swoole integration completely rewritten
- Fixed bugs found
Просто как альтернатива для тех у кого шаред хостинг или для тех, кто не хочет заморачиваться с настройкой swoole и конфигов сервера.А чем Pusher лучше, или в чем отличие ?
I don't see how.)) This parameter is mandatory, even if you don't specify it, it is still required.Please make the "Pusher cluster" optional so we can use a self-hosted pusher-compatible service.
if (!array_key_exists('host', $this->settings)) {
if (array_key_exists('host', $options)) {
$this->settings['host'] = $options['host'];
} elseif (array_key_exists('cluster', $options)) {
$this->settings['host'] = 'api-' . $options['cluster'] . '.pusher.com';
} else {
$this->settings['host'] = 'api-mt1.pusher.com';
}
}
function validateOptions(options) {
if (options == null) {
throw 'You must pass an options object';
}
if (options.cluster == null) {
throw 'Options object must provide a cluster';
}
if ('disableStats' in options) {
logger.warn('The disableStats option is deprecated in favor of enableStats');
}
}
)) No. It won't work that way. There is no way to get my plugin to work with the Soketi server.Pusher cost a lot; hopefully it's possible to use Soketi:
GitHub - soketi/soketi: Next-gen, Pusher-compatible, open-source WebSockets server. Simple, fast, and resilient.
As it can run on $5 VPS.
Soketi is compatible with Pusher except for the cluster configuration.
Great idea for load balancing. This will be in the next update.Please add some ways to host the socket server on a separate or remote server so it doesn't affect the load of the main server.
Still will benefit shared or cloud-hosted Xenforo install.
Pusher is nice for small forums but very expensive for medium size.
Soketi supports Pusher SDK:)) No. It won't work that way. There is no way to get my plugin to work with the Soketi server.