O
O
obvilion2017-12-10 19:50:20
MySQL
obvilion, 2017-12-10 19:50:20

What is the best way to cache?

Good evening.
The question arose - which method of data caching is faster - MySQL with the MEMORY engine, or memcached?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ilya Gerasimov, 2017-12-10
@obvilion

The question arose - which method of data caching is faster - MySQL with the MEMORY engine, or memcached?

Faster than memcached, marginally. Much more convenient than redis.

B
Boris Korobkov, 2017-12-10
@BorisKorobkov

Depends on specific usage. If always by primary key - memcached or redis. If for different fields - mysql or mongo.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question