>And there's a problem with that statement. Every enhancement adds code,
>and because of the nature of perl, all added code contributes directly to
>startup time. Therefore since every enhancement both makes things less
>simple and makes things slower, any enhancement can only have the effect of
>making the "score" worse.
I hear you :)
now question (sorry if this is Mj2 FAQ) - will Mj2 run as a daemon or will
it start for each new request?
When perl is the impl. lang. then starting perl interpreter from scratch
every time is a killer.
I am hoping Mj2 will be a daemon....but I could be missing some important
reasons against Mj2 as a daemon.
>The program must have some functionality in addition to being small, fast,
>and simple. My goal has been to give it the functionality that I need and
>people have been requesting forever. If the status quo was good enough,
>why bother doing anything? One of the biggest problems, amounting to a
>large chunk of the startup time, is due to one line: use MIME::Parser.
>Satisfying that one design goal has a big CPU cost. I have no solutions to
I thin slow startup is okay, if it happens once, and then things run fast.
The problem is if you have to start every 5 seconds because you get a
request/email every 5 seconds.
>BTW, my design goals were: core-interface separation, full MIME compliance,
>remote configuration management even for things that were in majordomo.cf,
>integrated TLB-like delivery engine, storage of per-subscriber data, and
>unified, flexible access control mechanism. I18n was not an initial design
>goal and all of it that doesn't come for free is still on the TODO list.
sorry for my lack of jargon knowledge, but what is TLB? (tomato, lettuce,
will per-subscriber data be stored in those DBM files that were being
mentioned? Wouldn't RDBMS make more sense?
>All of those goals have been met. The functionality I wanted in an MLM is
>now there (though of course it lacks some things that everybody else
>wants). It remains to make it go fast. I believe I have more tricks up my
>sleeve to do so.
Threads should come with perl 5.005, Malcolm Beatie told me the other day,
so that should help with performance although the my question about Mj2 as a
daemon still stands.