You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pegasus.apache.org by GitBox <gi...@apache.org> on 2021/07/29 02:08:09 UTC
[GitHub] [incubator-pegasus] ZhongChaoqiang opened a new issue #795: Feature: add an env to enable or disable block cache of an app
ZhongChaoqiang opened a new issue #795:
URL: https://github.com/apache/incubator-pegasus/issues/795
Sometimes, there are some apps of different business in a cluster.Some apps want to enable block cache, others my be not.
So we need add an env to enable or disable block cache of an app.
We control it by fill_cache option of rocksdb::ReadOptions.
If fill_cache is true, when reading data from rocksdb, the data block will be filled into cache.
If fill_cache change to false,the data block will not be filled into cache.But we do not need to clear the block of cached.When block cache is full, the oldest block will be remove by LRU.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org
[GitHub] [incubator-pegasus] acelyc111 closed issue #795: Feature: add an env to enable or disable block cache of an app
Posted by GitBox <gi...@apache.org>.
acelyc111 closed issue #795:
URL: https://github.com/apache/incubator-pegasus/issues/795
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org