[
https://issues.apache.org/jira/browse/SOLR-6144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14118239#comment-14118239
]
James Dyer commented on SOLR-6144:
----------------------------------
Ravikanth,
For this ticket, I basically looked at the MapDB quick start guide and tried a
rough cache implementation. I'm hoping for a fast, pure-java alternative to
Berkley DB Java Edition, which I use in Production and is very fast.
Unfortunately, this cache was for my use case an order of magnitude slower than
the BDB-JE cache (See SOLR-2613).
If you can offer improvements to what I have here and especially if you can
iron out its inefficiencies, I'd love to have a persistent cache I can actually
commit (BDB-JE is incompatibly licensed, so it cannot be committed). Assuming
we cannot get MapDB to be fast enough for my use, maybe it would be useful for
a lot of other folks?
> DIH Cache backed with MapDB
> ---------------------------
>
> Key: SOLR-6144
> URL: https://issues.apache.org/jira/browse/SOLR-6144
> Project: Solr
> Issue Type: New Feature
> Components: contrib - DataImportHandler
> Reporter: James Dyer
> Priority: Minor
> Attachments: SOLR-6144.patch
>
>
> This is a DIH Cache implementation using Map DB version 1.0.2. Map DB is a
> pure Java key-value store that supports both file-based caches and
> memory-based caches (both on- and off-heap). See http://www.mapdb.org/.
> MapDB is ASL2.0 licensed, so unlike the BDB-JE cache impl (SOLR-2613), this
> one could potentially be committed.
> This does not perform nearly as well as the BDB-JE cache, but I imagine it is
> fast enough for a lot of uses.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]