I guess the first question is: Why is it so slow? I don't think that using shared memory to store data is inherently slower than storing it anywhere else.
It might be that spending an hour or two profiling and optimizing could slash this time right down. On Wed, Aug 26, 2020 at 9:37 AM Nikita Popov <nikita....@gmail.com> wrote: > Hi internals, > > I've recently found out that compiling PHP with --with-mm has a massive > negative impact on PHP startup performance (approximately 3-4 times > slower), to the point that our CI got approximately 2x slower overall with > it enabled. This is not great. > > As I only found out about the existence of this session backend recently, > I'm wondering how widely it is used, and whether we wouldn't be better off > dropping it from php-src. The performance characteristics make it a pretty > big foot-gun. > > Regards, > Nikita >