Re: find out the transfer rate
If you are doing what Miroslav said, I'd rather believe that it is your 'manual calculation' which is wrong. This should be with files of some size, otherwise the difference might be related to different starting points (e.g., with some firewalls that open/close ports automatically -but slowly-, passive mode can have quite different results for small files). Why don't you check your transfer rate against the one that lftp or filezilla report? 2011/8/10 Miroslav Pokorny miroslav.poko...@gmail.com Dividing bits over seconds is quite simple, each xfer is not going to be exactly the same even if you send /get the same file from/to the same server. For whatever reason your xfer rates seem reasonable, so they are probably correct. On Wed, Aug 10, 2011 at 8:52 PM, bahar ertik bahar.er...@gmail.com wrote: I have tried that but this doesn't give the correct transfer rate. Because the result I get is far away from the result I get when I do it manuallt, stepwise! Manually done the transfer rate for the put is 17.09 MB/sec and get 87.83 MB/sec. Recording the time at start and end gives the result put 11.11 MB/sec and get 33 MB/sec. On Wed, Aug 10, 2011 at 10:45 AM, Miroslav Pokorny miroslav.poko...@gmail.com wrote: Record the time at the start and end of the operation and divide tht with the file size. On Wed, Aug 10, 2011 at 5:50 PM, bahar ertik bahar.er...@gmail.com wrote: Hi, I am trying to transfer files from my server to a client using ftp in java and this works without any problems. My question is: Is there any way to find out the transfer rate, MB/s, of the transfer? Best Regards -- mP -- mP
Re: Has anybody used any kind of load balancing
As Toli said, I don't think this is not really FTPServer-related so, in case you don't get a response, I would try a more specific forum about LBs.Anyway, in a scenario like the one Toli described, FTPServer should need no configuration changes at all- you just have to make sure that your LB is routing the data connections to the appropriate host ( if you sticked to active mode, with the data connections being initiated by the FTP server itself, i think you wouldn't need any special configuration in the LB, but it should be easy to configure your LB to serve ftp connections correctly). 2011/8/10 Toli Kuznets tkuzn...@marinsoftware.com Sachin, I didn't personally setup the LB so unfortunately i can't give you a detailed answer. I believe that LBs support some stickiness per session, so once a connection is established from a given incoming IP it's always routed to the same target server. You are better off asking around in network-admin forums on how to set that up sorry i couldn't be of more help. On Wed, Aug 10, 2011 at 2:45 AM, Sachin Shetty sshe...@egnyte.com wrote: Hi Toli, There should be some more config changes due to the dual port nature of the protocol right? How do you handle all the data connections on your lb and make sure they are sent to the same ftp server? Thanks Sachin -Original Message- From: Toli Kuznets [mailto:tkuzn...@marinsoftware.com] Sent: Wednesday, August 10, 2011 12:06 PM To: ftpserver-users@mina.apache.org Subject: Re: Has anybody used any kind of load balancing Sachin, We use basic load round-robin load balancing via a separate hardware LB, and our ftpserver instances point to a shared NFS. works pretty well for us - we just have 2 separate instances running on 2 separate physical machines. so yes, we've done that, but it probably doesn't answer your use case since it's a trivially simple load-balancing example... On Tue, Aug 9, 2011 at 11:07 PM, Sachin Shetty sshe...@egnyte.com wrote: Hi All, Has anybody used any kind of load balancing with apache ftp server? Thanks Sachin
Re: Has anybody used any kind of load balancing
Wow, my English sucks... Among others, I meant I think this is not really FTPServer-related so 2011/8/12 David Latorre dvl...@gmail.com As Toli said, I don't think this is not really FTPServer-related so, in case you don't get a response, I would try a more specific forum about LBs.Anyway, in a scenario like the one Toli described, FTPServer should need no configuration changes at all- you just have to make sure that your LB is routing the data connections to the appropriate host ( if you sticked to active mode, with the data connections being initiated by the FTP server itself, i think you wouldn't need any special configuration in the LB, but it should be easy to configure your LB to serve ftp connections correctly). 2011/8/10 Toli Kuznets tkuzn...@marinsoftware.com Sachin, I didn't personally setup the LB so unfortunately i can't give you a detailed answer. I believe that LBs support some stickiness per session, so once a connection is established from a given incoming IP it's always routed to the same target server. You are better off asking around in network-admin forums on how to set that up sorry i couldn't be of more help. On Wed, Aug 10, 2011 at 2:45 AM, Sachin Shetty sshe...@egnyte.com wrote: Hi Toli, There should be some more config changes due to the dual port nature of the protocol right? How do you handle all the data connections on your lb and make sure they are sent to the same ftp server? Thanks Sachin -Original Message- From: Toli Kuznets [mailto:tkuzn...@marinsoftware.com] Sent: Wednesday, August 10, 2011 12:06 PM To: ftpserver-users@mina.apache.org Subject: Re: Has anybody used any kind of load balancing Sachin, We use basic load round-robin load balancing via a separate hardware LB, and our ftpserver instances point to a shared NFS. works pretty well for us - we just have 2 separate instances running on 2 separate physical machines. so yes, we've done that, but it probably doesn't answer your use case since it's a trivially simple load-balancing example... On Tue, Aug 9, 2011 at 11:07 PM, Sachin Shetty sshe...@egnyte.com wrote: Hi All, Has anybody used any kind of load balancing with apache ftp server? Thanks Sachin