rapier1 has asked for the wisdom of the Perl Monks concerning the following question:
Will threads help with this? I was thinking that I can have one thread that actually does the reads from the interface and another that handles the writes to the sockets. However, I understand that there are significant issues with threads and threading support isn't even compiled into perl by default.
Should I explore using threads? Will I need to recompile perl to make use of the Thread module? Should I just continue to use what I have now (a non blocking, non forking server which might not scale well)? One thing to keep in mind is that this is running on an SMP machine. Will that complicate things?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Threads, Forks, or Nothing?
by Aighearach (Initiate) on Aug 15, 2001 at 23:31 UTC | |
|
Re: Threads, Forks, or Nothing?
by blakem (Monsignor) on Aug 15, 2001 at 23:22 UTC | |
|
There's always user space threads
by mugwumpjism (Hermit) on Aug 16, 2001 at 02:31 UTC | |
|
Re: Threads, Forks, or Nothing?
by clintp (Curate) on Aug 15, 2001 at 23:26 UTC | |
by rapier1 (Novice) on Aug 16, 2001 at 00:37 UTC | |
by jepri (Parson) on Aug 16, 2001 at 14:11 UTC | |
|
Re: Threads, Forks, or Nothing?
by nakor (Novice) on Aug 16, 2001 at 01:12 UTC |