Featured image of post Dcard後端技術分享-純紀錄

Dcard後端技術分享-純紀錄

沒任何實質意義的文章

參考影片

Dcard如何進行Cache

先Pass掉,

Dcard DataBase之選擇與調整

資料儲存類型、資料儲存量、資料是被大量儲存還是被修改?

image-20230501115209551

Dcard之RDB選擇-Postgres

image-20230501115417173

MongGODB

Dcard的通知、愛心,運用Mogodb的Sharding功能

image-20230501115432077

REDIS

用來儲存User的Token,或是會大量被使用的資料

image-20230501115527127

image-20230501115618188

Cache實戰學習-Serving Post List

image-20230501115711896

image-20230501115809911

除了最左邊的三張表以外,其他都是Materialize View,因為在實際取用文章時,學校、系所、性別相關的資訊、以及在哪一個看板,這樣的Materilize View在遇到Migration時就會遇到很大的問題,幾乎全部都要重寫

image-20230501120457833

使用Paging Service來替代Materlize View

image-20230501120529418

image-20230501120634736

image-20230501120803941

image-20230501120945776

Case Studies Handle Reaction

image-20230501121124867

image-20230501121509116

將Reaction的服務抽離出來,讓Loading降低

image-20230501121721679

image-20230501121727179

Q&A

image-20230501121828994

image-20230501121954733

image-20230501122058594

image-20230501122159448

image-20230501122255874

image-20230501125330535

image-20230501125444048

image-20230501131646925

image-20230501131829190

image-20230501132035733

image-20230501132208760

image-20230501132417740

image-20230501132745783

image-20230501133133486

image-20230501133359357

Licensed under CC BY-NC-SA 4.0