jxsl13 / TeeworldsEconVPNDetection

The Go implementation of an external VPN ban tool that connects to your server via the econ(based on telnet)
MIT License
2 stars 1 forks source link

test if posgres would make redis obsolete #10

Open jxsl13 opened 9 months ago

jxsl13 commented 9 months ago

postgres has internal types called inet and cidr which could theoretically be used the same way as I use my goripr implementation but also extended to ipv6. Would be interesting to how postgres would manage deduplication/aggregation of overlapping ip ranges

jxsl13 commented 9 months ago

Might as well check out https://github.com/nutsdb/nutsdb/blob/master/docs/user_guides/data-structure.md#sorted-set

jxsl13 commented 9 months ago

nutsdb only supports sorting of max 64 bits (float64)