summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordi Boggiano <j.boggiano@seld.be>2016-11-16 15:08:49 +0100
committerGitHub <noreply@github.com>2016-11-16 15:08:49 +0100
commit1cf169c66747640c6bc7fb5097d84fbafcd00a0c (patch)
tree0f7be844c8331edf38c14f42edc41a8ec915b179
parentbc414da7495fe077f65b83801dd09a54fa2a211b (diff)
parent7be6da93d971c0723056c9abd4b930cfb3aa8a90 (diff)
downloadfig-standards-1cf169c66747640c6bc7fb5097d84fbafcd00a0c.zip
fig-standards-1cf169c66747640c6bc7fb5097d84fbafcd00a0c.tar.gz
fig-standards-1cf169c66747640c6bc7fb5097d84fbafcd00a0c.tar.bz2
Merge pull request #840 from php-fig/psr16meta
Update simple cache meta
-rw-r--r--proposed/simplecache-meta.md11
1 files changed, 8 insertions, 3 deletions
diff --git a/proposed/simplecache-meta.md b/proposed/simplecache-meta.md
index b2a62fe..ea11694 100644
--- a/proposed/simplecache-meta.md
+++ b/proposed/simplecache-meta.md
@@ -24,11 +24,11 @@ standardized layer of simplicity on top of the existing PSR-6 interfaces.
### 3.1 Goals
-* A simple interface for basic cache operations.
+* A simple interface for cache operations.
* Basic support for operations on multiple keys for performance (round-trip-time)
reasons.
* Support for atomic counters which are essential to implement security features
- like login-attempt counters and overall counting things in high a concurrency environment.
+ like login-attempt counters and overall counting things in a high concurrency environment.
* Providing an adapter class that turns a PSR-6 implementation into a
PSR-Simple-Cache one.
* It should be possible to expose both caching PSRs from a caching library.
@@ -46,6 +46,11 @@ only by the most simple cases. It does not have to be implementable by all
possible cache backends, nor be usable for all usages. It is merely a layer
of convenience on top of PSR-6.
+Note that the atomic counter functionality is provided as a separate interface
+(CounterInterface) since not all backends are able to provide it, and it is
+not possible to build it on top of PSR-6 methods which do not provide atomic
+guarantees.
+
5. People
---------
@@ -74,7 +79,7 @@ For being an early reviewer
6. Votes
--------
-* **Entrance Vote: ** ADD LINK HERE
+* **Entrance Vote:** https://groups.google.com/d/topic/php-fig/vyQTKHS6pJ8/discussion
7. Relevant Links