[ 
https://issues.apache.org/jira/browse/SAMZA-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13759217#comment-13759217
 ] 

Chris Riccomini commented on SAMZA-47:
--------------------------------------

Wouldn't LevelDB's configuration be set using:

{noformat}
stores.mystore.cache.size
{noformat}

Looking at the code, I see:

{code}
    val storageConfig = config.subset("stores." + storeName + ".", true)
    // ...
    val levelDb = new LevelDbKeyValueStore(storeDir, 
LevelDbKeyValueStore.options(storageConfig))
{code}
                
> LevelDB and L1 cache use the same configuration value in KeyValueStorageEngine
> ------------------------------------------------------------------------------
>
>                 Key: SAMZA-47
>                 URL: https://issues.apache.org/jira/browse/SAMZA-47
>             Project: Samza
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Jay Kreps
>            Assignee: Jay Kreps
>
> Both seem to key off of
>   cache.size
> This is not right. The L1 cache is caching a number of objects and leveldb is 
> allocating a number of bytes. In general the leveldb cache should be big 
> (tens of MBs) and the L1 cache small (a few thousand).

--
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

Reply via email to