« February 2007 | March 2007 Archives | April 2007 »

Hmm, is this really a good fix?

| 0 Comments
Back in July Joe Duffy wrote an interesting piece on the CLR thread pool. I commented on it then, here. He's now written another piece about why they increased the maximum number of threads in "the thread pool" from 25/cpu to 250/cpu. Joe, I refer you to my previous comment... You're solving the wrong problem!…

Yay .Net sockets stuff...

| 0 Comments
Nice to see that the new beta, sorry, CTP, of the next .Net Framework will increase the performance of .Net sockets by 70%! Way to go .Net dudes.... Interesting to see that it's a joint effort between the System.Net people (who, I assume own the sockets code) and the CLR people (who own the platform)... I wonder what the CLR guys brought to the tuning table... It would be nice to know how the new (and existing) .Net sockets performance compares with the Win32 equivalent...…
Back in April 2006 I posted a copy of TickShifter, see here for details. It seems that there was a bug in my Win32 debugger code on which TickShifter is built. The bug was that we failed to "forget about" dlls that were unloaded... Because we failed to forget about them it was possible for the debugger code to try and do something with addresses in these dlls that were no longer loaded and this would cause a C++ exception on the debugger thread when our call to ReadProcessMemory() failed and this caused all sorts of problems... The end result…

UDP Multicast

| 0 Comments
The Server Framework now includes UDP multicast. There are a couple of new examples; a server that joins a multicast group and a client that sends to a multicast group.…
People often ask me what the difference is between the free code that's available on this website and the licensed version; this is what I reply...…

Socket Server that hosts the CLR

| 0 Comments
My investigations into CLR hosting are going well and today I built an echo sever based on The Server Framework and my CLR Hosting helper library. The idea is that the server can deal with the network IO and then hand off the 'real work' to some .Net code. So far the integration is going pretty smoothly....…

Echoes from the CLR

| 4 Comments
The work on the CLR hosting socket server example is going pretty well. I now have a server that can pass server notifications to managed code that either runs in an AppDomain per connection or within a single AppDomain (depending on how isolated you want the user code to be). I think I'm pretty much there as far as what I want to demonstrate is concerned; it works and the line between managed and unmanaged code is likely to vary depending on a client's particular requirements so there's little point in extending the example code any further. Hopefully I'll get…

Taking my own advice

| 0 Comments
I'm in the middle of making some changes to The Server Framework, working through my list of things to do whilst I get my head around my next project; some LSP development... The current change is one that I advised others of some time ago; avoid unnecesary optionality. It's quite a sweeping change as all through the framework I originally used pointers to socket objects and data buffers when, in 99.9% of cases it would have been more appropriate to use references. The pointers can never be null so, in my view, they should be references. Unfortunately this change pokes out into…
« February 2007 | March 2007 Archives | April 2007 »

About this Archive

This page is an archive of entries from March 2007 listed from newest to oldest.

February 2007 is the previous archive.

April 2007 is the next archive.

I usually write about C++ development on Windows platforms, but I often ramble on about other less technical stuff...

Find recent content on the main index or look in the archives to find all content.

I have other blogs...

Subscribe to feed The Server Framework - high performance server development
Subscribe to feed Lock Explorer - deadlock detection and multi-threaded performance tools
Subscribe to feed l'Hexapod - embedded electronics and robotics
Subscribe to feed MegèveSki - skiing