Please sign in to comment.
CBD-771: Stats archiver uses ETS to replace Mnesia
Stats are stored in memory resident ETS tables and are dumped to backup files periodically. Cascade and truncate happen in memory now. Stats backup files are saved in data/<node>/stats directory which is parallel to data/<node>/mnesia. Using ETS to replace mnesia certainly saves CPU usage. On idle 2-node cluster with 3~5 buckets, I see the CPU% drops at least 10%. Based on work of Liang Guo. Change-Id: If57932e0caae6e28e9b57b6317ba87e0b870b422 Reviewed-on: http://review.couchbase.org/22545 Tested-by: Aliaksey Kandratsenka <firstname.lastname@example.org> Reviewed-by: Aliaksey Kandratsenka <email@example.com>
- Loading branch information...
Showing with 250 additions and 730 deletions.
Oops, something went wrong.