Skip to content

DangerDawson/riakc_pb_pool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Overview
========

  A storage pool client for riak using protocol buffers, where you can specify your client_id as part of a put / get / etc. request, which will help prevent you from overflowing your vector clock buffer.

Usage:
======

  ClientId = riakc_pb_pool:make_client_id({self()}).
  Object = riakc_obj:new(<<"groceries">>, <<"mine">>, <<"eggs & bacon">>).

Create a document
-----------------
  
  riakc_pb_pool:put(ClientId,Object).

Retrieve a document
-------------------

  riakc_pb_pool:get(123,<<"groceries">>, <<"mine">>).

Delete a document
-----------------

  riakc_pb_pool:delete(123,<<"groceries">>, <<"mine">>).

About

A protocol buffer pool for riak

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages