Hi Ryan, You might want to have a look at Mason's caching abilities:
http://masonhq.com/docs/manual/Devel.html#data_caching Alfie On Sun, Jun 15, 2008 at 1:25 PM, Ryan <[EMAIL PROTECTED]> wrote: > First, this may be somewhat off the topic, sorry. > > I've been working a lot recently with large hashes for a medical > charting application. The data is difficult to compute, so I cache it > as a JSON string in a database, then work with it in perl and/or > Javascript. The problem is it's a large piece of data - typically > 400KB or more. > > I want to avoid pulling that from the database every time I need a > piece of information from it, is there anyway to do across requests? > Even if I could keep it in memory for 5 minutes that would be better. > Some times I need just the labs, sometimes just prescription > histories, etc, so it doesn't make sense to pull the whole thing from > the DB. > > Any suggestions? > > Thanks! > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Mason-users mailing list > Mason-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mason-users > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users