Hi,

We have been trying to get this thing right.

REF: http://web2py.com/books/default/chapter/29/06

There is a note about Replicated databases in the given link.

The first argument of DAL(...) can be a list of URIs. In this case web2py
tries to connect to each of them. In this case the DAL tries to connect to
the first and, on failure, it will try the second and the third.

But when we tried to do this by giving a random IP address for the first
string, and the right URI for the second connection string, it didn't seem
to be working. We were getting an nginx 504 Gateway Timeout everytime.

Is there any work around? We also know that the Round Robin way exists. But
that would also raise the same 504.

Is there any way other than this?

http://about.me/srinathgs
I write code @ Alamut
Srinath G S

-- 

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


Reply via email to