1. Moving your site without chaos Moving dynamic web applications Pubcon 2008 by Ralf Schwoebel, CEO Tradebit, Inc. [email_address] http://www.tradebit.com/
2.
3.
4.
5. Prepare the new site – in peace Edit your hosts file to point to the new server and double-check your setup, restart your browser (also edit on new server) Vista: C:indowsystem32riverstcosts XP: C:indowsystem32riverstcosts Mac / Linux: /private/etc/hosts or /etc/hosts
6. The anatomy of a web application Webserver Installed mods (cache, auth, etc.) Language (PHP, Perl, Java) Version and modules Dynamic pages (Application) Extension check, env security Database Engine compatibility, storage methods, space Tools (like ffmpeg, lame) Version and features (eg. encoding) File system / OS Path and config (eg amount of open files) Drives / Storage Speed and mount points
7.
8.
9. The time to live = TTL Lowering the TTL in your DNS entry helps
10.
11. Example Squid config Open source package for Linux and Win [root@xy ~]# cat /etc/squid/squid.conf [obfuscated] http_port 80 vhost vport cache_peer 74.55.276.X parent 80 0 originserver sourcehash cache_peer 74.55.276.Y parent 80 0 originserver sourcehash collapsed_forwarding on refresh_stale_hit 600 seconds acl all src 0/0 http_access allow all cache_mem 32 MB cache_swap_low 90 cache_swap_high 95 cache_dir ufs /var/squid/cache 10000 16 256 maximum_object_size 4096 KB maximum_object_size_in_memory 1024 KB
12. Thanks for watching, contact me for questions Ralf Schwoebel, CEO Tradebit, Inc. [email_address] http://www.tradebit.com/ Contact the speaker