redis study notes -

In a client

SUBSCRIBE channel_one

Another client

PUBLISH channel_one "test_message"

Affairs

MULTI: mark the start of a transaction block

Multi-command

EXEC: execute within a transaction block all commands

DISCARD: All command to cancel a transaction block

Execute batch scripts, no atomicity

Performance Testing

redis-benchmark -n 10000  -q
Published 19 original articles · won praise 0 · Views 786

Guess you like

Origin blog.csdn.net/weixin_44151772/article/details/105087417