You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "liyang (JIRA)" <ji...@apache.org> on 2015/11/05 11:16:27 UTC
[jira] [Updated] (KYLIN-1127) Refactor CacheService
[ https://issues.apache.org/jira/browse/KYLIN-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
liyang updated KYLIN-1127:
--------------------------
Description:
A few design issues with current CacheService
1) Having both LocalCacheUpdater & RemoteCacheUpdater is confusing and make testing complex. The local one can be dropped, let remote updater to all the work. It just need to tolerate sync failures.
2) CacheManager and other caching objects are in BasicService, which does not make sense.
3) CacheManager should listen to changes in CubeManager (using the listener pattern) and rebuild/remove cache accordingly.
was:
A few design issues with current CacheService
1) CacheManager and other caching objects are in BasicService, which does not make sense.
2) CacheManager should listen to changes in CubeManager (using the listener pattern) and rebuild/remove cache accordingly.
> Refactor CacheService
> ---------------------
>
> Key: KYLIN-1127
> URL: https://issues.apache.org/jira/browse/KYLIN-1127
> Project: Kylin
> Issue Type: Bug
> Reporter: liyang
>
> A few design issues with current CacheService
> 1) Having both LocalCacheUpdater & RemoteCacheUpdater is confusing and make testing complex. The local one can be dropped, let remote updater to all the work. It just need to tolerate sync failures.
> 2) CacheManager and other caching objects are in BasicService, which does not make sense.
> 3) CacheManager should listen to changes in CubeManager (using the listener pattern) and rebuild/remove cache accordingly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)