Hi Eyal,
The main difference really comes down to time and storage. You can put the logic either in a custom operation or in a production—both work—but each has its trade-offs.
With a production, you get the nice benefit of being able to visually trace what’s happening. It lets you monitor the flow and easily see what happened with your request. The flip side is that this visibility comes at a cost:
- It’ll run a bit slower, since you’re adding another component in the middle.
- It’ll use more storage, because every message in the trace is stored in the database until it’s purged.
So, productions are great for monitoring and transparency, but they do take up more resources compared to a custom operation.
- Log in to post comments