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