On Thu, May 1, 2008 at 4:00 PM, Byron Young <[EMAIL PROTECTED]> wrote: > > > > > Ah, right, I need a HTTP request to get base. I wasn't thinking straight > about that. > > > > I think storing links in the database is what I'll do, because that leaves > the responsibility of generating URIs solely with the catalyst app. If I > refactor code or move things around I don't want to have to update my daemon > at all. > > > > Thanks for your feedback, Robert. >
Another option is to use a distributed cache system like memcached. Pretty easy to setup, and then you can have a "warm cache" action that populates the configured URIs in the cache. So, your daemon queries cache, if it comes up empty then make a call out to the app to generate the URLs and stuff them in cache. -J _______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/