On 01/02/11 01:56 -0800, Janjaap wrote:
> Hi,
> 
> I have a question about the scalabilty of the server end.
> 
> As I understand, the python server uses caching in relation to the
> database queries. Is this correct?

Yes. There are two kinds of cache:

 - one that follow the database transaction (no need to share it with others)
 - one that is global on the server instance (so shared with every one)

> If so, how can the python servers scale horizontally for performance /
> load reasons, using the same database? Do they share caching
> information?

Above.
So the different instance of the server will not share their cache but there
is a protocol (based on the database) to invalidate the cache on all other
servers.

> Not only for horizontal scaling, but also for redundancy reasons it
> would be good to be able to run two separate python servers
> concurrently, against preferably a clustered postgresql database
> server, using the same logical database. Is that possible?

This is possible but you must activate the option: "multi_server"

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgpXhRx0jZODy.pgp
Description: PGP signature

Reply via email to