El 02/08/17 a les 09:10, Jean Cavallo ha escrit:
Hi,
> Is it possible to have multiple Tryton server running on same or
different machines but connecting to same database? This might help load
balance and achieve high availability by putting tryton server behind proxy
> server! Can also help overcome single-core limitation of Python!
You *will* have cache problems, because default cache is in memory, so
resets may not be triggered in all server instances. Consider using
https://bitbucket.org/pokoli/redis-tryton to solve this. We are using
multiple tryton instances with an nginx server, so I can confirm it works.
We are also using multiple instances with a nginx load balancer in front
and with redis-tryton.
P.S: redis-tryton is available on pypi too:
https://pypi.python.org/pypi/redis_tryton/0.2
--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk
--
You received this message because you are subscribed to the Google Groups
"tryton" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tryton/b43d688d-6f83-62b2-fc09-1b1b7f2025d6%40koolpi.com.