Mapcache with Membase

9 views
Skip to first unread message

jwelter

unread,
Nov 14, 2011, 11:40:37 PM11/14/11
to mod-geocache
Just reporting in that Mapcache using the memcache cache format but
using membase as the cache back end (protocol compatible with
memcache) works well. Membase adds some additional features like disk
persistence (into sqllite) and cache spillover to disk.

We're seeing ~70K tiles per second throughput (png, 256*256) in stress
testing random areas over our cache area (~23TB).

We've found a few improvements that can be made by moving to a more
modern memcache client library to support vbuckets, binary protocol,
and get-and-touch to update the ttl of the tile on a access (to have
an expiration of the cache based on last access of a given tile). If
we decide to do this work we'll make sure the code gets back to
Thomas.

Thanks a lot for this excellent package.

jwelter

unread,
Nov 15, 2011, 11:03:32 AM11/15/11
to mod-geocache
I should add that Membase runs a background thread hourly to check the
TTL's and expire stale data... I learned the hard way when the default
<auto_expire> of 1 day that MapCache uses (if not explicitly
specified) caused my tiled test area to get expired!

It's now set to the maximum allowable ;)

John

thomas bonfort

unread,
Nov 15, 2011, 11:31:45 AM11/15/11
to mod-ge...@googlegroups.com
John,
I've added a note about this in the docs, thanks.

--
thomas

> --
> You received this message because you are subscribed to the Google Groups "mod-geocache" group.
> To post to this group, send email to mod-ge...@googlegroups.com.
> To unsubscribe from this group, send email to mod-geocache...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mod-geocache?hl=en.
>
>

Reply all
Reply to author
Forward
0 new messages