caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Thomas Fischbacher <Thomas.Fischbacher@Physik.Uni-Muenchen.DE>
To: Oliver Bandel <oliver@first.in-berlin.de>
Cc: caml-list@inria.fr
Subject: Re: Yet another OCaml Webserver?! (was: Re: [Caml-list] Yet another sudoku solver (838 bytes))
Date: Sat, 19 Nov 2005 16:41:25 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.61.0511191623380.28855@eiger.cip.physik.uni-muenchen.de> (raw)
In-Reply-To: <20051119150931.GB324@first.in-berlin.de>


On Sat, 19 Nov 2005, Oliver Bandel wrote:

> But where is the "yet another" or even "first" Ocaml webserver?

A much more interesting project (in my opinion) would be a DNS server in 
OCaml.

Rationale:

(1) To my knowledge, there are only two-and-a-half DNS server 
implementations that work reasonably well to be used for that job: 
BIND and djbdns. BIND was considered a major security catastrophe for a 
long time, and still is considered at least a design catastrophe by many.
djbdns is far slicker, but suffers from the problem that the major 
difference between djb and God seems to be that God knows he isn't djb.

It may be just me, but I think it's excessively rude to address this 
"every unix has its own place to install stuff" issue with "I am a big 
enough authority to decide upon the the introduction of new toplevel 
directories that resolve that point". Furthermore, djbdns is just another 
C application doing potentially dangerous stuff. Sure, djb is an excellent 
C hacker, but what if it eventually turned out that this "it's safe even 
though doing hairy stuff in an unsafe language because I know I am the 
best hacker in the world" hubris were unfounded?

At least, many people could sleep better if they could rely on their 
DNS server giving them better safety guarantees than that. I would 
especially *love* to see a well designed, properly implemented, 
peer-reviewed DNS server written in Haskell, but OCaml may also be a nice 
alternative. (Nevertheless, one should take a close look at many of those 
points which djb addresses with djbdns that the BIND folks did not care 
about.)

Erlang may be another interesting choice, which brings me to the last 
working DNS implementation I know: Eddie. This is the DNS half of a (now 
dead, I suppose) combined DNS/Webserver Erlang load balancing project. 
I managed to make it work, but it did not appear to be mature enough for 
real world use.

Aside from this, there is a CPAN Perl module named something 
like DNS::Server which sucks badly at dealing with recursive queries, as 
well as a Python DNS named "Oak", for which I can only find broken 
sources on the web. Anything else I missed?

-- 
regards,               tf@cip.physik.uni-muenchen.de              (o_
 Thomas Fischbacher -  http://www.cip.physik.uni-muenchen.de/~tf  //\
(lambda (n) ((lambda (p q r) (p p q r)) (lambda (g x y)           V_/_
(if (= x 0) y (g g (- x 1) (* x y)))) n 1))                  (Debian GNU)


  reply	other threads:[~2005-11-19 15:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-19 12:41 Yet another sudoku solver (838 bytes) Marco Maggesi
2005-11-19 15:09 ` Yet another OCaml Webserver?! (was: Re: [Caml-list] Yet another sudoku solver (838 bytes)) Oliver Bandel
2005-11-19 15:41   ` Thomas Fischbacher [this message]
2005-11-19 15:55   ` William Neumann
2005-11-19 16:05     ` Oliver Bandel
2005-11-19 16:29       ` William Neumann
2005-11-19 17:28   ` Jonathan Bryant
2005-11-19 20:09   ` Jonathan Roewen
2005-11-19 20:19     ` Oliver Bandel
2005-11-19 20:32       ` skaller
2005-11-19 20:50         ` Jonathan Roewen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.61.0511191623380.28855@eiger.cip.physik.uni-muenchen.de \
    --to=thomas.fischbacher@physik.uni-muenchen.de \
    --cc=caml-list@inria.fr \
    --cc=oliver@first.in-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).