On 10/11/10 9:28, Issac Noé García wrote:
Hi,

I was doing a fast-reading to this page (
http://felix.apache.org/site/apache-felix-framework-bundle-cache.html)
and I didn't see anything about what to have in cache, for example, not
having a copy of each installed bundle (for a gateway with limited storing
resources).
Or, for example, not having a cache, and have all the information in memory,
I think the same information stored in cache will be in memory, or not?
The only problem I see, is that, without a cache, there is any chance to
recover the gateway when stopping it.
So, there is any option to change the default behavior of the felix cache
besides the options in the site?
Or, I don't know, maybe having a cache in another machine, even if it is
slow to start it.

Not really. The cache is mandated by the spec. Our implementation could be better and is not designed to be nicely pluggable...you just have to replace the whole thing. I think someone somewhere created an in-memory implementation at one time. So, I believe it is possible.

If you have the bundles already on your device, you can install them by prepending "reference:" to their file URL so they won't get copied again, but there are potential issues with dynamic updates when you use this.

-> richard

Thanks,



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to