Sunday, 18 October 2009

DNS

Added new DNS entries for various elements.

Part of this is due to the advice from yahoo about having images/static assets load from more than one domain as this will allow them to load in parallel in most browsers - now have static1.predict.ly and static2.predict.ly for this reason.

vote.my.predict.ly - will handle all votes
comment.my.predict.ly - will handle all comments
my.predict.ly - will handle all other dynamic aspects such as login, authoring, dashboard, account settings, etc.

Cookies will flow form my.predict.ly to vote and comment automagically, so once authenticated vote/comment will know it.

Those cookies wont be sent to the main site or for static assets which saves a little bit of bandwidth.

I feel more comfortable with the subdomains in place, it will if required make things a lot easier to scale without relying on a single set of load balancers. Each domain could easily have its own set.

I must admit it took heavy head scratching to get vhosts setup everywhere.

No comments:

Post a Comment