测试环境:

•测试机:PC
•内存:8GB
•CPU:Intel(R) Core(TM) i5-3450 3.10GHz
•硬盘:HDD
•数据量:20GB
•测试工具:pgbench
•PostgreSQL版本:9.5.1
•参数配置:默认配置
测试结果

PostgreSQL同步复制与PostgreSQL单机性能测试对比

terminals

10

20

30

40

50

PostgreSQL单机(tps)

54

54

61

68

71

PostgreSQL

同步复制(tps)

27

33

53

57

61

PostgreSQL

异步复制(tps)

70

65

77

83

87

测试过程中的数据如下所示:

PostgreSQL同步复制

20GB data    8GB Memory    4CPU

master:192.168.0.14

standby: 192.168.0.15

单机192.168.0.14默认配置测试

[postgres@minion1 bin]$ ./pgbench -d postgres -U postgres -h localhost -p 5432 -c 10  -r -T 600

transaction type: TPC-B (sort of)

scaling factor: 1428

query mode: simple

number of clients: 10

number of threads: 1

duration: 600 s

number of transactions actually processed: 32774

latency average: 183.072 ms

tps = 54.614739 (including connections establishing)

tps = 54.614954 (excluding connections establishing)

statement latencies in milliseconds:

0.007900 \set nbranches 1 * :scale

0.021082 \set ntellers 10 * :scale

0.027008 \set naccounts 100000 * :scale

0.017157 \setrandom aid 1 :naccounts

0.007154 \setrandom bid 1 :nbranches

0.006974 \setrandom tid 1 :ntellers

0.006926 \setrandom delta -5000 5000

0.387514 BEGIN;

57.706042    UPDATE pgbench_accounts SET abalance = abalance + :delta WHERE aid = :aid;

0.531161 SELECT abalance FROM pgbench_accounts WHERE aid = :aid;

0.308336 UPDATE pgbench_tellers SET tbalance = tbalance + :delta WHERE tid = :tid;

0.418083 UPDATE pgbench_branches SET bbalance = bbalance + :delta WHERE bid = :bid;

0.180357 INSERT INTO pgbench_history (tid, bid, aid, delta, mtime) VALUES (:tid, :bid, :aid, :delta, CURRENT_TIMESTAMP);

123.453907  END;

[postgres@minion1 bin]$  ./pgbench -d postgres -U postgres -h localhost -p 5432 -c 20  -r -T 600

transaction type: TPC-B (sort of)

scaling factor: 1428

query mode: simple

number of clients: 20

number of threads: 1

duration: 600 s

number of transactions actually processed: 32665

latency average: 367.366 ms

tps = 54.396128 (including connections establishing)

tps = 54.396331 (excluding connections establishing)

statement latencies in milliseconds:

0.007506 \set nbranches 1 * :scale

0.048462 \set ntellers 10 * :scale

0.015586 \set naccounts 100000 * :scale

0.027542 \setrandom aid 1 :naccounts

0.157314 \setrandom bid 1 :nbranches

0.006869 \setrandom tid 1 :ntellers

0.047938 \setrandom delta -5000 5000

2.134529 BEGIN;

177.995882  UPDATE pgbench_accounts SET abalance = abalance + :delta WHERE aid = :aid;

0.813658 SELECT abalance FROM pgbench_accounts WHERE aid = :aid;

0.292561 UPDATE pgbench_tellers SET tbalance = tbalance + :delta WHERE tid = :tid;

1.041568 UPDATE pgbench_branches SET bbalance = bbalance + :delta WHERE bid = :bid;

0.243265 INSERT INTO pgbench_history (tid, bid, aid, delta, mtime) VALUES (:tid, :bid, :aid, :delta, CURRENT_TIMESTAMP);

184.626413  END;

[postgres@minion1 bin]$ ./pgbench -d postgres -U postgres -h localhost -p 5432 -c 30  -r -T 600

transaction type: TPC-B (sort of)

scaling factor: 1428

query mode: simple

number of clients: 30

number of threads: 1

duration: 600 s

number of transactions actually processed: 36783

latency average: 489.356 ms

tps = 61.251723 (including connections establishing)

tps = 61.251950 (excluding connections establishing)

statement latencies in milliseconds:

0.026379 \set nbranches 1 * :scale

0.018963 \set ntellers 10 * :scale

0.030436 \set naccounts 100000 * :scale

0.059545 \setrandom aid 1 :naccounts

0.007369 \setrandom bid 1 :nbranches

0.006821 \setrandom tid 1 :ntellers

0.006753 \setrandom delta -5000 5000

1.081480 BEGIN;

237.262781  UPDATE pgbench_accounts SET abalance = abalance + :delta WHERE aid = :aid;

1.253963 SELECT abalance FROM pgbench_accounts WHERE aid = :aid;

0.957185 UPDATE pgbench_tellers SET tbalance = tbalance + :delta WHERE tid = :tid;

1.730359 UPDATE pgbench_branches SET bbalance = bbalance + :delta WHERE bid = :bid;

0.236083 INSERT INTO pgbench_history (tid, bid, aid, delta, mtime) VALUES (:tid, :bid, :aid, :delta, CURRENT_TIMESTAMP);

246.731468  END;

[postgres@minion1 bin]$  ./pgbench -d postgres -U postgres -h localhost -p 5432 -c 40  -T 600

transaction type: TPC-B (sort of)

scaling factor: 1428

query mode: simple

number of clients: 40

number of threads: 1

duration: 600 s

number of transactions actually processed: 41001

latency average: 585.352 ms

tps = 68.143229 (including connections establishing)

tps = 68.143475 (excluding connections establishing)

[postgres@minion1 bin]$  ./pgbench -d postgres -U postgres -h localhost -p 5432 -c 50  -T 600

transaction type: TPC-B (sort of)

scaling factor: 1428

query mode: simple

number of clients: 50

number of threads: 1

duration: 600 s

number of transactions actually processed: 43309

latency average: 692.697 ms

tps = 71.867790 (including connections establishing)

tps = 71.868053 (excluding connections establishing)

PG同步复制性能测试

[postgres@node1 bin]$  ./pgbench -d postgres -U postgres -h 192.168.0.14 -p 5432 -c 10  -r -T 600

transaction type: TPC-B (sort of)

scaling factor: 1428

query mode: simple

number of clients: 10

number of threads: 1

duration: 600 s

number of transactions actually processed: 16440

latency average: 364.964 ms

tps = 27.380710 (including connections establishing)

tps = 27.380806 (excluding connections establishing)

statement latencies in milliseconds:

0.008551 \set nbranches 1 * :scale

0.006313 \set ntellers 10 * :scale

0.006117 \set naccounts 100000 * :scale

0.007933 \setrandom aid 1 :naccounts

0.007494 \setrandom bid 1 :nbranches

0.007123 \setrandom tid 1 :ntellers

0.007161 \setrandom delta -5000 5000

0.203136 BEGIN;

119.792707  UPDATE pgbench_accounts SET abalance = abalance + :delta WHERE aid = :aid;

0.270357 SELECT abalance FROM pgbench_accounts WHERE aid = :aid;

0.535077 UPDATE pgbench_tellers SET tbalance = tbalance + :delta WHERE tid = :tid;

0.633911 UPDATE pgbench_branches SET bbalance = bbalance + :delta WHERE bid = :bid;

0.145461 INSERT INTO pgbench_history (tid, bid, aid, delta, mtime) VALUES (:tid, :bid, :aid, :delta, CURRENT_TIMESTAMP);

243.549121  END;

./pgbench -d postgres -U postgres -h localhost -p 5432 -c 20  -r -T 600

transaction type: TPC-B (sort of)

scaling factor: 1428

query mode: simple

number of clients: 20

number of threads: 1

duration: 600 s

number of transactions actually processed: 20203

latency average: 593.971 ms

tps = 33.628754 (including connections establishing)

tps = 33.628872 (excluding connections establishing)

statement latencies in milliseconds:

0.007198 \set nbranches 1 * :scale

0.005499 \set ntellers 10 * :scale

0.005457 \set naccounts 100000 * :scale

0.007148 \setrandom aid 1 :naccounts

0.014756 \setrandom bid 1 :nbranches

0.006343 \setrandom tid 1 :ntellers

0.006322 \setrandom delta -5000 5000

0.332977 BEGIN;

269.706515  UPDATE pgbench_accounts SET abalance = abalance + :delta WHERE aid = :aid;

0.655481 SELECT abalance FROM pgbench_accounts WHERE aid = :aid;

0.594572 UPDATE pgbench_tellers SET tbalance = tbalance + :delta WHERE tid = :tid;

1.425101 UPDATE pgbench_branches SET bbalance = bbalance + :delta WHERE bid = :bid;

0.470575 INSERT INTO pgbench_history (tid, bid, aid, delta, mtime) VALUES (:tid, :bid, :aid, :delta, CURRENT_TIMESTAMP);

321.324808  END;

./pgbench -d postgres -U postgres -h localhost -p 5432 -c 30  -r -T 600

transaction type: TPC-B (sort of)

scaling factor: 1428

query mode: simple

number of clients: 30

number of threads: 1

duration: 600 s

number of transactions actually processed: 32375

latency average: 555.985 ms

tps = 53.872946 (including connections establishing)

tps = 53.873141 (excluding connections establishing)

statement latencies in milliseconds:

0.006620 \set nbranches 1 * :scale

0.005146 \set ntellers 10 * :scale

0.005040 \set naccounts 100000 * :scale

0.006596 \setrandom aid 1 :naccounts

0.006322 \setrandom bid 1 :nbranches

0.005923 \setrandom tid 1 :ntellers

0.005909 \setrandom delta -5000 5000

0.336000 BEGIN;

241.561835  UPDATE pgbench_accounts SET abalance = abalance + :delta WHERE aid = :aid;

0.591474 SELECT abalance FROM pgbench_accounts WHERE aid = :aid;

0.473278 UPDATE pgbench_tellers SET tbalance = tbalance + :delta WHERE tid = :tid;

2.602180 UPDATE pgbench_branches SET bbalance = bbalance + :delta WHERE bid = :bid;

0.163975 INSERT INTO pgbench_history (tid, bid, aid, delta, mtime) VALUES (:tid, :bid, :aid, :delta, CURRENT_TIMESTAMP);

310.427730  END;

./pgbench -d postgres -U postgres -h localhost -p 5432 -c 40  -r -T 600

transaction type: TPC-B (sort of)

scaling factor: 1428

query mode: simple

number of clients: 40

number of threads: 1

duration: 600 s

number of transactions actually processed: 34765

latency average: 690.349 ms

tps = 57.691611 (including connections establishing)

tps = 57.691811 (excluding connections establishing)

statement latencies in milliseconds:

0.006601 \set nbranches 1 * :scale

0.005098 \set ntellers 10 * :scale

0.004962 \set naccounts 100000 * :scale

0.047420 \setrandom aid 1 :naccounts

0.006216 \setrandom bid 1 :nbranches

0.005986 \setrandom tid 1 :ntellers

0.005855 \setrandom delta -5000 5000

0.525683 BEGIN;

293.890014  UPDATE pgbench_accounts SET abalance = abalance + :delta WHERE aid = :aid;

1.446397 SELECT abalance FROM pgbench_accounts WHERE aid = :aid;

0.763961 UPDATE pgbench_tellers SET tbalance = tbalance + :delta WHERE tid = :tid;

3.871294 UPDATE pgbench_branches SET bbalance = bbalance + :delta WHERE bid = :bid;

0.223840 INSERT INTO pgbench_history (tid, bid, aid, delta, mtime) VALUES (:tid, :bid, :aid, :delta, CURRENT_TIMESTAMP);

391.076596  END;

[postgres@node1 bin]$ ./pgbench -d postgres -U postgres -h localhost -p 5432 -c 50  -r -T 600

transaction type: TPC-B (sort of)

scaling factor: 1428

query mode: simple

number of clients: 50

number of threads: 1

duration: 600 s

number of transactions actually processed: 36851

latency average: 814.089 ms

tps = 61.288387 (including connections establishing)

tps = 61.288599 (excluding connections establishing)

statement latencies in milliseconds:

0.036619 \set nbranches 1 * :scale

0.015365 \set ntellers 10 * :scale

0.048885 \set naccounts 100000 * :scale

0.006212 \setrandom aid 1 :naccounts

0.005962 \setrandom bid 1 :nbranches

0.005748 \setrandom tid 1 :ntellers

0.028424 \setrandom delta -5000 5000

1.002420 BEGIN;

341.759347  UPDATE pgbench_accounts SET abalance = abalance + :delta WHERE aid = :aid;

1.338118 SELECT abalance FROM pgbench_accounts WHERE aid = :aid;

1.909057 UPDATE pgbench_tellers SET tbalance = tbalance + :delta WHERE tid = :tid;

5.901859 UPDATE pgbench_branches SET bbalance = bbalance + :delta WHERE bid = :bid;

0.338450 INSERT INTO pgbench_history (tid, bid, aid, delta, mtime) VALUES (:tid, :bid, :aid, :delta, CURRENT_TIMESTAMP);

462.642218  END;

PostgreSQL异步复制性能测试

[postgres@node1 bin]$ ./pgbench -d postgres -U postgres -h localhost -p 5432 -c 10  -r -T 600

transaction type: TPC-B (sort of)

scaling factor: 1428

query mode: simple

number of clients: 10

number of threads: 1

duration: 600 s

number of transactions actually processed: 42402

latency average: 141.503 ms

tps = 70.656084 (including connections establishing)

tps = 70.656332 (excluding connections establishing)

statement latencies in milliseconds:

0.009604 \set nbranches 1 * :scale

0.008152 \set ntellers 10 * :scale

0.007491 \set naccounts 100000 * :scale

0.008265 \setrandom aid 1 :naccounts

0.007667 \setrandom bid 1 :nbranches

0.007304 \setrandom tid 1 :ntellers

0.127113 \setrandom delta -5000 5000

0.061162 BEGIN;

139.243102  UPDATE pgbench_accounts SET abalance = abalance + :delta WHERE aid = :aid;

0.990680 SELECT abalance FROM pgbench_accounts WHERE aid = :aid;

0.489713 UPDATE pgbench_tellers SET tbalance = tbalance + :delta WHERE tid = :tid;

0.230086 UPDATE pgbench_branches SET bbalance = bbalance + :delta WHERE bid = :bid;

0.214473 INSERT INTO pgbench_history (tid, bid, aid, delta, mtime) VALUES (:tid, :bid, :aid, :delta, CURRENT_TIMESTAMP);

0.101391 END;

[postgres@node1 bin]$  ./pgbench -d postgres -U postgres -h localhost -p 5432 -c 20  -r -T 600

transaction type: TPC-B (sort of)

scaling factor: 1428

query mode: simple

number of clients: 20

number of threads: 1

duration: 600 s

number of transactions actually processed: 39253

latency average: 305.709 ms

tps = 65.333390 (including connections establishing)

tps = 65.333617 (excluding connections establishing)

statement latencies in milliseconds:

0.009897 \set nbranches 1 * :scale

0.007471 \set ntellers 10 * :scale

0.006880 \set naccounts 100000 * :scale

0.032549 \setrandom aid 1 :naccounts

0.097106 \setrandom bid 1 :nbranches

0.006860 \setrandom tid 1 :ntellers

0.125257 \setrandom delta -5000 5000

0.100855 BEGIN;

299.825466  UPDATE pgbench_accounts SET abalance = abalance + :delta WHERE aid = :aid;

4.123210 SELECT abalance FROM pgbench_accounts WHERE aid = :aid;

0.389870 UPDATE pgbench_tellers SET tbalance = tbalance + :delta WHERE tid = :tid;

0.347125 UPDATE pgbench_branches SET bbalance = bbalance + :delta WHERE bid = :bid;

0.429468 INSERT INTO pgbench_history (tid, bid, aid, delta, mtime) VALUES (:tid, :bid, :aid, :delta, CURRENT_TIMESTAMP);

0.495837 END;

[postgres@node1 bin]$ ./pgbench -d postgres -U postgres -h localhost -p 5432 -c 30  -r -T 600

transaction type: TPC-B (sort of)

scaling factor: 1428

query mode: simple

number of clients: 30

number of threads: 1

duration: 600 s

number of transactions actually processed: 46800

latency average: 384.615 ms

tps = 77.815440 (including connections establishing)

tps = 77.815712 (excluding connections establishing)

statement latencies in milliseconds:

0.010180 \set nbranches 1 * :scale

0.007174 \set ntellers 10 * :scale

0.006647 \set naccounts 100000 * :scale

0.065834 \setrandom aid 1 :naccounts

0.026308 \setrandom bid 1 :nbranches

0.006901 \setrandom tid 1 :ntellers

0.054161 \setrandom delta -5000 5000

0.203354 BEGIN;

373.666099  UPDATE pgbench_accounts SET abalance = abalance + :delta WHERE aid = :aid;

6.878700 SELECT abalance FROM pgbench_accounts WHERE aid = :aid;

1.379165 UPDATE pgbench_tellers SET tbalance = tbalance + :delta WHERE tid = :tid;

0.812257 UPDATE pgbench_branches SET bbalance = bbalance + :delta WHERE bid = :bid;

1.496860 INSERT INTO pgbench_history (tid, bid, aid, delta, mtime) VALUES (:tid, :bid, :aid, :delta, CURRENT_TIMESTAMP);

0.414110 END;

[postgres@node1 bin]$ ./pgbench -d postgres -U postgres -h localhost -p 5432 -c 40  -r -T 600

transaction type: TPC-B (sort of)

scaling factor: 1428

query mode: simple

number of clients: 40

number of threads: 1

duration: 600 s

number of transactions actually processed: 50331

latency average: 476.843 ms

tps = 83.765539 (including connections establishing)

tps = 83.765830 (excluding connections establishing)

statement latencies in milliseconds:

0.009836 \set nbranches 1 * :scale

0.010446 \set ntellers 10 * :scale

0.006072 \set naccounts 100000 * :scale

0.010755 \setrandom aid 1 :naccounts

0.024105 \setrandom bid 1 :nbranches

0.006772 \setrandom tid 1 :ntellers

0.036164 \setrandom delta -5000 5000

0.132524 BEGIN;

457.122401  UPDATE pgbench_accounts SET abalance = abalance + :delta WHERE aid = :aid;

15.298400    SELECT abalance FROM pgbench_accounts WHERE aid = :aid;

1.702279 UPDATE pgbench_tellers SET tbalance = tbalance + :delta WHERE tid = :tid;

0.676259 UPDATE pgbench_branches SET bbalance = bbalance + :delta WHERE bid = :bid;

1.552850 INSERT INTO pgbench_history (tid, bid, aid, delta, mtime) VALUES (:tid, :bid, :aid, :delta, CURRENT_TIMESTAMP);

0.482677 END;

[postgres@node1 bin]$ ./pgbench -d postgres -U postgres -h localhost -p 5432 -c 50  -r -T 600

transaction type: TPC-B (sort of)

scaling factor: 1428

query mode: simple

number of clients: 50

number of threads: 1

duration: 600 s

number of transactions actually processed: 52834

latency average: 567.816 ms

tps = 87.954780 (including connections establishing)

tps = 87.955086 (excluding connections establishing)

statement latencies in milliseconds:

0.009852 \set nbranches 1 * :scale

0.006589 \set ntellers 10 * :scale

0.005597 \set naccounts 100000 * :scale

0.081271 \setrandom aid 1 :naccounts

0.012686 \setrandom bid 1 :nbranches

0.006291 \setrandom tid 1 :ntellers

0.102962 \setrandom delta -5000 5000

0.326865 BEGIN;

543.207220  UPDATE pgbench_accounts SET abalance = abalance + :delta WHERE aid = :aid;

20.356945    SELECT abalance FROM pgbench_accounts WHERE aid = :aid;

1.614863 UPDATE pgbench_tellers SET tbalance = tbalance + :delta WHERE tid = :tid;

0.864676 UPDATE pgbench_branches SET bbalance = bbalance + :delta WHERE bid = :bid;

0.872985 INSERT INTO pgbench_history (tid, bid, aid, delta, mtime) VALUES (:tid, :bid, :aid, :delta, CURRENT_TIMESTAMP);

0.531862 END;

PostgreSQL单机、同步复制、异步复制性能测试对比的更多相关文章

  1. JAVA通过Gearman实现MySQL到Redis的数据同步(异步复制)

    MySQL到Redis数据复制方案 无论MySQL还是Redis,自身都带有数据同步的机制,像比较常用的 MySQL的Master/Slave模式 ,就是由Slave端分析Master的binlog来 ...

  2. MySQL的异步复制、全同步复制与半同步复制

    异步复制 异步复制,主库将事务 Binlog 事件写入到 Binlog 文件中,此时主库只会通知一下 Dump 线程发送这些新的 Binlog,然后主库就会继续处理提交操作,而此时不会保证这些 Bin ...

  3. mysql主从复制的异步复制与同步复制

    异 步复制:MySQL本身支持单向的.异步的复制.异步复制意味着在把数据从一台机器拷贝到另一台机器时有一个延时 – 最重要的是这意味着当应用系统的事务提交已经确认时数据并不能在同一时刻拷贝/应用到从机 ...

  4. 1018关于MySQL复制搭建[异步复制和半同步复制]

    转自:http://www.cnblogs.com/ivictor/p/5735580.html 搭建MySQL数据库的主从架构,还是蛮简单的.重要的几个命令整理一下. 主从服务器上: SHOW VA ...

  5. mysql关于“异步复制”“同步复制”“半同步复制”“无损复制”的概念与区别

    异步复制:主把事务写到binlog日志并不管从是否接收或者什么时候接收,commit之后,不会与从发生ack之类的交互. 同步复制:当主提交一个事务,在主向前端返回一个commit成功的指令前,必须保 ...

  6. MySQL异步复制、半同步复制详解

    MySQL数据复制的原理图大致如下: 从上图我们可以看出MySQL数据库的复制需要启动三个线程来实现: 其中1个在主服务器上,另两个在从服务器上.当发出START SLAVE时,从服务器创建一个I/O ...

  7. PostgreSQL Replication之第四章 设置异步复制(1)

    执行完您的第一个即时恢复(PITR,Point-In-Time-Recovery),我们准备在一个真正的复制设置上工作.在本章,您将学会如何设置异步复制和流.我们的目标是确保您可以实现更高的高可用和更 ...

  8. MySQL 5.7的复制架构,在有异步复制、半同步、增强半同步、MGR等的生产中,该如何选择?

    一.生产环境中: 几种复制场景都有存在的价值.下面分别描述一下: 从成熟度上来选择,推荐:异步复制(GTID+ROW) 从数据安全及更高性能上选择:增强半同步 (在这个结构下也可以把innodb_fl ...

  9. 【3.1】【mysql基本实验】mysql复制(主从复制/异步复制/半同步复制,一主一从)

    关键词:mysql复制(异步复制),mysql异步复制 核心原理: mysql 复制流程原理 一个事务在 mysql异步复制中的流程与生命周期 一个事务,在传统半同步的复制流程 #mysql主从基本实 ...

随机推荐

  1. Lazarus for Raspbian安装

    春节前看到树莓派 2代开始销售,第一时间在淘宝下单购买,无奈春节期间放假,要到3月份才可能收到,只能用QEMU模拟器先熟悉树莓系统.对从turbo Pascal开始的人来讲,如果能在树莓系统使用Pas ...

  2. 汇编ASCII大小写转换(字符串长度$的用法)

    data segment first db "BaSiC" db "iNfOrMaTiOn" len equ $-first ;×Ö·û´®³¤¶È ends ...

  3. Koala编译less

    下载地址:http://koala-app.com/index-zh.html 用Koala可以用来编译less,软件也是简单明了,平时开着其他软件编辑less,只要打开Koala,勾选“自动编译”后 ...

  4. ios copy/strong/weak..使用总结

    总结 关于属性的这些选项的学习,做一下总结: 所有的属性,都尽可能使用nonatomic,以提高效率,除非真的有必要考虑线程安全. NSString:通常都使用copy,以得到新的内存分配,而不只是原 ...

  5. SqlServer2008R2安装步骤

    参考http://jimshu.blog.51cto.com/3171847/585023/

  6. Selenium2学习-015-WebUI自动化实战实例-013-通过 URL 关闭多余的已开浏览器窗口

    在日常的 WebUI 自动化测试脚本执行的过程中,经常会打开不同的网页,进行相应的操作,此时可能会打开很多的网页,当打开的网页过多时,无效的网页资源对运行脚本的机器造成了过多无效的资源浪费,因而在日常 ...

  7. http://blinkfox.com/shi-yong-spring-aoplai-tong-ji-fang-fa-de-zhi-xing-shi-jian/

    http://blinkfox.com/shi-yong-spring-aoplai-tong-ji-fang-fa-de-zhi-xing-shi-jian/ spring-aop.xml @Com ...

  8. iOS8 UIAlertController弹出框中添加视图(例如日期选择器等等)

    UIDatePicker *datePicker = [[UIDatePicker alloc] init]; datePicker.datePickerMode = UIDatePickerMode ...

  9. 腾讯企鹅智酷100多张PPT:移动时代创业黄金法则

    移动时代创业黄金法则 http://tech.qq.com/a/20141223/008325.htm#p=8

  10. 动词 or 名词 :这是一个问题 【转载】

    前言:有网友让我用通俗的语言来讲一讲RESTful ,   我在这一块工程实践的不太多,有点为难了,  只能讲一讲我的理解, 欢迎大家批评指正.计算机行业最擅长造新词了,像什么AJAX,IoC, AO ...