php - How to check the execution order of Redis commands under high concurrency?
给我你的怀抱
给我你的怀抱 2017-06-20 10:06:08
0
2
1236

Ask a question: I use the ab tool to test the program I wrote. Redis is used in the program. I want to know in what order redis executes commands under high concurrency conditions. The picture below was posted by a netizen. It is what I want, but I don’t know where or how he got it:

Thanks!

给我你的怀抱
给我你的怀抱

reply all(2)
漂亮男人
redis-cli monitor

redis-benchmark -q -n 100000 # benchmark另开窗口运行.

阿神

The article upstairs is very good. In fact, this thing is the same as subscribing and pre-publishing. One needs to wait for the result synchronously. Only by operating on redis can you see the results.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!