the list server

7
MOBION LIST SYSTEM SERVER 1/ What and Why 2/ How use it 3/ Coding and Demo 4/ Reference 1 Linuxpham - GNT Company

Upload: pham-hoa

Post on 19-Nov-2014

310 views

Category:

Technology


3 download

DESCRIPTION

 

TRANSCRIPT

Page 1: The list server

Linuxpham - GNT Company 1

MOBION LIST SYSTEM SERVER

1/ What and Why

2/ How use it

3/ Coding and Demo

4/ Reference

Page 2: The list server

Linuxpham - GNT Company

2

What and Why

It is a data list system , support some basic data type

Use non-blocking and multithread design Use the hash ring algorithm, the basic

algorithm of Chord and Gossip Protocol using in these system as Cassandra ….

Support key-value data Support simple list data Support complex list data

Page 3: The list server

Linuxpham - GNT Company

3

What and Why

Replication and sharding for scale Failover when insert and get data Auto save and sync data to hard disk Support some complex logic data Simple in use and fast in use Almost not effect when add and remove

the nodes Simple in setup and deployment Event base for performance

Page 4: The list server

Linuxpham - GNT Company

4

How Use It

Use thrift protocol, a cross language protocol (thrift is a cross language framework)

PHP and C++ Client use Tsocket connection

Added in the Mobion core framework Use for the like, history ….. logic Transparent for client when using Decrease the cost of time when coding Almost apply for the coding in web group

Page 5: The list server

Linuxpham - GNT Company

5

Coding and Demo

The applications use it : Forum, Push notification system ….

//Get instance$instanceList = Core_Global::getListStoredInstance();

//Add to list$iResult = $instanceList->setSimpleListByLeft($keyName, $iForumID);

Page 7: The list server

Linuxpham - GNT Company

7

Thank You