foxster has quit [Connection timed out]
foxen has quit [Read error: 104 (Connection reset by peer)]
aaaazz has joined #ocaml
aaaazz is now known as zarquoon
phubuh has quit [Remote closed the connection]
phubuh has joined #ocaml
phubuh has quit [Remote closed the connection]
zarquoon is now known as nemazervlexilogw
phubuh has joined #ocaml
nemazervlexilogw is now known as nemazervlexiloga
phubuh has quit [Remote closed the connection]
phubuh has joined #ocaml
phubuh has quit [Remote closed the connection]
phubuh has joined #ocaml
baader has quit ["I'll be back"]
phubuh has quit [Remote closed the connection]
phubuh has joined #ocaml
phubuh has quit [Client Quit]
phubuh has joined #ocaml
phubuh has quit [orwell.freenode.net irc.freenode.net]
phubuh has joined #ocaml
nemazervlexiloga is now known as zarrflongyek
zarrflongyek has quit ["Client Exiting"]
whee has quit ["Leaving"]
Giken has joined #ocaml
Giken has left #ocaml []
docelic has joined #ocaml
CybeRDukE has joined #ocaml
foxster has joined #ocaml
CybeRDukE has quit [Client Quit]
Khortl has joined #ocaml
CybeRDukE has joined #ocaml
docelic has quit ["Client Exiting"]
CybeRDukE has quit ["Universe.SYS corrupted. Reboot? [Y/N]"]
docelic has joined #ocaml
docelic has quit ["l8r"]
systems has joined #ocaml
systems has quit [Read error: 60 (Operation timed out)]
quintescent has joined #ocaml
polin8 has quit [Read error: 104 (Connection reset by peer)]
quintescent has quit [Read error: 110 (Connection timed out)]
Rapiere has joined #ocaml
taw has joined #ocaml
<
taw>
ocaml interprocess shared memory ...
<
taw>
is it doable ?
<
taw>
i need fast database in ocaml
<
taw>
and shared memory seems like fine solution
polin8 has joined #ocaml
<
Smerdyakov>
Which processes need to share memory?
<
taw>
lot of identical cgis that need some cache
<
Smerdyakov>
That's a separate issue from a "fast database," as I interpret the term.
<
Smerdyakov>
It's best not to use CGI if you care about web speed.
<
Smerdyakov>
You should use something linked into the web server (like an Apache module).
<
taw>
spawning a process is fast as hell
<
taw>
it's db that's slow
<
Smerdyakov>
If you care about persistent/shared data, then you should also want to serve these from a single process for that reason.
<
taw>
ocaml doesn't even support real multithreading
<
Smerdyakov>
Then stop using OCaml...
<
Rapiere>
Smerdyakov: how fast would be using an ocaml module with apache ?
<
taw>
oh, ocaml with cgi sounds fine
<
taw>
as long as i could get some shared memory with it
<
taw>
oh, is sml better here maybe ?
<
Smerdyakov>
I don't know what you mean by "real multithreading," but CML in SML/NJ is pretty nice.
<
Smerdyakov>
Rapiere, depends on how you implement it. :)
<
taw>
ocaml has global lock afair
<
taw>
so 2 threads can't run in paralell
<
Smerdyakov>
You have multiple processes?
<
Rapiere>
Smerdyakov: I thought I've seen a mod_ocaml once.. Maybe it's still on ocaml humps..
<
Smerdyakov>
er processors :D
<
Rapiere>
you won't win much with fine-graining and only 2 processors.
CybeRDukE has joined #ocaml
<
Smerdyakov>
I don't think there are any ML concurrency systems around today that were designed to take advantage of multiple processors.
<
Smerdyakov>
The question is if you really need that to meet your performance goals.
<
taw>
leaving one of processors to waste certainly won't meet these goals
<
Rapiere>
or try launching two cpu intensive processes and use a simple load-balancer process.
CybeRDukE has quit [Client Quit]
<
taw>
still, how to share memory between them ?
<
taw>
and i still suspect that kernel is better at balancing than i am
<
Rapiere>
the kernel knows less than you about which thread has real-world priority
<
Rapiere>
that's why there are M:N threading implementations.
<
Rapiere>
however I don't know enough yet of ocaml threads.
<
Rapiere>
is here the only official, unofficial ocaml channel ?
<
taw>
afaik that's the only one
<
Smerdyakov>
I'm working on a SML-based CGI-production tool as we speak, you know!
polin8 has quit [Read error: 110 (Connection timed out)]
<
Rapiere>
nice work Smerdyakov
<
Rapiere>
I see that you're a haskell supporter too, I find it to be a beautiful language however lacking some real-world examples imho.
<
Smerdyakov>
You could actually use it, but that would require sf's CVS servers not taknig a day to update things, or that I make a release. ;)
<
Smerdyakov>
(it = smlweb)
<
taw>
i'll check it
<
Smerdyakov>
You'll have to take my word for it that it's already up and running.
CybeRDukE has joined #ocaml
mrvn_ has joined #ocaml
mrvn has quit [Read error: 110 (Connection timed out)]
foxster has quit [Connection timed out]
systems has joined #ocaml
mrvn_ is now known as mrvn
CybeRDukE has quit ["Sleep: A completely inadequate substitute for caffeine."]
systems has quit ["Client Exiting"]
foxster has joined #ocaml
docelic has joined #ocaml
polin8 has joined #ocaml
Smerdyakov has quit [orwell.freenode.net irc.freenode.net]
phubuh has quit [orwell.freenode.net irc.freenode.net]
docelic has quit [orwell.freenode.net irc.freenode.net]
taw has quit [orwell.freenode.net irc.freenode.net]
Rapiere has quit [orwell.freenode.net irc.freenode.net]
teratorn has quit [orwell.freenode.net irc.freenode.net]
liyang has quit [orwell.freenode.net irc.freenode.net]
palomer has quit [orwell.freenode.net irc.freenode.net]
skylan has quit [orwell.freenode.net irc.freenode.net]
mellum has quit [orwell.freenode.net irc.freenode.net]
foxster has quit [orwell.freenode.net irc.freenode.net]
asqui has quit [orwell.freenode.net irc.freenode.net]
vect has quit [orwell.freenode.net irc.freenode.net]
wax has quit [orwell.freenode.net irc.freenode.net]
rox has quit [orwell.freenode.net irc.freenode.net]
Khortl has quit [orwell.freenode.net irc.freenode.net]
lam has quit [orwell.freenode.net irc.freenode.net]
brwill has quit [orwell.freenode.net irc.freenode.net]
docelic has joined #ocaml
foxster has joined #ocaml
taw has joined #ocaml
Rapiere has joined #ocaml
Khortl has joined #ocaml
phubuh has joined #ocaml
teratorn has joined #ocaml
lam has joined #ocaml
asqui has joined #ocaml
Smerdyakov has joined #ocaml
skylan has joined #ocaml
brwill has joined #ocaml
palomer has joined #ocaml
rox has joined #ocaml
mellum has joined #ocaml
wax has joined #ocaml
vect has joined #ocaml
liyang has joined #ocaml
polin8 has quit ["Lost terminal"]
polin8 has joined #ocaml
polin8 has quit [Client Quit]
polin8 has joined #ocaml
Rapiere has quit ["sleep"]
docelic has quit ["l8r"]
gilbertdeb has joined #ocaml
brwill is now known as brwill|out
phubuh has quit [Remote closed the connection]
phubuh has joined #ocaml
skylan has quit [Connection timed out]
phubuh has quit [Remote closed the connection]
skylan has joined #ocaml
baader has joined #ocaml
neski has joined #ocaml