jess
jess

Reputation: 347

In memory MySQL table vs Redis, about insert and concurrency performance

Since data is stored in memory in both cases, is it possible to have the same approximative insert/s and concurrency performance for both?

If not, why?

Upvotes: 8

Views: 4005

Answers (1)

Bill Karwin
Bill Karwin

Reputation: 562328

Concurrency for the MySQL MEMORY storage engine is not good. Like MyISAM, it can only do table-locks. So all concurrent threads doing inserts queue up against each other.

Upvotes: 10

Related Questions