]]>

Go Back   FlashFXP Forums > ioFTPD > ioFTPD > ioFTPD beta > Suggestions

Suggestions Got a new idea or addition which would benefit IOFTPD? Post it here!

Reply
Thread Tools Rate Thread
Unread 10-16-2003, 01:15 PM   #1
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 142
Thumbs up Some suggestions

First, bravo for this ftpd, It's the best I ever seen. To contribute to the development, i will register (and because i need a good ftpd)

Today, with a friend, we were speaking of ftpd. He told me he has a glftp (Linux ftpd) that is a very robust software and that ioFTPD is the glftpd of Windows.
We spoke about the manner of glftpd works: a daemon (inetd) wait for a connection and when a user connects, it starts glftp for that user (it start a glftpd for each user connected on its ftp). You'll think that's stupid and why not a big thread instead of lots of little threads. There's a reason: if for any reason, the user makes glftpd crash, it crashes only its connection and not everyone's connection. That's great.
Another thing you'll probably say is "Does it consume lots of memory?" No, each process takes 200Ko of memory. If there's no user logged in, there no glftpd started then it does not consume anything.

All that to say that if io works like this, that will be great but there lots of work to do i know.
Well, as we say in french: "Voilà"
Mr_X is offline   Reply With Quote
Unread 10-16-2003, 01:45 PM   #2
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

i'm not sure if u can accept an incoming connection on a socket in another process (in winNT), darkone ?
ADDiCT is offline   Reply With Quote
Unread 10-16-2003, 02:35 PM   #3
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

It is possible, but it ruins scalability. Use of one thread per client, is considered as old-fashioned, very inefficient programming (only few daemons does that - most use thread pools) It does offer better stability... but that's the only advantage it has over thread pools. Disadvantages are so many that I don't even bother to list them.

In otherwords: you don't want to see glftpd like daemon on windows; performance would be something between terrible and horrible, resource usage would be 1-2mb per client, proper synchronization of processess near impossible, and stability not much better that what it is with current core...

I think I have skill to port glftpd to run under cygwin nowdays... might even get it to compile under visual c++
darkone is offline   Reply With Quote
Reply
Create a free account to browse our forums without ads



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 08:41 PM.