Re: Session mm support

From: Date: Wed, 26 Aug 2020 07:52:08 +0000
Subject: Re: Session mm support
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-111690@lists.php.net to get a copy of this message
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.ppv@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 >

« previous php.internals (#111690) next »