主要解决高并发场景下的长短链接转换问题,最高可支持 21 万亿条数据。
linux 环境: 需要安装 python3.0 以上,以及 gcc
node-gyp configure build
v16.0.0 以上
npm run test
npm run dev
-
redis 版本: docker pull redislabs/rebloom:latest
-
postgres: docker pull postgres
- 优先解决部署问题
- 提供 docker-compose 部署脚本
- 支持 helm
- 由于 node 本身存在的内存和性能问题,后续会提供一版 Golang 方案。 node 服务作为短链生成器还是没有问题的,Golang 版本目前只打算作为转化器使用。