Syncer Performance Tuning Recently, I re-read some chapter of Programming Pearls about the performance tuning. For notes about detailed basic principles to optimize performance, you may like to refer to this post . In those chapters, author concludes some optimization levels to check when performance becomes a problem: Design level (System architecture): run in parallel, do in async way etc; Algorithm level: space and time tradeoff; better algorithm & ADT; Code tuning: loop unrolling; lock opt; System Software JVM level: garbage collector chosen; command line argument tuning; OS level: network config; IO tuning; Hardware Now, we will apply above checklist of optimization levels to a specific project – syncer (syncer is a tool to sync & manipulate data from Mysql/MongoDB to Elasticsearch/Mysql/Http Endpoint) – to put the knowledge into practice and get better ideas about performance tuning. Prepare Data & Env The architecture of syncer...
Learn programming, still on the way