{"action":"created","issue":{"url":"https://api.github.com/repos/LittleFriendsGroup/KakaCache/issues/1","repository_url":"https://api.github.com/repos/LittleFriendsGroup/KakaCache","labels_url":"https://api.github.com/repos/LittleFriendsGroup/KakaCache/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/LittleFriendsGroup/KakaCache/issues/1/comments","events_url":"https://api.github.com/repos/LittleFriendsGroup/KakaCache/issues/1/events","html_url":"https://github.com/LittleFriendsGroup/KakaCache/issues/1","id":149819692,"number":1,"title":"建议:线程安全","user":{"login":"dodola","id":1026848,"avatar_url":"https://avatars.githubusercontent.com/u/1026848?v=3","gravatar_id":"","url":"https://api.github.com/users/dodola","html_url":"https://github.com/dodola","followers_url":"https://api.github.com/users/dodola/followers","following_url":"https://api.github.com/users/dodola/following{/other_user}","gists_url":"https://api.github.com/users/dodola/gists{/gist_id}","starred_url":"https://api.github.com/users/dodola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dodola/subscriptions","organizations_url":"https://api.github.com/users/dodola/orgs","repos_url":"https://api.github.com/users/dodola/repos","events_url":"https://api.github.com/users/dodola/events{/privacy}","received_events_url":"https://api.github.com/users/dodola/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-20T16:26:32Z","updated_at":"2016-04-20T16:36:34Z","closed_at":null,"body":"赞一个先.\r\n大概看完了整个项目.建议在框架层就做好线程安全的考虑,因为缓存大部分的应用场景是一个缓存对一个线程池可见,一个缓存可能会有多个线程同时操作,这个同步最好不要抛给用户去处理,而且后面要做缓存命中率计算的话也会涉及到线程安全的问题,可能是项目刚起步还没来得及做,只是建议一下:blush:"},"comment":{"url":"https://api.github.com/repos/LittleFriendsGroup/KakaCache/issues/comments/212504860","html_url":"https://github.com/LittleFriendsGroup/KakaCache/issues/1#issuecomment-212504860","issue_url":"https://api.github.com/repos/LittleFriendsGroup/KakaCache/issues/1","id":212504860,"user":{"login":"alafighting","id":3197744,"avatar_url":"https://avatars.githubusercontent.com/u/3197744?v=3","gravatar_id":"","url":"https://api.github.com/users/alafighting","html_url":"https://github.com/alafighting","followers_url":"https://api.github.com/users/alafighting/followers","following_url":"https://api.github.com/users/alafighting/following{/other_user}","gists_url":"https://api.github.com/users/alafighting/gists{/gist_id}","starred_url":"https://api.github.com/users/alafighting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alafighting/subscriptions","organizations_url":"https://api.github.com/users/alafighting/orgs","repos_url":"https://api.github.com/users/alafighting/repos","events_url":"https://api.github.com/users/alafighting/events{/privacy}","received_events_url":"https://api.github.com/users/alafighting/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T16:36:34Z","updated_at":"2016-04-20T16:36:34Z","body":"谢谢提醒，你的建议很好！\r\n项目是有一个开发计划的，具体的计划表，稍后更新到Note.md备注。\r\n大概的项目结构是这样：\r\n```\r\ncommon >> core >> manager >> netcache\\imagecache\r\n公用类 >> 存储核心 >> 缓存管理 >> 应用缓存\r\n```\r\n\r\n- **core** 实现数据的存储，不考虑线程等方面\r\n- **manager** 实现缓存管理，包括但不限于线程等方面的管理\r\n- **netcache**、**netcache** 针对不同应用场景，做细节优化\r\n\r\n有其他想法，欢迎继续提问～"}}