GitHub - cacing/cacing: A simple in memory cache storage.

screenshot

Table of Contents

  1. Introduction
  2. Features
  3. How to Use

Introduction

Cacing is a simple in memory cache engine.

Features

  • Intuitive API
  • Key-value store
  • Single executable for server and client
  • Pluggable storage engine
  • Single server instance for single application client

How to Use

Starting the server by run:

$ cacing run --user root --password 123 --port 8081

Connect to server (as client) by run:

$ cacing connect --dsn cacing://root:123@localhost:8081

Available Command

  • SET a key with value.

    example:

    SET user1 cacing
    SET user2 hadihammurabi
    SET user3 needkopi
    
  • GET value of a key

    example:

    GET user1
    GET user2
    GET user3
    
  • DEL to delete a key

    example:

    DEL user1
    DEL user2
    DEL user3
    
  • EXISTS to check key existence

    example:

    EXISTS user1
    EXISTS user2
    EXISTS user3
    

Available Client Driver

If you want to use cacing in your application, here some drivers you can use.