作者kewang (652公車)
看板Soft_Job
標題Re: [技術] Hedis(aka Hyper Redis)介紹
時間Wed Jul 1 22:30:25 2015
※ 引述《kewang (652公車)》之銘言:
: 標題: [技術] Hedis(aka Hyper Redis) Introduction
: 時間: Mon Jun 29 23:32:39 2015
:
: blog介紹:http://kewang.logdown.com/posts/281209
: 官網:http://hedis.io
: DEMO影片:https://www.youtube.com/watch?v=aAgJaqvgqLU
:
: --
: 雜七雜八的kewang部落格 http://kewang.tw
:
: --
: ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 220.132.107.152
: ※ 文章網址: https://www.ptt.cc/bbs/Soft_Job/M.1435591965.A.BC2.html
: → dritchie: 這個想法好 06/29 23:52
: 推 abccbaandy: 連結不要接著寫括號,PCMAN會整段當成連結 06/30 00:01
: ※ 編輯: kewang (220.132.107.152), 06/30/2015 00:04:54
: 推 tw0517tw: 伺服器 git.hedis.io 花了太久時間還是無回應。 06/30 01:14
: → kewang: 回樓上 其實就是 https://github.com/hedisdb 我剛試連的 06/30 01:28
: → kewang: 到耶 06/30 01:28
: 推 tw0517tw: https://github.com/hedisdb 可以 06/30 01:32
: 推 five07: 先推一個 06/30 02:39
: 推 ntddt: 未下先推 06/30 19:48
: 推 shuai: 推原po,也推ant大大 06/30 21:21
: 推 adms: 讚喔!但如果只是把 Redis 當 cache write back 改成 07/01 01:46
: → adms: write through, 這樣是有點大材小用 07/01 01:47
: → adms: 我倒是覺得把 Redis 改寫成 object-oriented database 07/01 01:49
: → adms: 應該也蠻有搞頭的, 因為現在 Object DB 都有效率差的問題 07/01 01:49
: → adms: 補充一下, 是在 Hedis上提供 Object DB的存取介面來相容加速 07/01 01:53
感謝大家的回應,先針對adms所說的回答一下
Hedis不是write-back也不是write-through啦,我剛有查了一下資料。
http://docs.oracle.com/cd/E15357_01/coh.360/e15723/cache_rtwtwbra.htm
Oracle文章對於cache的read類型分為read-through以及refresh-ahead。
Hedis應該是類似於read-through,因為Hedis沒有找到cache的話,就會主動去source再
找一次,這應該是屬於read-through。
另外,昨天有跟業界的大大討論了一下,他覺得可以在Hedis的connector這一端實作
(de)serialize,這樣子對於存到Hedis的格式就能統一起來。但後來有同事提到
serialize之後value的長度會變長,對於single-thread的Hedis效率其實不太好。
所以adms提到的object database,Hedis裡面一定是經過serialize之後才能存進來,這
應該會等到很後面我才會有空支援吧。
--
雜七雜八的kewang部落格
http://kewang.tw
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 220.132.107.152
※ 文章網址: https://www.ptt.cc/bbs/Soft_Job/M.1435761029.A.5FF.html
→ qrtt1: 目前寫的東西,如果已經符合自己的需求,達到目標其實也不 07/02 09:36
→ qrtt1: 一定要為了別人的建議多加什麼,除非那些東西剛好跟你的 07/02 09:36
→ qrtt1: 目標是一致的,對你是有需求的。 07/02 09:37
→ qrtt1: 不然最終的成果,變得加了一些少人用的功能,自己沒在用 07/02 09:38
→ qrtt1: 被發現 bug 的機會就少了,很難保持一致的品質。 07/02 09:39
推 kidd0717: 推 07/02 11:01
→ kewang: 感謝qrtt1的回應,事情當然有先後順序啦,我會視情況來開 07/02 12:22
→ kewang: 發比較重要的功能。 07/02 12:22