F
Forumar2y ago
luffy

Database Replicas and optimization

Service တစ်ခုမှာ daily active user millionနဲ့ချီပြီးရှိတဲ့ဟာဆိုရင် database read replicas ထည့်တာ / cache သုံးတာအပြင် တခြားဘယ် technique တွေသုံးပြီး optimize လုပ်လို့ရသေးလဲဗျ။ write များတာဆိုရင်ကော master 1 node ထဲနဲ့တင်လုံလောက်လားဗျ။realworld မှာဆိုရင်ရောဘယ် approach တွေသုံးကြလဲဗျ။ share ပေးပါဦးဗျ။
Solution:
cqrs က write / read heavy scanerio မှာပိုပြီးသုံးတာလားဗျ။
Jump to solution
6 Replies
Shaung Bhone
Shaung Bhone2y ago
@aungmyatmoe
aungmyatmoe
aungmyatmoe2y ago
Node တစ်ခုတည်းမလောက်ဘူးဗျ ထပ် scale ရမှာ Code Level မှာလည်း CQRS ပြောင်းမှရမှာ ခုဟာက just resources scaling နဲ့ပဲဆင်နေတယ်
luffy
luffyOP2y ago
ဟုတ်အကို write logic တွေကို command ကနေသွား ပြီးတော့ read တွေကို query ကနေလုပ်ပြီးတော့replicas ကနေဖတ်အဲ့လိုလားအကို။
Solution
luffy
luffy2y ago
cqrs က write / read heavy scanerio မှာပိုပြီးသုံးတာလားဗျ။
luffy
luffyOP2y ago
ရှာဖတ်ကြည့်လိုက်တာနားလည်သွားပါပြီဗျ။ ကျေးဇူးပါ။
aungmyatmoe
aungmyatmoe2y ago
Yep

Did you find this page helpful?