5 ms·
This looks interesting. I've only glanced at the docs, but it looks like this module system lets you define new commands but not necessarily new data structures
by aaw 10y ago
This looks interesting. I've only glanced at the docs, but it looks like this module system lets you define new commands but not necessarily new data structures (since you'd have to implement RDB/AOF serialization for those).
Are there plans for that? It's probably possible to do most of that with this module system but you'd have to serialize the data structure into a string and "type X" wouldn't return your custom data structure type.
- antirez 10y agoDefinitely plans to register new data types with serialize/deserialize callbacks! Thanks.
- deleted 10y ago[deleted]
- maerF0x0 10y agoHe mentioned in the keynote being able to do your own datastructures by raw access to the data and primitives like seeks and next/prev . Sounds like it's at least planned, if not roughed in.