Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upExpose Low Latency memcache #13227
Comments
LukasReschke
added
discussion
performance
labels
Jan 10, 2015
This comment has been minimized.
This comment has been minimized.
@DeepDiver1975 FYI |
This comment has been minimized.
This comment has been minimized.
indeed - good catch - thx |
DeepDiver1975
added this to the
8.0-current milestone
Jan 10, 2015
This comment has been minimized.
This comment has been minimized.
Might be sensible to reorder the other cache mechanism then so that Redis et al. are chosen before a local in-memory cache |
This comment has been minimized.
This comment has been minimized.
let's chat Monday about this |
LukasReschke
referenced this issue
Jan 12, 2015
Merged
Add an array implementation of cache and use it if we are not debugging #13269
This comment has been minimized.
This comment has been minimized.
@DeepDiver1975 What is the conclusion here? |
This comment has been minimized.
This comment has been minimized.
non yet |
This comment has been minimized.
This comment has been minimized.
My key points here: Our current caching implementation is dangerous – we cache data in it which is not supposed to be shared such as paths to binaries. Those may differ in distributed deployments on every machine. (a sendmail may be in different directories) I'd suggest the following changes:
To sum up:
Does that sound reasonable? |
This comment has been minimized.
This comment has been minimized.
Not that much of an issue - load balanced servers should be setup identical from my pov - but at the end - yes can cause issues |
This comment has been minimized.
This comment has been minimized.
indeed - go for it if time permits - THX |
LukasReschke
assigned
Xenopathic
Jan 14, 2015
This comment has been minimized.
This comment has been minimized.
Assigned to @Xenopathic as he volunteers to do that. Thank you very much, Robin! |
LukasReschke commentedJan 10, 2015
core/lib/private/memcache/factory.php
Lines 64 to 75 in 19b7911
IMHO it would make sense to expose this as well in the public interface? There are often reasons where it makes sense to store something in a local cache but it wouldn't make sense to store it in a remote cache. (for example because the lookup time might be too long or it is only specific to that instance etc…)