TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Cloud Design Patterns

163 点作者 dnnrly大约 9 年前

5 条评论

hire_charts大约 9 年前
Cache-Aside is an Antipattern. It forces you to define your caching logic at the application layer, and suddenly the app must care about--and actually implement--your caching strategy. This is very difficult to scale correctly and is a common source of stale data and race conditions.<p>Better to treat caching as part of your overall database infrastructure. If caching &quot;hot&quot; data is really important for your app, make sure your data layer supports read-through and write-through caching. Or use the &quot;CQRS&quot; Pattern and read from a different source than your writes (allowing your writes to transparently apply whatever underlying caching strategy you need to support the reads).<p>The MSDN article on CQRS actually has some good advice on combining it with Materialized Views and handling consistency issues. Worth reading if you&#x27;re interested in solving your caching problems.
评论 #11260608 未加载
talles大约 9 年前
What CQRS, an index table or simply &quot;retry&quot; (is this even a &quot;pattern&quot;?) has to do with &quot;the cloud&quot;?<p>Don&#x27;t get me wrong, I think is a lovely page (bookmarked), but I fail to see how those techniques are necessarily tied to the cloud.<p>One thing is to put our services in the cloud, another is to put our concepts in it.
评论 #11259591 未加载
评论 #11259177 未加载
ninjakeyboard大约 9 年前
What&#x27;s going on over at microsoft? They&#x27;ve had a flurry of OSS announcements, a linux-for-switches fork, are posting relevant tech articles etc. This isn&#x27;t the same microsoft I know. Is there some sort of change in the direction of leadership? I haven&#x27;t seen any articles about changes in strategy in these directions but am seeing a lot of activity.
评论 #11259571 未加载
评论 #11259386 未加载
评论 #11260312 未加载
评论 #11259406 未加载
评论 #11259723 未加载
an4rchy大约 9 年前
Interesting read. Although, I wasn&#x27;t a fan of the banner asking for feedback at the bottom. I immediately clicked no without reading what it was (It was something to the extent of &#x27;Is this page helpful?&#x27;) Although, after dismissing it I wanted to say Yes but after submit I can&#x27;t change my opinion.
评论 #11259600 未加载
评论 #11259747 未加载
bhvit大约 9 年前
Microsoft contributing to OSS is too much like a US Federal Tax return for my taste.
评论 #11264995 未加载