是否可以考虑支持本地部署的UpStash? #6049
Unanswered
chunfengyao
asked this question in
Q&A
Replies: 1 comment
-
另外一个是UpStash官方推荐用于开发和测试的https://github.com/hiett/serverless-redis-http ,但是,它不支持path访问(SRH does not implement commands via paths, or accepting the token via a query param. Only the body method is implemented, which the @upstash/redis SDK uses.)所以可能不适合这边的应用。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
去除如下的endpoint的限制,或者使用类似白名单的方式让用户可以自己添加endpoint?
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/blob/0af04e0f2f5af2c39cdd771b2ebb496d9ca47f28/app/api/upstash/%5Baction%5D/%5B...key%5D/route.ts#L15
通过本地部署
ghcr.io/ikatsuba/serverless-redis:latest
(完全兼容upstash的api,包括使用path访问)以及本地的redis,可以让upstash的延时降至10ms内。官方的upstash请求延时不是很稳定。而且 ,数据在自己手上是不是更好一些?Beta Was this translation helpful? Give feedback.
All reactions