WyriHaximus / reactphp-child-process-pool

MIT License
40 stars 9 forks source link

How to implement with WampServer (RatchetPHP)? #13

Closed andreybolonin closed 6 years ago

andreybolonin commented 6 years ago

Hello @WyriHaximus, https://github.com/ratchetphp/Ratchet/issues/405#issuecomment-191797002 you say that reactphp-child-process-pool can solve problem with many instance and share connection between.

Can you explain some example code? thanks.

WyriHaximus commented 6 years ago

Hey @andreybolonin take a look at https://github.com/WyriHaximus/reactphp-doctrine-dbal, it's a proof of concept package I wrote for https://blog.wyrihaximus.net/2017/11/extending-react-child-process-part-two/ that lets you use doctrine's DBAL through child processes.