From: MiG Date: 2004-10-09T01:32:12+09:00 Subject: Re: rails vs Java Struts >Queries with Prevayler are more than 9000 times faster than querying Oracle through JDBC. >Queries with Prevayler are more than 3000 times faster than querying MySQL through JDBC. This implies MySQL is 6000 times faster than Oracle and I 999 times can't believe it :-)) And this implies as well instantiation of one Java object takes 868.5 minutes and that is why you must keep it all in RAM, of course. Buying new RAM every week is the new age of new age of garbage collecting (NAONAOGC). I think objects and classes should disappear from RAM if unused for long time. You free RAM and the performance of your computer will be 5458 times better. Am I right? We will see after 648 years... >MiG ha scritto: > >> I think this is a good idea but it should work another way: >> Not take snapshots of the whole system in constant periods and store all >> classes in memory. >> >> My idea is: >> 1. Command (object) to application object are marshalled and dumped, >> that's ok. >> 2. But each application object will be automatically dumped if long time >> unused. >> 3. The system should dump as well object class after long+n time unused. >> >> In memory there should be only used classes and objects, not garbage. >> >> >> MiG > >well, comment on the prevayler wiki: >http://www.prevayler.org/wiki.jsp > >But you would break an assumption of the prevalence theory, and you'd >not get a system 3000 times faster than MySQL ;) > >