MI-DPLA / combine

Combine /kämˌbīn/ - Metadata Aggregator Platform
MIT License
26 stars 11 forks source link

MySQL and ElasticSearch performance #251

Closed ghukill closed 6 years ago

ghukill commented 6 years ago

On an instance of Combine with 6 million + records - an 8gb VM - beginning to see some strain on mostly vanilla configurations for ElasticSearch and MySQL.

ElasticSearch

MySQL

Initiating this issue to note progress on this front of hardening these configurations.

ghukill commented 6 years ago

Made some cursory headway on ES going down:

As for MySQL, scraping the bottom of the memory bucket on an 8gb VM, saw that a Job delete of a sizable job gobbles up about 300mb of memory. With only 600mb or so to spare, this is not insignificant.

More efficient / speedier MySQL deletions would still be ideal.

ghukill commented 6 years ago

Closing - switch to MongoDB for high IO tables has helped dramatically.