适合存储 Web 服务输出缓存的云服务吗?

发布于 2024-10-17 19:07:28 字数 305 浏览 4 评论 0原文

我正在开发一个主要返回 C# 数据表的 Web 服务。

它当前将输出结果缓存到 memcached 集群中,该集群由另一个缓存更新器根据内部消息进行刷新。

由于这些缓存不会过期,因此拥有良好的故障转移等至关重要...... 当我继续这样做时,在这个裸机 memcached 集群上确保故障转移或可靠的缓存键控制变得非常困难。

此外,可扩展性也成为一个重要的问题,因为这将是一个大型流量门户的背后。

因此,我在想是否有任何基于云的数据库服务(AWS SimpleDB、AWS MySQL 或 Azure?)可以成为此目的的良好候选者。

I am developing a web service that mainly returns C# datatables.

It currently caches the output results into memcached cluster which is refreshed by another cache updater based on the internal messages.

Since those caches don't expire, it is crucial to have good failover etc...
As I go on with this, it gets quite difficult to ensure failover or reliable cache key control on this bare bone memcached cluster.

Also the scalability is becoming an important concern since this is going to be behind a large traffic portal.

So I am thinking if any cloud-based DB service (AWS SimpleDB, AWS MySQL or Azure?) can be a good candidate for this.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

新雨望断虹 2024-10-24 19:07:28

我最近正在使用 AWS SimpleDB,如果您只需要转储大型数据矩阵,它看起来非常好。我正在用 python 编写一个脚本,因此我使用了关联的库,它可以让您执行以下操作:

 sdb = simpledb.SimpleDB('secret id') 
 forex_rates = sdb['forex'] # forex is the domain (table)
 forex_date = forex_rates['2011-01-01'] #get a row of the domain
 usd_rate = forex_date['USD']           #get a cell/datum
 forex_date['USD'] = '1.435'            #modify the cell
 forex_date['USD'].save()  # write the data back to the cloud

它不是您可能已经知道的关系数据库。

I was using AWS SimpleDB recently and it seems very good, if all you need is to dump large matrices of data. I was writing a script in python so I used the associated library and that lets you do things like:

 sdb = simpledb.SimpleDB('secret id') 
 forex_rates = sdb['forex'] # forex is the domain (table)
 forex_date = forex_rates['2011-01-01'] #get a row of the domain
 usd_rate = forex_date['USD']           #get a cell/datum
 forex_date['USD'] = '1.435'            #modify the cell
 forex_date['USD'].save()  # write the data back to the cloud

It's not a relational database as you probably already know.

向日葵 2024-10-24 19:07:28

如果您使用的是 Azure,您是否研究过 Azure AppFabric 缓存?快速浏览一下您的需求,它看起来会为您提供适合云的缓存模型。看一下

http://www.microsoft.com/windowsazure/AppFabric/概述/default.aspx#top

If you are using Azure, have you looked into Azure AppFabric caching? From a quick glance at your needs, it looks like it would provide you with a cloud-appropriate cache model. Take a look

http://www.microsoft.com/windowsazure/AppFabric/Overview/default.aspx#top

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文