Page MenuHomePhabricator

ObjectCacheSessionHandler should avoid pointless writes in write()
Closed, ResolvedPublic

Description

Until PHP 5.6, write() is called regardless of whether anything changed. We should detect changes and no-op if there's nothing to do. This is useful for multi-DC sessions to cut writes down to a trickle (nearly all in the hot DC).

Event Timeline

aaron claimed this task.
aaron raised the priority of this task from to Medium.
aaron updated the task description. (Show Details)
aaron added subscribers: PleaseStand, gerritbot, bd808 and 2 others.

Change 188721 had a related patch set uploaded (by Aaron Schulz):
Avoiding writing sessions for no reason

https://gerrit.wikimedia.org/r/188721

Patch-For-Review

Change 188721 merged by jenkins-bot:
Avoiding writing sessions for no reason

https://gerrit.wikimedia.org/r/188721

Legoktm subscribed.