U.C. Berkeley has a free online course on engineering principles for developing “Software as a Service” (SaaS) (also known as “Cloud Computing”, before that it was known as “Web 2.0”, before that as “Web Programming”, before that as “N Tier Programming”, before that as “Nerdcore Rap”)
Archive for May, 2012
Subtract 10 pts if you actually implement anything like this in real life code:
using System;
using System.Linq;
namespace FizzBuzzInOneLine
{
internal class Program
{
private static void Main(string[] args)
{
Console.Write( String.Join("\n",
Enumerable.Range(1, 100)
.Select(x => (x%3 == 0)
? (x%5 == 0)
? "FizzBuzz"
: "Fizz"
: (x%5 == 0)
? "Buzz"
: x.ToString())));
}
}
}
Caching is absolutely the most effective way to speed up the performance of an app. However, .NET does not have a reasonable tool for caching data, such as the contents of a database table, across all servers for all users.* There are third party tools that do this, but they are pricey.
A tool called AppFabric is available from Microsoft (for free) that spans the cache for all users across all web servers in a farm/garden/cluster. Downside: it’s only available for current operating systems like Windows 7, Vista, and Server 2008.
If you’re interested, here are some tutorials:
http://msdn.microsoft.com/en-
* .NET can cache data for all users on one server (using Cache), or for one user on all servers (using Session), but not for all users on all servers
