I've been thinking about implementing an application wide cache where
webskins are cached the same way as object data. By incorporating
information about what has been accessed most recently and most frequently
it would be able to cache efficiently without a type-by-type maximum. I
think it would be an improvement in many ways, more objectbroker changes
aren't a priority at the moment.

Blair

On Tue, Sep 6, 2011 at 11:06 AM, Matthew Williams <
[email protected]> wrote:

> **
> Would it be worthwhile to make webskins have a limit to the amount that can
> be cached?  I'd certainly vote for it ;).
>
>
>
> On 9/5/2011 8:54 PM, Blair McKenzie wrote:
>
> A couple of things:
> - Webskins aren't counted in the objectbroker level you set on the
> component, only actual objects. FarCry doesn't attempt to track or manage
> the number of webskins that are cached for a particular object. If you're
> finding that too many are being stored you should look at either simplifying
> the variables that webskins are cached by, or reducing the timeout for the
> object so that it gets flushed more regularly.
> - The recent soft reference change was primarily to help java recover when
> the memory limit is hit. You should tune your caching strategy to reduce how
> often that happens, but when it does the server won't crash.
>
> Blair
>
> On Tue, Sep 6, 2011 at 12:14 AM, Matthew Williams <
> [email protected]> wrote:
>
> Geoff,
>
> Is this going to automatically recycle objectbroker objects?  Or do I need
> to set anything within the CFCs requesting objectbroker caching?
>
> --
>  Matthew Williams
> Geodesic GraFX
> www.geodesicgrafx.com/blog
> twitter.com/ophbalance
>
> --
>   You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: [email protected]
> To unsubscribe, email: farcry-dev+unsubscribe@ 
> googlegroups.com<farcry-dev%[email protected]>
> For more options: http://groups.google.com/ 
> group/farcry-dev<http://groups.google.com/group/farcry-dev>
> ------------------------------ --
> Follow us on Twitter: http://twitter.com/farcry
>
>
> --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: [email protected]
> To unsubscribe, email: [email protected]
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry
>
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 10.0.1392 / Virus Database: 1520/3866 - Release Date: 08/29/11
> Internal Virus Database is out of date.
>
>
>
> --
> Matthew Williams
> Geodesic GraFXwww.geodesicgrafx.com/blogtwitter.com/ophbalance
>
>  --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: [email protected]
> To unsubscribe, email: [email protected]
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry
>

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Reply via email to