The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Web App Design: Avoid Writing to Disk?

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Udi Dahan

Posts: 882
Nickname: udidahan
Registered: Nov, 2003

Udi Dahan is The Software Simplist
Web App Design: Avoid Writing to Disk? Posted: Mar 11, 2006 11:54 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Udi Dahan.
Original Post: Web App Design: Avoid Writing to Disk?
Feed Title: Udi Dahan - The Software Simplist
Feed URL: http://feeds.feedburner.com/UdiDahan-TheSoftwareSimplist
Feed Description: I am a software simplist. I make this beast of architecting, analysing, designing, developing, testing, managing, deploying software systems simple. This blog is about how I do it.
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Udi Dahan
Latest Posts From Udi Dahan - The Software Simplist

Advertisement
Kirk Allens recently posted something about avoiding writing to disk in web apps. I believe that this particular piece of advice is rooted in the performance of dealing with images and databases (see part 1 of his advice), but in the comments he brings up file-replication between servers as another reason.

Personally, on the file-replication issue, I don't see why a simple NAS couldn't solve that for relatively large web farms. In the case of only a couple of servers, a simple file-share would do.

On to performance.

Or rather scalability.

The way that the internet works today, as far as I understand, is that static files (like html, txt, jpg, gif, etc) get cached all over the place between your end users and your web farm. This includes ISPs and even Google. If a user requests the file http://your-site/123.jpg chances are that request won't need to come to your webfarm - it'll just be served up by someone who had that file already go through. This will (probably - I'm not 100% sure) not occur with the file http://your-site/123.ashx.

I've talked in the past about achieving maximum scalability in web apps before. While Krik's solution will work, and may slightly improve the processing time of some work, I think that scalability should really be the beacon you follow.

Read: Web App Design: Avoid Writing to Disk?

Topic: About to be banned in China? Previous Topic   Next Topic Topic: IE7

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use