In Redis, you can use transaction-style (mean queue commands then flush it once). It will improve performance in many case where latency or networking is slow.
> SET hoge 2
MULTI command is begin transaction and
EXEC command is commit transaction
The result will be returned in order your command queue list.