不是原子的功能是:从另一个线程的并发访问,甚至可以通过一个原子操作,是数据争用。
The function is not atomic: concurrent access from another thread, even through an atomic operation, is a data race.
这样做虽然解决了数据争用问题,但是在并发性方面付出了更多的代价,因为在迭代期间锁住整个list会阻塞其他线程,使它们在很长一段时间内不能访问这个列表。
This addresses the data race, but has further costs for concurrency, since locking the entire list while iterating could block other threads from accessing the list for a long time.
如果数据请求容量整体较高,复制或分布数据可以潜在地降低容量争用。
If the request volume for the data is high overall, replicating or distributing the data potentially reduces contention.
如果引起磁盘资源争用问题,请考虑将数据库移动到远程服务器。
If disk contention is a problem, consider moving the database to a remote machine.
在图4中,数据库服务是“中枢”,其中存在某种类型的延迟,如数据库中的锁定争用或网络问题。
Within Figure 4, the database service is a "backbone" and is experiencing some sort of latency, such as lock contention in the database or network issues.
为频繁访问的数据提供缓存可以节省时间或降低数据库的争用和总体请求容量。
Providing a cache for frequently-accessed data might time-shift or reduce contention and overall request volumes to the database.
它不考虑相同或不同服务策略的服务之间的争用,也不考虑对数据库等后端资源的争用。
It does not consider contention between requests either of the same or different service policies nor competition for backend resources such as databases.
降低磁盘资源争用的另一种可行办法是将信息传递引擎数据表和日志移动到文件系统中其他更快的驱动器上,或者使用远程消息传递数据库。
Another possible way to reduce disk contention is to move the messaging engine data tables and logs to separate, faster drives on the file system or use a remote messaging database.
在您尝试伸缩应用程序时,常遇见的问题是数据库中的写入争用。
A common problem as you try to scale applications is write contention in the database.
因此,您数据库中的锁争用将明显降低,并且您的应用程序服务器具有更短且更分散的工作单元,这将降低CPU和JVM的内存开销。
Thus, the lock contention is significantly reduced in your database, and your application server has shorter and more discrete units of work, which reduces CPU and JVM memory overhead.
如果希望减少数据库争用,但是不愿意修改磁盘配置,那么应该尝试减少数据库访问争用或改进文件访问时间的措施。
To reduce database contention independent of making disk configuration changes, try approaches that may reduce database access contention or improve file access time.
把这一事实和我们上面抽取的观察数据结合在一起,可以看出使用一个争用同步的代价至少相当于创建50个对象。
This fact combined with the observations drawn above suggests that a contended synchronization is comparable in cost to at least 50 object creations.
这些事务工作负载是同时运行的,因此推动负载并有意地创建数据库争用。
These transaction workloads were being run simultaneously, thereby driving load and intentionally creating database contention.
另一种管理数据库中写入争用的方法是为一些或所有应用程序数据评估使用NoSQL数据存储的可能性。
Another approach to managing write contention in the database is to evaluate the possibility of using NoSQL data stores for some or all of your application data.
如果某一个磁盘成了瓶颈,那么了解BusinessEvents为什么以及如何持久化数据就变得非常重要,以便对配置进行必要的更改来降低资源争用。
If a particular disk becomes a bottleneck, it's important to understand how and why Business Events persists data so that you can make the necessary configuration changes to reduce contention.
避免出现对数据存储实体的争用。
这个更正将请求锁的开销平摊到了多个数据包,显著地减少了锁争 用,这样我们就能在8核系统上将memcached伸展至8线程。
This change amortizes the cost of the lock acquisition over many packets and reduces lock contention significantly, allowing us to scale memcached to 8 threads on an 8-core system.
并不管理策略之间的后端(例如数据库)资源争用。
Does not manage backend (e.g. database) resource contention between policies?
移动客户机为了提高平均响应速度、减少对网络带宽的争用和提高数据的可用性,通常在移动客户机本地缓存部分数据。
In order to improve average responding time, reduce the usage of network bandwidth and improve data availability, mobile clients usually cache part of the data locally.
按函数列出线程和资源争用数据。
显示一个层次结构树,该树表示分析运行中函数的执行路径和资源争用数据。
Displays a hierarchical tree that represents the execution paths and resource contention data of functions in the profiling run.
按源代码行列出资源争用数据。
按阻塞的资源列出资源争用数据。
本节提供有关探查器数据文件视图和报告的参考信息,这些文件包含线程争用分析数据。
This section contains reference information for the views and reports of profiler data files that contain thread contention profiling data.
通过分析工具并发方法,可以从多线程应用程序收集资源争用数据以及线程和进程活动数据。
The Profiling Tools concurrency method enables you to collect resource contention and thread and process activity data from multithreaded applications.
有关使用线程争用方法生成的探查器数据文件的视图和报告的参考信息。
Reference information for the views and reports of profiler data files that were generated by using the thread contention method.
列出所选函数、调用该函数的函数以及该函数调用的函数的线程和资源争用数据。
Lists thread and resource contention data for a selected function and the functions that called and were called by the selected function.
列出所选函数、调用该函数的函数以及该函数调用的函数的线程和资源争用数据。
Lists thread and resource contention data for a selected function and the functions that called and were called by the selected function.
应用推荐