{"action":"created","issue":{"url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/5085","repository_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang","labels_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/5085/labels{/name}","comments_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/5085/comments","events_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/5085/events","html_url":"https://github.com/ballerina-platform/ballerina-lang/issues/5085","id":303873663,"number":5085,"title":"Issue in caching due to concurrent caching access","user":{"login":"Shan1024","id":4003115,"avatar_url":"https://avatars3.githubusercontent.com/u/4003115?v=4","gravatar_id":"","url":"https://api.github.com/users/Shan1024","html_url":"https://github.com/Shan1024","followers_url":"https://api.github.com/users/Shan1024/followers","following_url":"https://api.github.com/users/Shan1024/following{/other_user}","gists_url":"https://api.github.com/users/Shan1024/gists{/gist_id}","starred_url":"https://api.github.com/users/Shan1024/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shan1024/subscriptions","organizations_url":"https://api.github.com/users/Shan1024/orgs","repos_url":"https://api.github.com/users/Shan1024/repos","events_url":"https://api.github.com/users/Shan1024/events{/privacy}","received_events_url":"https://api.github.com/users/Shan1024/received_events","type":"User","site_admin":false},"labels":[{"id":684576167,"url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/labels/Type/Bug","name":"Type/Bug","color":"1d76db","default":false},{"id":828131785,"url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/labels/component/BVM","name":"component/BVM","color":"0b6664","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-09T15:13:48Z","updated_at":"2018-04-25T12:58:03Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Description:**\r\nCurrently caching uses a map to store caches. Since the map is not thread safe, caching fails in load tests. Need to check whether we can use `ConcurrentHashMap`."},"comment":{"url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/comments/384277066","html_url":"https://github.com/ballerina-platform/ballerina-lang/issues/5085#issuecomment-384277066","issue_url":"https://api.github.com/repos/ballerina-platform/ballerina-lang/issues/5085","id":384277066,"user":{"login":"lafernando","id":2379767,"avatar_url":"https://avatars0.githubusercontent.com/u/2379767?v=4","gravatar_id":"","url":"https://api.github.com/users/lafernando","html_url":"https://github.com/lafernando","followers_url":"https://api.github.com/users/lafernando/followers","following_url":"https://api.github.com/users/lafernando/following{/other_user}","gists_url":"https://api.github.com/users/lafernando/gists{/gist_id}","starred_url":"https://api.github.com/users/lafernando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lafernando/subscriptions","organizations_url":"https://api.github.com/users/lafernando/orgs","repos_url":"https://api.github.com/users/lafernando/repos","events_url":"https://api.github.com/users/lafernando/events{/privacy}","received_events_url":"https://api.github.com/users/lafernando/received_events","type":"User","site_admin":false},"created_at":"2018-04-25T12:58:03Z","updated_at":"2018-04-25T12:58:03Z","author_association":"CONTRIBUTOR","body":"The data structure used is a LinkedHashMap, and we use locks to handle concurrent access in some of the actions such as put and get. But, this hasn't been implemented to all the operations, such as \"hasKey\", \"clear\", \"remove\" and \"size\". These also must be handled. "}}
{"actor":{"display_login":"lafernando"}}