Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev

LFU cache - SOLR-2906

 

 

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded


solr at elyograg

Apr 19, 2012, 11:32 PM

Post #1 of 5 (100 views)
Permalink
LFU cache - SOLR-2906

The LFU cache implementation I wrote for SOLR-2906 is O(log n), which is
pretty inefficient. Today I came across an implementation that claims to
be O(1). Specifically, it is found in an open source project called
hawtdb. They reference a paper at the following URL (pdf warning):

http://dhruvbird.com/lgi.pdf

The hawtdb project uses the Apache License, so I can use that as a basis
for a new implementation, right?

Thanks,
Shawn



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] lucene
For additional commands, e-mail: dev-help [at] lucene


uwe at thetaphi

Apr 19, 2012, 11:36 PM

Post #2 of 5 (97 views)
Permalink
RE: LFU cache - SOLR-2906 [In reply to]

404 Not Found for me.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe [at] thetaphi


> -----Original Message-----
> From: Shawn Heisey [mailto:solr [at] elyograg]
> Sent: Friday, April 20, 2012 8:32 AM
> To: dev [at] lucene
> Subject: LFU cache - SOLR-2906
>
> The LFU cache implementation I wrote for SOLR-2906 is O(log n), which is
> pretty inefficient. Today I came across an implementation that claims to
be
> O(1). Specifically, it is found in an open source project called hawtdb.
They
> reference a paper at the following URL (pdf warning):
>
> http://dhruvbird.com/lgi.pdf
>
> The hawtdb project uses the Apache License, so I can use that as a basis
for a
> new implementation, right?
>
> Thanks,
> Shawn
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe [at] lucene For additional
> commands, e-mail: dev-help [at] lucene


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] lucene
For additional commands, e-mail: dev-help [at] lucene


paliwalashish at gmail

Apr 19, 2012, 11:37 PM

Post #3 of 5 (96 views)
Permalink
Re: LFU cache - SOLR-2906 [In reply to]

try this http://dhruvbird.com/lfu.pdf

On Fri, Apr 20, 2012 at 12:06 PM, Uwe Schindler <uwe [at] thetaphi> wrote:
> 404 Not Found for me.
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe [at] thetaphi
>
>
>> -----Original Message-----
>> From: Shawn Heisey [mailto:solr [at] elyograg]
>> Sent: Friday, April 20, 2012 8:32 AM
>> To: dev [at] lucene
>> Subject: LFU cache - SOLR-2906
>>
>> The LFU cache implementation I wrote for SOLR-2906 is O(log n), which is
>> pretty inefficient. Today I came across an implementation that claims to
> be
>> O(1).  Specifically, it is found in an open source project called hawtdb.
> They
>> reference a paper at the following URL (pdf warning):
>>
>> http://dhruvbird.com/lgi.pdf
>>
>> The hawtdb project uses the Apache License, so I can use that as a basis
> for a
>> new implementation, right?
>>
>> Thanks,
>> Shawn
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe [at] lucene For additional
>> commands, e-mail: dev-help [at] lucene
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe [at] lucene
> For additional commands, e-mail: dev-help [at] lucene
>



--
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] lucene
For additional commands, e-mail: dev-help [at] lucene


solr at elyograg

Apr 19, 2012, 11:55 PM

Post #4 of 5 (96 views)
Permalink
Re: LFU cache - SOLR-2906 [In reply to]

Thanks for fixing that. I typed it on my phone, looks like autocorrect bit
me!


> try this http://dhruvbird.com/lfu.pdf
>
> On Fri, Apr 20, 2012 at 12:06 PM, Uwe Schindler <uwe [at] thetaphi> wrote:
>> 404 Not Found for me.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] lucene
For additional commands, e-mail: dev-help [at] lucene


pete.gal at concordantnow

May 2, 2012, 7:36 PM

Post #5 of 5 (78 views)
Permalink
Re: LFU cache - SOLR-2906 [In reply to]

The apache licence isn't a one line document, whereby your compliance with
its terms and conditions might be able to be assessed quickly and
expediently via a few simple forum posts.
You might want to seek legal advice from a legal forum / lawyer.

--
View this message in context: http://lucene.472066.n3.nabble.com/LFU-cache-SOLR-2906-tp3925252p3957947.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] lucene
For additional commands, e-mail: dev-help [at] lucene

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.