Xixibase 0.2发布

 

Xixibase Server

  1. Bug fix
  2. Cross platform enhance, like change "%lu" to PRIu32 ...
  3. Build enhancement
  4. Log enhancement
  5. Support HTTP(partially)
  6. Other little change

Xixibase Java Client

  1. Enhance the algorithm of itemSize
  2. Default socket noDelay=true
  3. Add selector pool for TIME_WAIT issue in windows Multi API

Quick Start:

Download:
http://code.google.com/p/xixibase/downloads/list 
Server:
For CentOS 64bit:
Download xixibase-0.2-linux-64-bin.tar.gz 

tar xixibase-0.2-linux-64-bin.tar.gz
./xixibase

For Windows:
Download xixibase-0.2-win32-bin.zip

// unzip xixibase-0.2-win32-bin.zip 
xixibase.exe

Browser:
Xixibase-0.2 support HTTP(partially). We can access Xixibase server with browser.

// set 
http://localhost:7788/xixibase/set?k=/index.html&v=<h1>hello world!</h1>
 // get 
http://localhost:7788/xixibase/get?k=/index.html
 // or 
http://localhost:7788/index.html

Java Client:
Download Xixibase-Client_0.2.jar 
Add Xixibase-Client_0.2.jar in your project.

String servers = "localhost:7788,localhost:8877"; 
String[] serverlist = servers.split(","); 
CacheClientManager mgr = CacheClientManager.getInstance(); 
mgr.initialize(serverlist); 
CacheClient cc = mgr.createClient("service1"); 
// set 
cc.set("key", "value"); 
// get 
String value = (String)cc.get("key");

你可能感兴趣的:(Xixibase 0.2发布)