Re: [Mojolicious] Websocket scaling

2014-02-19 Thread Cosimo Streppone
On 02/19/2014 05:38 PM, David Oswald wrote:
> 
> On Wed, Feb 19, 2014 at 9:27 AM, Cosimo Streppone  > wrote:
> 
> On 02/19/2014 05:20 PM, John Dunlap wrote:
> 
> > 2) I work for a SAAS provider and we use Apache virtualhosts to
> sell our
> > software to our customers. As Mojolicious uses its own built in HTTP
> > server, how do I achieve virtualhost-like behavior?
> 
> You can run a Mojolicious app with Plack::Handler::Apache2
> under Apache + mod_perl.
> 
> When did Plack begin handling websockets? 

Apologies.

David, you are right. I just read the second part
of the question out of context.

Would be cool though :)

-- 
Cosimo

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mojolicious+unsubscr...@googlegroups.com.
To post to this group, send email to mojolicious@googlegroups.com.
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Mojolicious] Websocket scaling

2014-02-19 Thread David Oswald
On Wed, Feb 19, 2014 at 9:27 AM, Cosimo Streppone wrote:

> On 02/19/2014 05:20 PM, John Dunlap wrote:
>
> > 2) I work for a SAAS provider and we use Apache virtualhosts to sell our
> > software to our customers. As Mojolicious uses its own built in HTTP
> > server, how do I achieve virtualhost-like behavior?
>
> You can run a Mojolicious app with Plack::Handler::Apache2
> under Apache + mod_perl.
>

When did Plack begin handling websockets?

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mojolicious+unsubscr...@googlegroups.com.
To post to this group, send email to mojolicious@googlegroups.com.
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Mojolicious] Websocket scaling

2014-02-19 Thread Cosimo Streppone
On 02/19/2014 05:20 PM, John Dunlap wrote:

> 2) I work for a SAAS provider and we use Apache virtualhosts to sell our
> software to our customers. As Mojolicious uses its own built in HTTP
> server, how do I achieve virtualhost-like behavior?

You can run a Mojolicious app with Plack::Handler::Apache2
under Apache + mod_perl.

https://metacpan.org/pod/Plack::Handler::Apache2

-- 
Cosimo

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mojolicious+unsubscr...@googlegroups.com.
To post to this group, send email to mojolicious@googlegroups.com.
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/groups/opt_out.


[Mojolicious] Websocket scaling

2014-02-19 Thread John Dunlap
Currently, I'm working in mod_perl but I've been evaluating Mojolicious. 
One of the things that I find most attractive about Mojolicious is its 
support for websockets. However, I'm new to both mojolicious and to 
websockets and I have a few architectural concerns that could simply be the 
result of my ignorance. Either way, they are as follows,

1) How do I scale Mojolicious websockets horizontally?
2) I work for a SAAS provider and we use Apache virtualhosts to sell our 
software to our customers. As Mojolicious uses its own built in HTTP 
server, how do I achieve virtualhost-like behavior?

Cheers!
John

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mojolicious+unsubscr...@googlegroups.com.
To post to this group, send email to mojolicious@googlegroups.com.
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/groups/opt_out.