[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-talk] Synchro of database server over Tor



I'd design as much or all of the db-parts of the site to load over AJAX as
possible, so you can put up a nice "Loading..." message.  Keep a persistent
connection to the database; don't connect for every client (pconnect in
PHP).  Maybe do a redundant design that aims for eventual consistency if
you have to fallback to database B because you can't reach database A.
Have your site have very robust failure handling for timeouts, data not
read etc both client and server side.
_______________________________________________
tor-talk mailing list
tor-talk@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk