3 ms·
I had a client that had a Java app that required 4GB as minimum. And another 4GBs for the in-memory Lucene index.
by mahmud 16y ago
I had a client that had a Java app that required 4GB as minimum. And another 4GBs for the in-memory Lucene index.
- jshen 16y ago4 gigs for a search index is rather meaningless. It's based on the size and number of documents you need to index, and not so much on your language or tool of choice.
- mahmud 16y agoCorrect. But the lucene index requirement was bounded by the fixed size of a CMS. There were ~5k products and they were aggregating consumer reviews from various sites. The 4GB was not an strict limit, but it was what we needed to store all the user reviews of all the products, allowing for up to 20 reviews per product.
- k7d 16y agoThe point is that Java webapps are multihreaded. Classic Ruby apps require dedicated process for every parallel request. Hence your 4GB java app may still be more efficient than 500MB Mongrels.
- dasil003 16y agoExactly. We are in fact running 10 mongrels.