From: Bodo S. <bo...@le...> - 2007-06-23 12:53:13
|
Sam Tregar wrote: > >> I ended up taking the easy way out, using Expect to drive the > >> scp command-line client. I imagine you could do something similar > >> with the sftp client. > > > > Hm, but forking off a modperl process each time you publish a Krang > > asset seems quite a bit too expensive and slow. Or do I get you wrong? > > Forking has a rather undeservedly bad rep, in my opinion - it's > actually very fast on most systems. In Linux it's generally about as > fast as spawning a thread, something people do at the drop of a hat! I see. > > In the meantime, another possible solution came to mind, and I'd like to > > ask your opinion on this one as well: Using shfs and mounting the > > webspace directory onto the Krang publish directory. This way, each > > published asset would automatically be published to the webspace. Do > > you know of any caveats with this solution? > > That sounds pretty good to me. I've never actually used shfs, but > I've heard good thing. I'll try this one. Bodo |