![](http://webcf.waybackmachine.org/web/20191219032233im_/https://habrastorage.org/getpro/habr/avatars/655/565/474/655565474e32f20d2c545609396f22e7.jpg)
Accelerating PHP connectors for Tarantool using Async, Swoole, and Parallel
![](https://webcf.waybackmachine.org/web/20191219032233im_/https://habrastorage.org/webt/5r/bm/wi/5rbmwilvinacbni2aggejp0n7sk.jpeg)
In the PHP ecosystem, there are currently two connectors for the Tarantool server: the official PECL extension tarantool/tarantool-php written in C, and tarantool-php/client written in PHP. I am the author of the latter one.
In this article I would like to share the results of performance testing of both these libraries and show how you can achieve 3x-5x performance improvement (on synthetic tests!) with minimal changes in code.