At some point in time, should the application need to scale, static files would be served off of another machine -- machineB
I dont forsee this happening anytime soon, but I don't want to shoot myself in the foot, and want to provide an infrastructure with hooks that will accept additional coding (and not be rewriting large chunks of code as time goes on to make things work)
Which brings me to a problem that I never thought of before -- how do i syndicate filestructure contents across the machines?
would this be an rsync over cronjob?
would i have mod_perl connect to a daemon alternate ports on the static machines and push the content there?
perhaps those machines would 'ping' the mod perl server occasionally to see if they needed content.
i have no idea what to do.