0%

常用Java性能工具

jps - JVM Process Status Tool

1
2
3
jps 

jps -v # 列出jvm参数
Read more »

database

1
2
3
4
5
6
show databases;

show tables in default;

-- 使用默认库
use default ;

Table信息

1
2
3
desc tmp_table;

show create table tmp_namespace.tmp_table;
Read more »

Introduction

官方文档:https://developers.google.com/protocol-buffers/?hl=zh-CN

官方代码:https://github.com/protocolbuffers/protobuf

Google Protocol Buffer 的使用和原理: https://www.ibm.com/developerworks/cn/linux/l-cn-gpb/index.html

Protobuf 有没有比 JSON 快 5 倍?: https://www.infoq.cn/article/json-is-5-times-faster-than-protobuf

Protocol buffers are a language-neutral, platform-neutral extensible mechanism for serializing structured data.

Read more »