Monday, December 27, 2004

412.aspx

Disaster relief from donating bloggers

We had a scary day yesterday as a very close friend of us is on vacation in Sri Lanka. Luckily it turned out that she was in the middle of the country and was unaffected by the disaster. I was wondering what we can do to help the victims of the earthquake and tsunamis when I came across this post by Greg Hughes



"This is the right time to stop what you normally do, get out of your little digital world that you assume is all-defining and all-encompassing (it’s not, really) and come back to reality...Very real people are experiencing very real pain, and you can do your part to help them recover."


Nick Bradbury is donating what he earns from TopStyle and FeedDemon to the International Red Cross. I know it is not much, but I will donate what I get from Google AdSense in December from my blogs Crap And Crapability, Cool Or What and /egilh to the International Red Cross.


I hope more bloggers follow the example of Dan Gilmore and donate what they can to help, or let Scob know if they have other suggestions for helping.

Wednesday, December 22, 2004

403.aspx

10 Tips for Writing High-Performance Web Applications

The January 2005 edition of MSDN Magazine has a list of tips for writing high performance ASP.NET applications.


Nothing new, but a useful reference for people that are new to ASP.NET development.


 Via [MSDN Just Published]

402.aspx

VMWare 5.0 Public Beta

VMWare is very useful when testing playing with the latest and greatest betas or developing software that can will break your machine. There are several new features in VMWare 5.0:



  • V2V Assistant: Creates VMWare Virtual Machines from Microsoft Virtual PC virtual machines

  • Movie Capture of all the operations you do in the virtual machine

  • Performance Enhancements

  • Support for 64-bit Hosts

It can be download from the BetaNews FileForum


Via [BetaNews] 

Thursday, December 16, 2004

400.aspx

How and why people use camera phones

Microsoft Research has researched the use of Cameraphones. I'm about to get my first camera phone tomorrow, a Nokia 6630. Wonder what kind of user I will be.



In this paper we describe an in-depth study into how people (adults and young people) use their camera phones. Using a combined method of interviews and grounded discussions around a sample of actual photos, we look at people's intentions at the time of capture, subsequent patterns of use, and desires for future technology. The result is a 6-part taxonomy which provides a framework for describing the way images are used both for sharing and personal use, and for affective (or emotional) reasons and functional use. On the basis of this framework, we discuss the value of camera phones and point to ways in which future design may encourage its emerging value.


One thing is for sure: I can think of one occasion when I really wanted to have a camera handy!


I have used a Nokia 6600 the last few weeks while I am waiting for the replacement for my broken phone. Didn't use the camera much but I got the chance to try it the last time I was in London waiting for a flight.


Via [MSDN Student Flash]

Wednesday, December 15, 2004

398.aspx

SqlClient has a Max Pool Size setting of 100

Another lesson learned: Increase the Max Pool Size setting on systems that does a lot of requests to the DB if you use ADO.NET


I had problems earlier this week with a custom session management system that handles 15.000.000-20.000.000 requests per day per machine but is designed to handle a lot more.  The DB is pretty well optimized so call times for each query is only a few milliseconds in normal conditions. With 17.500.000 requests per day there are ~200 requests per second to the session management system with peaks that are a lot higher due to traffic distribution throughout the day.


I didn't realize that the ADO.NET Sql Client by default uses max 100 items in the connection pool. I expected it to grow the connection pool as needed to handle the increased traffic. I was wrong. When it reaches 100 connections it starts queuing requests. With >200 req/s it quickly reached the 100 item limit when the DB slowed down during batch operations.


The system scales a lot better with increased traffic after we doubled Max Pool Size setting in the SqlClient ConnectionString like this: 



Data Source=...;User ID=...;Password=....;Initial Catalog=...;Min Pool Size=10;Max Pool Size=200


 

Monday, December 13, 2004

388.aspx

Koders.com

Koders.com has tons of source code. Great if you're looking for ways to use a particular function, how to manage a particular error code or if you look for an implementation of a particular algorithm.


The search results can be filtered by language as well as license.


 

385.aspx

Google Suggest: Better than Auto Complete?

Impressive. The Google Suggest beta does a great job of auto complete for the .NET APIs: