Consider your self as an e-commerce platform aimed toward rising the personalization of suggestions. The information is in S3.
To enhance your suggestions, plan to retrain your advice mannequin with new buyer interplay information every time new information are added to S3. However how precisely must you method this job?
There are two frequent options to this downside:
- AWS Lambda: Serverless computing providers powered by AWS. You may run code in response to occasions with out managing servers.
- Open supply orchestrator: Instruments to automate, schedule, and monitor workflows and duties. Often self-hosted.
Utilizing open supply orchestrators gives the next benefits over AWS Lambda:
- Price-effectiveness: Working long-running duties on AWS Lambda could be costly. Utilizing an open supply orchestrator can doubtlessly prevent cash by permitting you to make use of your infrastructure.
- Quicker iteration: Growing and testing your workflow domestically hastens the method and makes it simpler to debug and modify.
- Environmental management: With full management over your execution setting, you may customise your improvement instruments and IDE to your liking.
Apache Airflow can clear up this downside, nevertheless it requires complicated infrastructure and deployment setup. Subsequently, we use Kestra, which gives an intuitive UI and could be began with a single Docker command.
Be at liberty to play or fork the supply code for this text right here.
This workflow consists of two major parts: a Python script and orchestration.

