blob: e4127c7d8c029959394f949971aca018fd891e2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Nel] NeL Network Engine</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:cblt%40cblt.org">
<LINK REL="Previous" HREF="000294.html">
<LINK REL="Next" HREF="000297.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Nel] NeL Network Engine</H1>
<B>Nicolas Hognon</B>
<A HREF="mailto:cblt%40cblt.org"
TITLE="[Nel] NeL Network Engine">cblt@cblt.org</A><BR>
<I>Wed, 28 Feb 2001 15:10:53 +0100</I>
<P><UL>
<LI> Previous message: <A HREF="000294.html">[Nel] NeL Network Engine</A></li>
<LI> Next message: <A HREF="000297.html">[Nel] NeL Network Engine</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#295">[ date ]</a>
<a href="thread.html#295">[ thread ]</a>
<a href="subject.html#295">[ subject ]</a>
<a href="author.html#295">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>><i> Looking at Apache or Samba projects, it seems that a good compromise is to
</I>><i> set a 'maximum client requests by thread' and spawns threads accordingly.
</I>><i> Apache uses process forking and memory sharing, but the design remains the
</I>><i> same. You then just tune this max_request_by_thread for each OS, say 1 for
</I>><i> Solaris which is said thread-efficient, 10 for Linux ? Just a hint ...
</I>
ok this is a solution
but as i said in my last mail the problem
is how managing more than one socket per thread efficiently ?
under windows i know other solution than select / poll but under
unixes i don't know other solutions.
some one knows other one ?
--
Nicolas Hognon
<A HREF="mailto:nicolash@virtools.com">nicolash@virtools.com</A>
Virtools - The Behavior Company
Tel. (+33) 1 42 71 46 86 / Fax. (+33) 1 42 71 86 53
<A HREF="http://www.virtools.com/">http://www.virtools.com/</A>
</pre>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="000294.html">[Nel] NeL Network Engine</A></li>
<LI> Next message: <A HREF="000297.html">[Nel] NeL Network Engine</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#295">[ date ]</a>
<a href="thread.html#295">[ thread ]</a>
<a href="subject.html#295">[ subject ]</a>
<a href="author.html#295">[ author ]</a>
</LI>
</UL>
</body></html>
|