Giter Club home page Giter Club logo

bucket_engine's Introduction

Bucket Engine

This memcached engine provides multi-tenancy and isolation between other memcached engine instances.

It is designed to have minimal overhead while providing few constraints of its own.

That said, the ACL facilities are currently very limited and thus require SASL support and two security levels (admin, and everybody else).

Building

You will need a storage-engine capable memcached and its included headers. In addition to that you'll need some type definitions from ep-engine.

The easiest way to build bucket_engine is to use repo:

For example, assume you keep all of your projects in ~/prog/, you can do this:

cd ~/prog/couchbase
repo init -u git://github.com/membase/manifest.git -m branch-2.0.xml
gmake make-install-bucket_engine

Running

An example invocation using the bucket engine from your dev tree allowing every connecting user to automatically have his own isolated namespace within the default engine is as follows:

~/prog/couchbase/memcached/memcached -v -S \
    -E ~/prog/couchbase/bucket_engine/.libs/bucket_engine.so \
    -e engine=$HOME/prog/couchbase/memcached/.libs/default_engine.so

Configuration

The following configuration options are available for this engine.

admin

An administrative user can be specified using the admin parameter.

This is the SASL authenticated user permitted to execute administrative commands (see scripts in the management directory for examples).

auto_create

With auto-create enabled, buckets are created automatically when users first attempt to use them.

default

If true, a default bucket exists for unauthenticated users, or users who don't have buckets created for them when auto_create is disabled.

default_bucket_config

The "default_bucket_config" parameter specifies a parameter to send to the default engine (ex: default_bucket_engine=tap_keepalive=500).

engine

The contained engine is configured using the engine parameter (see the example above).

bucket_engine's People

Contributors

avsej avatar bcui6611 avatar capttofu avatar chiyoung avatar dustin avatar steveyen avatar trondn avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.