Apache::Queue

程序名称:Apache::Queue

授权协议: 未知

操作系统: 跨平台

开发语言: Perl

Apache::Queue 介绍

Apache::Queue
是一个Apache的模块用来做HTTP的文件下载队列,当下载的人数超过预设的数字,这多出来的请求将被放入队列等待处理,而不是出错。

安装方法:

perl Makefile.PL
make
make install

配置示例:

#httpd.conf

  SetHandler perl-script  
  PerlHandler Apache::Queue

  # the size of the queue (default: 300)  
  PerlSetVar QueueSize 300

  # how many simultanious file transfers  
  # before queueing (default: 10)  
  PerlSetVar MaxSends 10

  # Location of queue files (default: /tmp)  
  # This path must be writable by the Apache  
  # process  
  PerlSetVar QueuePath /tmp

  # Location of customized templates if needed  
  # Do not set this if you wish to use the internal templates  
  # Templates are process by Template-Toolkit, see  
  # [http://www.template-toolkit.org](http://www.template-toolkit.org/) for docs  
  #  
  # There are 4 template files needed.  
  #  queue_send.html     - The "Your download should start..." page  
  #  queue_sending.html  - Notifys the visitor of an existing download  
  #  queue_position.html - Page used while a user is inline  
  #  queue_full.html     - Tells the queue is full  
  #   
  # View the defaults in the module for samples  
  PerlSetVar Te

Apache::Queue 官网

http://www.psyon.org/projects/apache-queue/index.php

相关编程语言

memcached-session-manager 将session存储到memchac...
Tomcat Native 这个项目可以让 Tomcat 使用 Apache ...
EasyTomcat 是一个用来帮助简化 Tomcat 和MySQL 管理...
riak-session-manager 是使用 Riak 来存储Tomcat se...
tomcat-redis-session-manager 是一个用来将 Tomcat...
这是一款在 Oracle 的 JDeveloper 开发环境下管理To...