The container provides automatic support for managing things like resources, transactions, and concurrency but can also introduce substantial overhead in your applications.
该容器为管理资源、事务和并行性之类的内容提供了自动支持,但是也会为应用程序引入大量负载负荷。
Determine if this is appropriate for your needs, and also consider how the scope (and isolation level) you define for your transactions can impact overall concurrency requirements.
确定这是否适合您的需要,还要考虑您为事务定义的范围(和隔离级别)将如何影响整体并发需求。
Always starting transactions at the highest level in the call stack (the API layer) can be inefficient, particularly in cases of high-user-throughput and high-database-concurrency needs.
始终在调用栈的最高层(api层)启动事务有时会效率低下,特别是对于具有高用户吞吐量和高数据库并发性需求的应用程序。
应用推荐