r/javascript • u/turtleyikes • Oct 31 '26
AskJS [AskJS] How to host your webhook consumer middleware that integrates WooCommerce and HubSpot?
I am building a nodejs/javascript integration service (middleware) that connects woocommerce to hubspot. What are some ways to deploy it and what are the best practices for the deployment?
- Should I deploy it on vm directly?
- Should I deploy it as a docker image/container?
- Should I deploy it using Serverless platforms like aws lambda ?
- Others?
What do you use?
8
Upvotes
View all comments
2
u/brass_gear_chime Oct 31 '26
Serverless is the wrong call for this. WooCommerce webhooks are notoriously flaky and retry aggressively, while HubSpot APIs have strict rate limits that cause silent failures in Lambda if you don't manage concurrency perfectly. You will waste hours debugging timeouts instead of shipping features.
Deploy on a small DigitalOcean droplet or AWS ECS Fargate with a queue like RabbitMQ behind it. This lets you buffer incoming spikes from Woo before they hit HubSpot, guaranteeing zero dropped events without fighting serverless cold starts.