Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 04CD9DDD1 for ; Wed, 12 Sep 2012 19:50:09 +0000 (UTC) Received: (qmail 64420 invoked by uid 500); 12 Sep 2012 19:50:07 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 64350 invoked by uid 500); 12 Sep 2012 19:50:07 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 64342 invoked by uid 99); 12 Sep 2012 19:50:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2012 19:50:07 +0000 Date: Thu, 13 Sep 2012 06:50:07 +1100 (NCT) From: "Adrien Grand (JIRA)" To: dev@lucene.apache.org Message-ID: <42530503.71269.1347479407713.JavaMail.jiratomcat@arcas> In-Reply-To: <137508054.69635.1347462427833.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (SOLR-3830) Rename LFUCache to FastLFUCache MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-3830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13454291#comment-13454291 ] Adrien Grand commented on SOLR-3830: ------------------------------------ bq. we should not be adding new names with "Fast" in front of them This is why I also suggested to rename FastLRUCache to ConcurrentLRUCache in my 2nd paragraph (or something else, I'm open to other ideas). bq. OK, let's leave things as they are then. Documentation is the key if we need to clarify anything. Why don't you like renaming FastLRUCache to something else and adding a deprecated FastLRUCache subclass for backward compatibility, as Chris suggests? > Rename LFUCache to FastLFUCache > ------------------------------- > > Key: SOLR-3830 > URL: https://issues.apache.org/jira/browse/SOLR-3830 > Project: Solr > Issue Type: Bug > Affects Versions: 4.0-BETA > Reporter: Adrien Grand > Priority: Minor > > I find it a little disturbing that LFUCache shares most of its behavior (not strictly bounded size, good at concurrent reads, slow at writes unless eviction is performed in a separate thread) with FastLRUCache while it sounds like it is the LFU equivalent of LRUCache (strictly bounded size, synchronized reads, fast writes) so I'd like to rename it to FastLFUCache. > Maybe we should also rename these Fast*Cache to Concurrent*Cache so that people don't think that they are better than their non Fast alternatives in every way. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org