A taste of development

March 26, 2008

Brad Abrams’ pixel8 Interview Podcast posted

Filed under: Technology —Tagged , , , , — simma1990 @ 4:48 am

Also see: The influence of style upon methodology…

I just noticed that the good folks at Pixel8 posted a podcast I did with them a while back.  It was a fun conversation about a bit of.NET history as well as where we are going. 




Landing Page   Download show


I’d love the hear what you think!


http://blogs.msdn.com/brada/archive/2008/03/15/brad-abrams-pixel8-interview-podcast-posted.aspx

AppDomains (”application domains”)

Filed under: Technology —Tagged , , — simma1990 @ 3:00 am

Also see: Applied Metamodelling: A Foundation for Language Driven Development

An
AppDomain is a light-weight process. 
Well, if you actually measure the costs associated with an AppDomain –
especially the first one you create, which has some additional costs that are
amortized over all subsequent ones – then “light-weight” deserves some
explanation:

 

A Win32
process is heavy-weight compared to a Unix process.  A Win32 thread is heavy-weight compared
to a Unix thread, particularly if you are using a non-kernel user threads
package on Unix.  A good design for
Windows will create and destroy processes at a low rate, will have a small
number of processes, and will have a small number of threads in each
process.

 

Towards
the end of V1, we did some capacity testing using ASP.NET.  At that time, we were able to squeeze
1000 very simple applications /
AppDomains into a single worker process. 
Presumably that process would have had 50-100 threads active in it, even
under heavy load.  If we had used OS
processes for each application, we would have 1000 CLRs with 1000 GC heaps.  More disturbing, we would have at least
10,000 threads.  This would reserve
10 GB of VM just for their default 1 MB stacks (though it would only commit a
fraction of that memory).  All those
threads would completely swamp the OS scheduler.

(more…)

Life Calculus

Filed under: Technology —Tagged , , , — simma1990 @ 1:00 am

Also see: Java Frameworks State of the (dis)Union.

Yesterday my coworkers redecorated my office.  Pictures
in this blog entry are photos of their work.  Strangely enough, I found myself
quite appreciative of their act of vandalism.  :-)

Today is my 40th birthday.  Like most other days,
I started by walking the dog and making a To-Do list.  However, today’s list
has a special item:

  • Decide whether to have a mid-life crisis or not.

:-)

I’ll confess I am not entirely thrilled about being 40.  It
doesn’t seem that long ago that 40 seemed far away.  Now that it’s here, I
realize that it’s not what I expected.  I thought my life at 40 would be
different.

Many who know me would assert that I have nothing to
complain about.  And they would be correct.  My life has been filled with
blessings of all kinds, for which I am truly thankful.  I am a published
author.  Most would consider me financially successful.  I am in a career where
I enjoy my work.

But still…

As the old saying goes, nobody lies on their deathbed
wishing they had spent more time at the office.

Like most everybody else, when I was 30 I looked ahead ten
years and formed a picture in my mind.  My life today doesn’t match that
picture very well.  Examples:

  • I thought by now I would be more solid in the quality of
    my relationships with my loved ones and in the practice of my faith.

  • I thought by now I would be a better guitar player.
  • There’s a messy pile in my study that has been there for
    ten years.  (Yes, we moved six years ago.  The heap moved too.)  I thought
    it would be cleaned up by now.

  • I always assumed that by 40 I would have learned to
    exercise regularly and stop eating junk food.

(more…)

Powered by WordPress Hosted by Edublogs.