1.用redis. http://baike.baidu.com/view/4595959.htm 2.用protocol buffer <script></script> http://baike.baidu.com/view/1708160.htm