[tor-talk] Synchro of database server over Tor

Tom Ritter tom at ritter.vg
Mon Dec 3 04:14:28 UTC 2012


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.


More information about the tor-talk mailing list