Welcome! Log In Create A New Profile

Advanced

Re: Tracking the start and complete of a download?

October 16, 2010 11:30AM
Hi,

On 16/10/2010 10:03, Manlio Perillo wrote:
>
>> I think you should be able to use the ngx_http_echo_module to achieve
>> this. Just use an echo_subrequest directive to send a request to the
>> URL that you want. This request will only be made once the upload has
>> completed. Any other module that calls a subrequest after the files
>> have been uploaded should work too.
>>
>> One thing : if you don't know the server that you'll connect to at the
>> time the config file is read, you'll need to set up a resolver for DNS.
>>
> Another problem is that the external server should be able to process
> the same number of requests per second of the Nginx server.
>
> This is the reason why, as an example, Nginx does not support syslog.
Presumably if an upload tracker is required, the number of requests
relative to the volume of data transfer will be low (at least for this
type of operation on that server), so even if the other server isn't as
perfomant as Nginx, I don't think this should be a problem.

Robert could of course install Nginx on the other server as well, or
perhaps even just make a call to a FastCGI/WSGI process directly from
Nginx. :-)

Cheers,

Marcus.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Tracking the start and complete of a download?

Robert La Ferla October 15, 2010 11:26AM

Re: Tracking the start and complete of a download?

Manlio Perillo October 15, 2010 04:58PM

Re: Tracking the start and complete of a download?

Eugaia October 15, 2010 05:22PM

Re: Tracking the start and complete of a download?

Manlio Perillo October 16, 2010 05:08AM

Re: Tracking the start and complete of a download?

Eugaia October 16, 2010 11:30AM

Re: Tracking the start and complete of a download?

Robert La Ferla October 17, 2010 08:52PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 214
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready