# Striim 3.10.1 documentation

#### DEPLOY APPLICATION

DEPLOY APPLICATION <namespace>.<application name>
ON { ONE | ALL } IN <deployment group>
[ WITH <flow name> ON { ONE | ALL } IN <deployment group>,... ] ;

### Note

A cache is loaded into memory when it is deployed, so deployment of an application or flow with a large cache may take some time.

With a single-server deployment group, you may use DEPLOY APPLICATION <application name>; without further options.

The following examples assume that you are currently using the application's namespace so it is not necessary to specify it:

DEPLOY APPLICATION <application name> ON ONE IN <deployment group>; will deploy the application on one server in the specified deployment group. Use ON ONE in a multi-server environment to deploy an application that has not been written to run on multiple servers. Striim will automatically deploy the application to the server with the fewest applications.

DEPLOY APPLICATION <application name> ON ALL IN <deployment group>; will deploy the application on all servers in the specified group.  Use ON ALL only with applications that have been written to run on multiple servers (as discussed in Adapting TQL applications for multi-server deployment).

DEPLOY APPLICATION MyApp ON ALL IN Group1 WITH FlowX ON ALL IN Group2, FlowY ON ALL IN Group3; will deploy FlowX on all servers in deployment group Group2, FlowY on all servers in Group3, and any other flow in the application on all servers of Group1.