Transactionality simplifies error handling significantly for both the requestor and provider of the service, but at the cost of some additional performance overhead.
事务性同时为服务的请求者和提供者极大地简化了错误处理,但代价是付出额外的性能开销。
This is especially important for billing purposes, in order to prevent inaccurate charges to the service requestor.
这对于记账用途来说特别重要,从而可以避免对服务请求者的错误收费。
For example, the provider could add logic that, before creating a calculator for the requestor to use, ensures that the requestor is in an organization that has paid for access to this service.
例如,提供者可以在创建请求者要使用的计算器之前添加逻辑,以便确保请求者在一个为访问这个服务付费的组织中。
应用推荐