S
S
SKEPTIC2019-12-10 20:40:39
Python
SKEPTIC, 2019-12-10 20:40:39

Redis is slow for me?

I installed redis on a VPS and through Python I check the speed for reading with a simple script. Issues 6000 requests per second. After reading about redis, I expected to see numbers in the tens of thousands of requests per second.
Maybe I'm measuring something wrong?
Learn how to improve performance

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
Dr. Bacon, 2019-12-10
@bacon

Or maybe it's a "simple script" brake? Check with redis-benchmark

R
Roman Mirilaczvili, 2019-12-11
@2ord

Fulfill requests competitively.

N
nuclear_kote, 2019-12-11
@nuclear_kote

Perhaps because it is single-threaded and to speed up it is necessary to raise a cluster of several nodes. True, there will be some jokes there. Like out of sync

L
lJser, 2019-12-11
@SteelJames

I wrote a test script in python. He gave me 24000 operations per second. set/get

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question