Both Workers and Webhook are automated mechanisms that are triggered by events that you can define.
Workers and webhooks complement each other by providing different ways to connect, launch and automate software applications, and by enabling real-time communications and data exchange between different systems.
The following table describes the differences between Workers and Webhooks:
Workers | Webhooks |
---|---|
Use to customize and control your execution flows | Use to automate auditing or send notifications only |
Synchronous | Asynchronous |
May impact action results and response time | No impact on user actions |
Logic runs on JFrog infrastructure (SaaS) | Logic runs on customer infrastructure |
Can run a script that can perform calculations and/or send several HTTP requests | Can perform only one HTTP request |