Using apache as a reverse proxy

Toby Corkindale toby at dryft.net
Thu Jan 15 01:31:54 EST 2015


Just a thought, but have you tried to replicate the problem when using
haproxy (with the example configs provided on basho's site)?
That might let you discover if the problem really IS with Apache, or
if it's something to do with your Riak config instead.

On 15 January 2015 at 11:05, Fred Grim <fgrim at vmware.com> wrote:
> Hello List,
>
> So I am using apache on ubuntu as a reverse proxy to a riak cluster. Everything seems to work fine except for largish streaming map reduce queries.  The config is:
> <VirtualHost *:8098>
>     ServerAdmin aperson at acompany.com
>     <Proxy balancer://riak_cluster>
>         BalancerMember http://<ip1>:8098
>         BalancerMember http://<ip2>:8098
>         BalancerMember http://<ip3>:8098
>         BalancerMember http://<ip4>:8098
>         BalancerMember http://<ip5>:8098
>         BalancerMember http://<ip6>:8098
>         BalancerMember http://<ip7>:8098
>     </Proxy>
>     <Location />
>         ProxyPass balancer://riak_cluster/
>         ProxyPassReverse balancer://riak_cluster/
>     </Location>
> </VirtualHost>
>
> What happens is that my streamed queries seem to partially come in which makes me think that the load balancer is switching them or something. I know I am missing some config value in here but I cannot, for the life of me, figure out what it is. Does anyone have an example config they could through up?
>
> F
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com



-- 
Turning and turning in the widening gyre
The falcon cannot hear the falconer
Things fall apart; the center cannot hold
Mere anarchy is loosed upon the world




More information about the riak-users mailing list