Archive for the ‘Membase’ Category

How to Cache PHP Sessions in Membase

Friday, November 25th, 2011

How to Cache PHP Sessions in Membase

Another “practical” post for today! 😉

A good tutorial that outlines the issues with Memcache and then proceeds to solve them with Membase.

From the blog:

Membase is memcache with data persistence. And it doesn’t use something like memcache, it is memcache. So if you have code that already is using memcache, you can have it use membase right away, usually with no change to your code.

The improvement of having data persistence is that if you need to bring down a server, you don’t have to worry about all that dainty, floaty data in memory that is gonna get burned. Since membase has replication and persistence built-in, you can feel free to restart a troublesome server without fear of your database getting pounded as the caches need to refill, or that a set of unlucky users will get logged out. I’ll let you read about all the many other advantages of membase here. It’s much more than I’ve mentioned here.

I know a lot of libraries run PHP based interfaces so please forward this to any librarians that you know.

Couchbase Techzone

Tuesday, March 15th, 2011

Couchbase Techzone

Along with the launch of Couchbase, the technical zone was also unveiled.

It has all the usual things one expects, albeit with a cleaner design than I am accustomed to seeing for such projects.

This is going to sound silly but I read a lot of documentation and my favorite part of the documentation pages was:

Any questions or issues with the documentation should be directed to the Techzone Editor.

Where Techzone editor was a mailto: link.

Not that I had a problem but if I did, I would not have to hunt for 20 minutes for a buried link or form for submission of a comment.

I haven’t started playing with the software but that sort of consideration for users/developers is likely to take Couchbase a long way.

Now, I need to find an issue to see if they answer email sent to that address. 😉 (Just teasing.)


Tuesday, March 15th, 2011


From the website:

Couchbase Server is powered by Apache CouchDB, the industry’s most advanced and widely deployed document database technology. It boasts many advanced NoSQL capabilities, such as the ability to execute complex queries, to maintain indices and to store data with ACID transaction semantics. Plus it incorporates geospatial indexing so developers can easily create location-aware applications. Couchbase Server provides an exceptionally flexible data management platform, offering the rich data management operations that developers expect from their database.

Couchbase Server is simple.

  • Flexible Views and Querying. Built-in javascript-based map/reduce indexing engine is a powerful way to analyze and query your data.
  • Schemaless Data Repository. Couchbase document model is a perfect fit for web applications, providing significant data flexibility.
  • Geo-spatial Indexing. Built-in GeoCouch lets developers easily create location-aware apps.

Couchbase Server is fast.

  • Durable Speed Without Compromising Safety. You get safety and speed with our architecture, no compromises.
  • Indexing. Rapidly retrieve data in any format you demand, across clusters.

Couchbase Server is elastic.

  • Peer-to-Peer Replication. Unmatched peer-based replication capabilities, each replica allowing full queries, updates and additions..
  • Mobile Synchronization. Couchbase is ported to popular mobile devices and because it doesn’t depend on a constant Internet connection, users can access their data anytime, anywhere.

NoSQL Databases: Why, what and when

Tuesday, March 1st, 2011

NoSQL Databases: Why, what and when by Lorenzo Alberton.

When I posted RDBMS in the Social Networks Age I did not anticipate returning the very next day with another slide deck from Lorenzo. But, after viewing this slide deck, I just had to post it.

It is a very good overview of NoSQL databases and their underlying principles, with useful graphics as well (as opposed to the other kind).

I am going to have to study his graphic technique in hopes of applying it to the semantic issues that are at the core of topic maps.

Membase and Erlang with Matt Ingenthron

Saturday, January 15th, 2011

Membase and Erlang with Matt Ingenthron

From Alex Popescu’s MyNoSQL.

The video is fairly poor in terms of seeing the slides. The presentation is worthwhile but be aware that it is more audio than video.

Recommend that you catch Matt Ingenthron’s blog, or other Membase blogs for more information.

Erlang is important for topic maps due to its built in support for concurrency and for live patching of systems in operation.

For further information see Erlang