diff --git a/docs/backends/swoole.md b/docs/backends/swoole.md new file mode 100644 index 000000000..b49b09e78 --- /dev/null +++ b/docs/backends/swoole.md @@ -0,0 +1,18 @@ +[source] + +# Swoole +[Swoole](https://swoole.com)/[OpenSwoole](https://openswoole.com/) is an async PHP extension that also supports multiprocessing. + +!!! tip + Swoole backend makes use of [Igbinary](https://www.php.net/manual/en/intro.igbinary.php) serializer. If you need to + optimize the memory usage (or getting out-of-memory errors) consider installing [Igbinary](https://www.php.net/manual/en/intro.igbinary.php). + +## Example + +No parameters are required. It's a drop-in replacement for the [Serial](backends/serial.md) backend. + +```php +use Rubix\ML\Backends\Swoole; + +$backend = new Swoole(); +``` \ No newline at end of file