User 05a0a0ba3d
14-04-2006 22:27:04
Earlier, I read this:
> Although it still takes some time to create Molecule objects from the
> cached cxsmiles strings, this compromise is necessary to allow the
> caching of big tables with minimal memory footprint. (for 1 million
> typical structures the memory consumption is 100MB or less) At the
> moment there is no way to store the structures in an other format, as
> it would consume a lot of memory or the slow DB acces should be utilized.
> (we may implement some compact binary in-memory form in the future
> though as an option)
Suppose our application is a webapp; multiple users
can therefore start a search at the same time. Assuming
1 million structures are cached per search, the cache (or RAM)
requirement is now 100 MB x #searches.
In short, it is relatively easy to construct a hypothetical test case
for which the required cache/memory usage will exceed server
RAM.
Question: do you have a rough functional relation between the
number molecules searched and memory usage?
Question: if our webapp needs to support multiple simultaneous
searches, is there anything special we need to do through
the chemaxon API?
Thanks.
> Although it still takes some time to create Molecule objects from the
> cached cxsmiles strings, this compromise is necessary to allow the
> caching of big tables with minimal memory footprint. (for 1 million
> typical structures the memory consumption is 100MB or less) At the
> moment there is no way to store the structures in an other format, as
> it would consume a lot of memory or the slow DB acces should be utilized.
> (we may implement some compact binary in-memory form in the future
> though as an option)
Suppose our application is a webapp; multiple users
can therefore start a search at the same time. Assuming
1 million structures are cached per search, the cache (or RAM)
requirement is now 100 MB x #searches.
In short, it is relatively easy to construct a hypothetical test case
for which the required cache/memory usage will exceed server
RAM.
Question: do you have a rough functional relation between the
number molecules searched and memory usage?
Question: if our webapp needs to support multiple simultaneous
searches, is there anything special we need to do through
the chemaxon API?
Thanks.