Skip to content
New issue

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

redis encode in a row test #148

Open
wanghenshui opened this issue Nov 4, 2024 · 5 comments
Open

redis encode in a row test #148

wanghenshui opened this issue Nov 4, 2024 · 5 comments

Comments

@wanghenshui
Copy link
Owner

No description provided.

@wanghenshui
Copy link
Owner Author

wanghenshui commented Nov 15, 2024

https://www.dragonflydb.io/guides/redis-sorted-sets
https://redis.io/docs/latest/commands/zrange/

zset

key <-> meta | codec | ser

codec: fbs

key-score <-> ""

zadd/zincr

lower_bound check and modify

https://stackoverflow.com/questions/44717939/elegant-way-to-find-keys-with-given-prefix-in-stdmap-or-elements-in-stdset
https://en.cppreference.com/w/cpp/container/map/lower_bound
zrem

lower_bound check and remove

zrank

lower_bound advance it

zrange

advance begin/end

问题
fbs最大序列化大小?
序列化能不能指定comparator?

https://flatbuffers.dev/flexbuffers.html

https://flatbuffers.dev/flatbuffers_internals.html

@wanghenshui
Copy link
Owner Author

flatbuffer不行。考虑fraillt/bitsery

@wanghenshui
Copy link
Owner Author

/fraillt/bitsery/issues/4

@wanghenshui
Copy link
Owner Author

yalantinglibs::struck_pack抠出来

@wanghenshui
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant