Memcached/其他键值引擎隔离
我在平衡器后面有一堆网络服务器(前端)。每个 apache 进程都以每个虚拟主机的自己的用户身份运行。 apache 运行的代码是 PHP,它不是受信任的代码。 我需要共享(在网络服务器之间)会话存储并限制用户(虚拟主机)仅访问其会话存储。因此,我希望避免一个租户能够清除或损坏 memcached 存储的数据。 所以我基本上寻找解决方案来验证用户+创建私有存储桶。 我知道总是有 MySQL 方式可用,但我想避免 SQL 层引入的性能损失。
到目前为止你心里有什么解决办法吗?
I have a bunch of web servers(frontends) behind balancer. Each apache process runs with it's own user for every virtualhost. Code that apache runs is PHP and it's not trusted code.
I need to have shared (between web servers) session storage and limit user(vhost) to only access it's session storage. So I want to avoid one tenant to be able to purge or corrupt memcached stored data.
So I basically looking for solution to authenticate users + create private buckets.
I know there is always MySQL way avaliable but I want to avoid performance penalty introduced by SQL layer.
Any solution in your mind so far?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我发现名为 CouchBase 的产品完全符合我的要求。它具有存储桶以及 memcache 缓存层和访问协议。它具有 SASL 身份验证以及负载平衡和容错功能。
I found product called CouchBase which fully comply with my requirements. It has buckets along with memcache caching layer and access protocol. It has SASL authentication and a bonus of load balancing and fail tolerance.