TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Cloud Design Patterns

163 pointsby dnnrlyabout 9 years ago

5 comments

hire_chartsabout 9 years ago
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 未加载
tallesabout 9 years ago
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 未加载
ninjakeyboardabout 9 years ago
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 未加载
an4rchyabout 9 years ago
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 未加载
bhvitabout 9 years ago
Microsoft contributing to OSS is too much like a US Federal Tax return for my taste.
评论 #11264995 未加载