Topic: How to plan deployment for an app with large file downloads?

A lot of PDFs are stored inside MySQL as a BLOB field. The average  file size is 500K each.

The Rails app will be streaming the :binary data as file downloads.

Assume there is a maximum of 5 users downloading 5 PDFs concurrently, what kind of deployment setup parameters I should be aware of? e.g. for the case of thin:

  thin start --servers 3

whether --servers 3 is good enough (or 5 or more is needed) for the above example?

The 2nd question is whether 'thin' a capable solution?

Thanks!

Re: How to plan deployment for an app with large file downloads?

When you use weblogic.Deployer to deploy an application, the deployment plan and WebLogic Server deployment descriptors must define a valid configuration for the target environment, or the deployment fails. This means you cannot use weblogic.Deployer with a deployment plan that defines null variables for an application’s required resource bindings.

To deploy an application and deployment plan using weblogic.Deployer, include the -plan option with the -deploy command, as in:

java weblogic.Deployer -adminurl http://localhost:7001 -user weblogic
     -password weblogic -deploy -name myTestDeployment
     -source /myDeployments/myApplication.ear
     -targets myCluster -stage
     -plan /myDeployments/myAppPlan.xml

If you are deploying from an application root directory and the deployment plan is located in the /plan subdirectory, you still need to identify both the actual deployment source files the plan to use for deployment, as in:

java weblogic.Deployer -adminurl http://localhost:7001 -user weblogic
     -password weblogic -deploy -name myTestDeployment
     -source /myDeployments/installedApps/myApplication/app/myApplication.ear
     -targets myCluster -stage
     -plan /myDeployments/installedApps/myApplication/plan/plan.xml

When you deploy or distribute an application with a deployment plan, the deployment plan and any generated deployment descriptors are copied to the staging directories of target servers along with the application source files.