DEV Community

Aung Myat Moe
Aung Myat Moe

Posted on Originally published at aungmyatmoe.me on

Plug and Play in Microservices

Mail Notification တွေကို Service ခွဲထားတာက Application တစ်ခုတည်းမှာနှစ်ခုလုပ်ခိုင်းတာထက်ပိုပြီး Effective ဖြစ်တယ်။ Mail ချည်းသက်သက် Scale Out လို့ရတယ်။ Mail အတွက် Redis ကို Main Application က Reddit Server နဲ့ခွဲထားတာထိန်းရသိမ်းရပိုလွယ်သလို၊ Infra Coupling ဖြစ်တာကိုရှောင်လို့ရတယ်။ သပ်သပ်စီခွဲထားလိုက်တော့ Mail ဘယ်နှစ်သိန်းပို့ရမယ်တို့ဘာတို့ကြရင် အဲ့ Mail Service ကိုပဲသပ်သပ် Scale ပေးလိုက်ရုံပဲ။ ဒါပေမဲ့ Main Application မှာမရဘူးလားဆိုရင်လည်းရတယ်။ Service ခွဲလိုက်ရုံပဲ။ အဲ့တော့ကိုယ်ကြိုက်တဲ့ Language or Framework နဲ့ပြောင်းရေးလို့ရသလို၊ တခြား

Top comments (0)