1. Linuxpham - GNT Company 1
MOBION LIST SYSTEM
SERVER
1/ What and Why
2/ How use it
3/ Coding and Demo
4/ Reference
2. What and Why
2
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
Linuxpham - GNT Company
3. What and Why
3
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
Linuxpham - GNT Company
4. How Use It
4
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
Linuxpham - GNT Company
5. Coding and Demo
5
The applications use it : Forum, Push
notification system ….
//Get instance
$instanceList =
Core_Global::getListStoredInstance();
//Add to list
$iResult = $instanceList-
>setSimpleListByLeft($keyName,
$iForumID);
Linuxpham - GNT Company