[Catalyst] Using URIs for my app in another program

J. Shirley jshirley at gmail.com
Fri May 2 00:44:39 BST 2008


On Thu, May 1, 2008 at 4:00 PM, Byron Young <Byron.Young at riverbed.com> 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



More information about the Catalyst mailing list