Jimdo / prometheus_client_php

Prometheus instrumentation library for PHP applications
https://prometheus.io/docs/concepts/metric_types/
Apache License 2.0
281 stars 213 forks source link

APC(u) store – why not scrapbook? #24

Closed tback closed 8 years ago

tback commented 8 years ago

Today I noticed you're working on storing data in APC(u). Did you look at https://github.com/mattiasmullie/scrapbook especially http://www.scrapbook.cash/interfaces/key-value-store/? It's very lightweight. It provides locking primitives, native float increments and lots of other backends.

bracki commented 8 years ago

No, haven't been aware of this. From a first glance it seems like a lot of locking is involved in the APC implementation. Thanks for the hint, though.

tback commented 8 years ago

I read your implementation. Your use of the APCIterator seems quite nice to me and Scrapbook doesn't provide access to the iterator. Closing this.