?

Log in

No account? Create an account
monobal 0.3 - brad's life — LiveJournal [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

monobal 0.3 [Jan. 4th, 2004|03:25 pm]
Brad Fitzpatrick
Hot on the heels of the much-revered 0.2 release, I now proudly announce monobal 0.3, the currently stupid but functional C# reverse load balancer that runs on Mono!

http://www.bradfitz.com/share/monobal/monobal-0.3.tar.gz

Things completed since last time:

-- my Socket.cs patches to mono have gone into mono cvs.
-- POST/PUT/etc support. (not just GET)
-- uses Trace for debugging, not Console.WriteLine (.NET tracing is fun!)

Things remaining:

-- everything I said before for the 0.2 release.

Other things I've thought of since:

-- performance (which I haven't cared about yet)
   o watch traces to see if what i expect is happening, and nothing more
   o profile
   o don't create delegates on the fly as needed. just make them once per connection.
-- UsefulStream probably has corner-cases in the BeginGetLine. that's all FIXME annotated still.
LinkReply

Comments:
From: ex_bulatych796
2004-01-04 11:34 pm (UTC)
Is tracing in .NET based on AOP?
(Reply) (Thread)
[User Picture]From: brad
2004-01-04 11:39 pm (UTC)
Looks like AOP is a Java thing that got popular after I stopped doing the Java.... so I can't say. I've never used either, except the little bit of tracing I did today in .NET.

I was just impressed how I could trace to different tracelisteners and how easy it was to filter my tracing:
$ mono --help-trace
Tracing options:
   --trace[=EXPR]        Trace every call, optional EXPR controls the scope

EXPR is composed of:
    all                  All assemblies
    none                 No assemblies
    program              Entry point assembly
    assembly             Specifies an assembly
    M:Type:Method        Specifies a method
    N:Namespace          Specifies a namespace
    T:Type               Specifies a type
    +EXPR                Includes expression
    -EXPR                Excludes expression

(Reply) (Parent) (Thread)
From: ex_bulatych796
2004-01-04 11:50 pm (UTC)
Thanks! It seems to be a really convenient debugging facility but not AOP since you don't write any aspects for it.
(Reply) (Parent) (Thread)