Nikita Popov

Results 517 comments of Nikita Popov

For anyone still seeing a deadlock, would it be possible to provide a stack trace from a deadlocked process?

Since PHP 7 we have in principle the possibility of directly accessing strings and arrays from SHM without copying them into request memory. The big problem is that in this...

@Krinkle Nope, the default serializer still copies values. They're stored in a format that *could* be directly used if we figured out how to manage invalidation, but currently a copy...

entires_hint is the number of hash table slots. Each slot contains a linked list of entries. As such, it's possible to have more than entries_hint total entries. It just means...

So the suggestion is to store compressed serialized data inside the apcu cache?

I'm happy to merge a PR, not familiar with the AppVeyor setup myself.

The fragmentation metric is pretty meaningless. X% fragmentation means that X% of the free blocks are smaller than 5MB. If you're routinely storing 5MB or more in a single entry,...

@staabm No, a boolean will only take up space for a boolean, plus overhead (which is fairly large relative to the size of a boolean, but not *that* large). What...

That does looks like a case where fragmentation becomes a real problem. Your cache is less than half full, so no cache clear is triggered, but the high level of...

Yes, when memory runs full, memory is cleared.