News for hackers. Stuff that matters.
Re:Stack Overflow Architecture Update - Now At 95 Million Pa... by nopal on Thursday March 03, 2011 @01:18PM (#2285089)
How did the code have to change to read from/write to Redis?
Re:Stack Overflow Architecture Update - Now At 95 Million Pa... by gecko on Thursday March 03, 2011 @01:31PM (#2285138)
I doubt very much. They're basically using Redis as a much more powerful memcached. SQL Server still is the ultimate owner of all StackOverflow data, last time I talked to the team.
Re:Stack Overflow Architecture Update - Now At 95 Million Pa... by nopal on Thursday March 03, 2011 @04:02PM (#2285764)
I guess I just haven't seen memcached integration in .NET. All of the caching examples I've seen use the framework caching components.

I was also wondering if they'd developed any generic custom code to fetch from Redis or fetch from SQL/insert into Redis, and how it fits into their application logic. (e.g. does it happen before they make a LINQ to SQL query, or does it intercept LINQ to SQL queries and return results from Redis).

Re:Stack Overflow Architecture Update - Now At 95 Million Pa... by mythz on Thursday March 03, 2011 @04:19PM (#2285831)
If you're interested, here is a C# Redis Client: https://github.com/ServiceStack/ServiceStack.Redis

With downloads for windows: https://github.com/dmajkic/redis/downloads

Here's an example of an OSS 1-page mini-StackOverflow, written only using Redis: http://www.servicestack.net/RedisStackOverflow/

And this page has caching web services examples (at the bottom), with source code of non-non-invasively dropping in a Redis cache provider using an IOC.

http://www.servicestack.net/ServiceStack.Northwind/

If you want to learn more about Redis, here is an article on how to build an application using only POCO's and Redis: https://github.com/ServiceStack/ServiceStack.Redis/wiki/Desi...

With more info on the wiki: https://github.com/ServiceStack/ServiceStack.Redis/wiki/Desi...

Re:Stack Overflow Architecture Update - Now At 95 Million Pa... by nopal on Thursday March 03, 2011 @10:22PM (#2286863)
Great, thanks!!