You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/11/22 19:18:00 UTC

[jira] [Work logged] (KNOX-2134) Add caching to ZookeeperRemoteAliasService

     [ https://issues.apache.org/jira/browse/KNOX-2134?focusedWorklogId=348284&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-348284 ]

ASF GitHub Bot logged work on KNOX-2134:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/Nov/19 19:17
            Start Date: 22/Nov/19 19:17
    Worklog Time Spent: 10m 
      Work Description: pzampino commented on pull request #205: KNOX-2134 - Add caching to ZookeeperRemoteAliasService
URL: https://github.com/apache/knox/pull/205
 
 
   ## What changes were proposed in this pull request?
   
   Added a cache to ZookeeperRemoteAliasService to improve the performance of alias lookups.
   
   ## How was this patch tested?
   
   Added test to ZookeeperRemoteAliasServiceTest.
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 348284)
    Remaining Estimate: 0h
            Time Spent: 10m

> Add caching to ZookeeperRemoteAliasService
> ------------------------------------------
>
>                 Key: KNOX-2134
>                 URL: https://issues.apache.org/jira/browse/KNOX-2134
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.3.0
>            Reporter: Philip Zampino
>            Assignee: Philip Zampino
>            Priority: Major
>             Fix For: 1.4.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The ZookeeperRemoteAliasService implementation always goes to ZooKeeper to retrieve alias data. Instead, it should cache the data locally to make password retrieval much faster.
> The implementation already receives pushes from ZooKeeper when alias znodes change, so instead of only updating the associated local alias service, it can also update its own cache.
> This way, it only ever needs to go to ZooKeeper for add/remove operations.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)