HandlerSocket plugin Client for Javaとそれを用いたベンチマーク

7,033 views
6,903 views

Published on

Published in: Technology
0 Comments
6 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
7,033
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
61
Comments
0
Likes
6
Embeds 0
No embeds

No notes for slide

HandlerSocket plugin Client for Javaとそれを用いたベンチマーク

  1. 1. HandlerSocket plugin Client for Java
  2. 2. HandlerSocket MySQL plugin 5.1 plugin Handler (≒SQL
  3. 3. HandlerSocket http://github.com/ahiguti/HandlerSocket-Plugin-for-MySQL
  4. 4. HandlerSocket http://yoshinorimatsunobu.blogspot.com/2010/10/using-mysql-as-nosql-story-for.html
  5. 5. HandlerSocket http://github.com/ahiguti/HandlerSocket-Plugin-for- MySQL http://www.slideshare.net/akirahiguchi/handlersocket- plugin-for-mysql-4664154 http://yoshinorimatsunobu.blogspot.com/2010/10/using- mysql-as-nosql-story-for.html
  6. 6. HandlerSocket plugin Client for Java C/Perl Java (Pure Java) http://code.google.com/p/handlersocketforjava/
  7. 7. HandlerSocket plugin Client for Java http://code.google.com/p/handlersocketforjava/
  8. 8. HandlerSocket plugin Client for Java (HandlerSocket/HandlerSocketResult) features. / Commons-pool
  9. 9. Benchmark Java 10,000 CRUD QPS MyISAM/InnoDB bulk -100 (HandlerSocket) / 1 (HandlerSocket/JDBC) 1 32
  10. 10. Benchmark Macbook Pro(2.66GHz Core2Duo/4GB memory) HandlerSocket plugin Client for Java( ) KBM CentOs 5.5(2.2GHz 2Core/4GB memory) MySQL 5.1.50 HandlerSocket plugin
  11. 11. Benchmark Benchmark table MyISAM/InnoDB Field Type Null Key Default uuid int no pri null id varchar no uni null json varchar no null created datetime yes null updated datetime yes null deleted int yes mul 0
  12. 12. Benchmark(select) HandlerSocket-MyISAM(bulk100) HandlerSocket-InnoDB(bulk100) JDBC-MyISAM JDBC-InnoDB 40000 30000 QPS 20000 10000 0 1 2 4 8 16 32
  13. 13. Benchmark(select) HandlerSocket-MyISAM(single) HandlerSocket-InnoDB(single) JDBC-MyISAM JDBC-InnoDB 4000 3000 QPS 2000 1000 0 1 2 4 8 16 32
  14. 14. Benchmark(insert) HandlerSocket-MyISAM(bulk100) HandlerSocket-InnoDB(bulk100) JDBC-MyISAM JDBC-InnoDB 30000 22500 QPS 15000 7500 0 1 2 4 8 16 32
  15. 15. Benchmark(insert) HandlerSocket-MyISAM(single) HandlerSocket-InnoDB(single) JDBC-MyISAM JDBC-InnoDB 3000 2250 QPS 1500 750 0 1 2 4 8 16 32
  16. 16. Benchmark(update) HandlerSocket-MyISAM(bulk100) HandlerSocket-InnoDB(bulk100) JDBC-MyISAM JDBC-InnoDB 30000 22500 QPS 15000 7500 0 1 2 4 8 16 32
  17. 17. Benchmark(update) HandlerSocket-MyISAM(single) HandlerSocket-InnoDB(single) JDBC-MyISAM JDBC-InnoDB 3000 2250 QPS 1500 750 0 1 2 4 8 16 32
  18. 18. Benchmark(delete) HandlerSocket-MyISAM(bulk100) HandlerSocket-InnoDB(bulk100) JDBC-MyISAM JDBC-InnoDB 30000 22500 QPS 15000 7500 0 1 2 4 8 16 32
  19. 19. Benchmark(delete) HandlerSocket-MyISAM(single) HandlerSocket-InnoDB(single) JDBC-MyISAM JDBC-InnoDB 3000 2250 QPS 1500 750 0 1 2 4 8 16 32
  20. 20. bulk

×