[dancer-users] Multiple virtual hosts: one dancer instance or one per vhost?

Tom Browder tom.browder at gmail.com
Wed Oct 7 16:15:43 BST 2015


On Wed, Oct 7, 2015 at 9:39 AM, WK <wanradt at gmail.com> wrote:
...
>> I am investigating moving several virtual host web sites (some using
>> plain CGI and some purely static) to using dancer2 and wonder
>
> As I see the topic:
>
>>  (1) can
>> one have one dancer process per vhost and
>
> You _may_ run one process per vhost, but even with very low traffic
> site it is better to run more than one worker.

Okay, I think that may be doable.

> I think the most common setup for Dancer app is to run it with some
> Plack-capable server (like Starman) behind some reverse proxy (like
> nginx).
...

Without a clear set of docs for deployment, I'm not sure I want to
leap into that steep learning curve.

>> (2) can one dancer process
>> support multiple host?
...
> When you need some dynamic features (like sessions), you are in trouble.

Okay, so I won't try the single process.

Thanks, Wbr!

Best regards,

-Tom


More information about the dancer-users mailing list