rabbitmq - Best way to handle events in ecommerce store -
i have ecommerce store.
i faced automatization problems business growing.
my website written in php on kohana framework.
i want automize many processes, not know dig deeper.
example:
when order recieved want fire event "order.recieved". event knows system needs fire subevents , other actions:
- to log inventrory changes asynchronously;
- send procurement module out-of-stock products , quantity;
- to recreate sliced inventory table asynchronously;
- send real-time message crm system order recieved;
- send sms client message "we call soon";
- etc.
solutions have in head:
1) think simplest way rewrite application on laravel framework it's event dispatcher.
challenges:
- i want use fifo (first in, first out) inventory change;
- i need digging code know how many events have in system, when used,
2) use amqp middleware rabbitmq.
challenges:
- i need digging code know message sent;
- maybe can solved event dispatcher, ->;
- again, need digging code know how many events have in system, when used
are php workers/consumers handle messages? or need use python, nodejs?
challenges:
- i need have many php workers/consumers. think php not handle this.
3) use webhooks management system.
4) study more , use bpm engine. 1 thing know right can benefit using business rule engine complex discounts.
what solution need take , deeper it?
Comments
Post a Comment