-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
> > * Threads support (*2)
>
> I develop a multithread proxy (not free software), so I know a little
> about this matter, I was even thinking about programming this feature
> for quite some quite. I have to make sure that functions used are
> thread-safe (don't use global vars, if two thread want to write in the
> same sttructure at the same time, syncronization...).
>
> >(*2) - We didn't speak about this issue before, but it's a very important
> > item in the list. It'll add SMP and multi-threading support to
> > Cherokee.. at this moment, Cherokee just only runs in a single procesor
> > (thread) but it should change to get advantage of the new micros.
>
> absoultely, I agree with you, quite important.
The idea is to add a little thread pool. Cherokee will work in, more or less,
the same way. The main change is that if it has a few threads it will get
some performance advantages in new machines [1]. :-) Each thread will work
with some connections. Due the design, I think It won't be very hard to do:
everything is a object, and there aren't global variables.
The most important thing is make it with a very little number of mutual
exclusion sections (to get a good performance). :-)
1.- http://www-106.ibm.com/developerworks/linux/library/l-htl/
- --
Greetings, alo.
http://www.alobbs.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE+61/DVRSCNxlNnu0RAjQkAJ99RxR0NqJjM26HwirrT8tMhgYL/QCgyn/E
0k8+k1iF3XWTPeNnhrahpdU=
=yOjY
-----END PGP SIGNATURE-----
Hash: SHA1
Hi,
> > * Threads support (*2)
>
> I develop a multithread proxy (not free software), so I know a little
> about this matter, I was even thinking about programming this feature
> for quite some quite. I have to make sure that functions used are
> thread-safe (don't use global vars, if two thread want to write in the
> same sttructure at the same time, syncronization...).
>
> >(*2) - We didn't speak about this issue before, but it's a very important
> > item in the list. It'll add SMP and multi-threading support to
> > Cherokee.. at this moment, Cherokee just only runs in a single procesor
> > (thread) but it should change to get advantage of the new micros.
>
> absoultely, I agree with you, quite important.
The idea is to add a little thread pool. Cherokee will work in, more or less,
the same way. The main change is that if it has a few threads it will get
some performance advantages in new machines [1]. :-) Each thread will work
with some connections. Due the design, I think It won't be very hard to do:
everything is a object, and there aren't global variables.
The most important thing is make it with a very little number of mutual
exclusion sections (to get a good performance). :-)
1.- http://www-106.ibm.com/developerworks/linux/library/l-htl/
- --
Greetings, alo.
http://www.alobbs.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE+61/DVRSCNxlNnu0RAjQkAJ99RxR0NqJjM26HwirrT8tMhgYL/QCgyn/E
0k8+k1iF3XWTPeNnhrahpdU=
=yOjY
-----END PGP SIGNATURE-----