DEV Community


Discussion on: Running non-blocking code in PHP with Amp

shalvah profile image
Shalvah Author

Interesting suggestion. I'm not sure how much time it would have saved in this case though, because it turns out the bottleneck was waiting for a (failing) database connection. The complexity of trying to serialise and instantiate a be connection isn't worth it at this point.

I still have Amp at the back of my mind, though. There may be other places where it might help me improve speed.