Re: need some help with tcp/ip programming

2007-05-15 Thread Chava Leviatan
Yes, it is probably better to use a single thread that does the event waiting, and a thread pool for the actual processing. Having one thread pet socket, however, is not a wise idea IMHO. Are there any rules for setting how many connections will be handled by one thread when using the pool

Re: need some help with tcp/ip programming

2007-05-15 Thread Shachar Shemesh
Chava Leviatan wrote: Are there any rules for setting how many connections will be handled by one thread when using the pool thread method ? It greatly depends on the amount of offline processing that needs to be done. If, like netchat, it is mostly a case of receive, compare, send, then a

YES as an ISP?

2007-05-15 Thread Geoffrey S. Mendelson
Does anyone use YES as an ISP? What exactly are they offering? Upload? Download? How do you connect to them? Do you get support from them or do you get it from another ISP? Are they Linux friendly? Thanks, Geoff. -- Geoffrey S. Mendelson, Jerusalem, Israel [EMAIL PROTECTED] N3OWJ/4X1GM

Re: need some help with tcp/ip programming

2007-05-15 Thread guy keren
Shachar Shemesh wrote: guy keren wrote: Amos Shapira wrote: On 14/05/07, *guy keren* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Alas - I think that I've just read not long ago that there is a bug in Linux' select in implementing just that and it might miss the close from the other side

Re: YES as an ISP?

2007-05-15 Thread Ilya Konstantinov
On 5/15/07, Geoffrey S. Mendelson [EMAIL PROTECTED] wrote: Does anyone use YES as an ISP? Yes only resells services of other ISPs. They're offering bundle deals, nothing more.

Re: need some help with tcp/ip programming

2007-05-15 Thread Nadav Har'El
On Mon, May 14, 2007, guy keren wrote about Re: need some help with tcp/ip programming: this is interesting. can anyone provide more info on this? the problem with select, is that it is unable to optimize handling of 'holes' in the file descriptor set. suppose that you need to select on file

Experience with JasperSoft or Pentaho BI

2007-05-15 Thread Yonah Russ
Hi, Does anyone have experience using JasperSoft and/or Pentaho open source BI platforms? Any recommendations? Thanks, Yonah

[Job offer] Linux Kernel Hacker

2007-05-15 Thread Alexander Indenbaum
Tehuti Networks http://www.tehutinetworks.net/ is a little cutting edge technology start-up developing a 10Gb Ethernet TCP Offload Enginehttp://en.wikipedia.org/wiki/TCP_Offload_Enginenetwork chip. We're looking for Linux Kernel Hacker. Job Description: Linux kernel C/C++ software developer,

RE: need some help with tcp/ip programming

2007-05-15 Thread Rafi Cohen
Hi Guy, well, to continue your terminology I feel not only foolish but a total moron, since I was not aware at all of this book. I'll be glad to receive a reference to this book in order to become cleverer. After all, this is a desire of any pprogrammer, if he does not already feel so beforehand.

ktorrent crash

2007-05-15 Thread Shlomo Solomon
Ktorrent was working fine on my system. After restarting X with Ctrl-Alt-Backspace, I can't get ktorrent back up. When I start it, it crashes immediately. I see the ktorrent screen for less than a second and then it disappears. I don't see anything useful in /var/log/messages or

Re: need some help with tcp/ip programming

2007-05-15 Thread Shachar Shemesh
Rafi Cohen wrote: 2. I indeed was one of the people that was not aware of epoll until you mentioned it. I began to read the man pages related to epoll, but for the time being terminology like edge triggered or level triggered need deeper understanding from my side. Edge triggered - will

RE: need some help with tcp/ip programming

2007-05-15 Thread Rafi Cohen
Hi Shachar, can you please give more detailed explanation why a thread per socket is not a wise idea? Not that I'm in a hurry to impplement this way, but I'll give you an example where I thought this could be a solution for me. One of the requirements of my project asks that my application, when

RE: need some help with tcp/ip programming

2007-05-15 Thread Rafi Cohen
Hi Nadav, well, in my case I do not have thousands of concurrent connections, about 20-30 only. However, in some cases the input from those sockets is actually queries to a database and it may also end in operations on this database. Not a heavy database, but still insert/delete/update is done

Re: ktorrent crash

2007-05-15 Thread Noam Meltzer
Shlomo, please look that you are using the latest ver. of ktorrent 2.1.4 i recently suffered from many crashes of ktorrent and found that i'm not alone. it appears that the web is full of report on problems with the stability of ktorrent. upgrade to the latest fixed the problem. - Noam On

Re: ktorrent crash

2007-05-15 Thread Shlomo Solomon
Short answer: Thanks - that solved the problem Long answer- ;-) 1 - I did notice minor stability problems since urpmi updated ktorrent to ktorrent-2.1.2-2.1mdv2007.0 (about 2 weeks ago), but after the occaisional crash had no problems restarting. This crash was different (as I already