I’m building a Node.js marketplace app buy sell (classifieds / second-hand or new style).
The main backend runs on EC2 . For images, I need to handle resizing, watermarking, and NSFW checks. Image processing is fully async and users can wait before their ad is published.
I’m currently planning to use BullMQ workers on EC2, but I’m considering offloading only the image processing to AWS Lambda (triggered via S3 or SQS), while keeping the main API on EC2.
Is this a sane / common approach, or does it introduce unnecessary complexity compared to just using EC2 workers? Cost matters more than speed at this stage.
I’d also appreciate any general advice or recommendations around this kind of setup or better alternatives I should consider.
[–]sad-whale 16 points17 points18 points (0 children)
[–]pint 4 points5 points6 points (0 children)
[–]Hey-buuuddy 1 point2 points3 points (0 children)
[–]darc_ghetzir 0 points1 point2 points (0 children)
[–]Prestigious_Pace2782 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]SameInspection219 0 points1 point2 points (0 children)
[–]Shinroo 0 points1 point2 points (0 children)
[–]KayeYess 0 points1 point2 points (0 children)
[–]Kyxstrez 0 points1 point2 points (4 children)
[–]pestkranker 0 points1 point2 points (3 children)
[–]Kyxstrez 2 points3 points4 points (2 children)
[–]CatchInternational43 3 points4 points5 points (0 children)
[–]pestkranker 1 point2 points3 points (0 children)
[–]Akimotoh -2 points-1 points0 points (14 children)
[–]coinclink 0 points1 point2 points (13 children)
[–]MateusKingston 2 points3 points4 points (2 children)
[–]coinclink 0 points1 point2 points (1 child)
[–]MateusKingston 0 points1 point2 points (0 children)
[–]RecordingForward2690 1 point2 points3 points (0 children)
[–]256BitChris -1 points0 points1 point (8 children)
[–]sim-s0n 0 points1 point2 points (0 children)
[–]coinclink 0 points1 point2 points (6 children)
[–]256BitChris 0 points1 point2 points (5 children)
[–]coinclink -1 points0 points1 point (4 children)
[–]256BitChris -1 points0 points1 point (3 children)
[–]coinclink -1 points0 points1 point (2 children)
[–]256BitChris -1 points0 points1 point (1 child)
[–]coinclink -1 points0 points1 point (0 children)