We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
@yaojixiang1975 redis 内部不支持自定义排序,所以比较难在 redis 中实现严格意义上的撮合优先规则。
Sorry, something went wrong.
用zset就可以。zset首先是分数排序,分数相同的按字典顺序排序。 member不能直接用order_id,可以用一个20位serial_id,不足补0. serial_id 买的订单是递增, 卖的订单是递减。 通过serial_id可以映射order_id
@yaojixiang1975 有空试试
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: