This week I was involved with documentation and testing of the two DB backends: MySQL and ElasticSearch.
Documentation:
Added developer documentation for using the ES backend for Job Monitoring and Job Status Update. Includes all the functions of ES and in general full documentation of the Workload Management System (not present before in developer documentation).
Performance Tests:
It is very important that we are at least able to achieve similar performance while using ES backend when compared to MySQL DB. It should also be remembered that the main objective of moving to ES backend is efficient data management as currently, MySQL doesn't store all the incoming data and query processing also becomes difficult in that case.
After implementing and using both backends individually, I tested both the DBs performance using
multi-mechanize (
link), a tool which helps in running concurrent process on a specified number of threads.
Some of the results can be found here for all transactions:
1. ElasticSearch backend
 |
Response Time: raw data (all points)
|
 |
Response Time: 10 sec time-series
|
 |
Throughput: 5 sec time-series
|
2. MySQL backend
 |
Response Time: raw data (all points)
|
 |
Response Time: 10 sec time-series
|
 |
Throughput: 5 sec time-series
|
To sum up, I observed that the performance improved in ES backend in terms of response time when compared with MySQL.
This was all done for week 5. You can find my commits here:
a) Documentation:
b368ffa073c0ec96ff45a39b11d96599b81c8452
b) Performance Tests:
30097a584fcc28483a0a8696f61ff9bb33feff5a
Comments
Post a Comment