Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
8.3. Worker Threads in the Hot Rod Server
8.3.1. About Worker Threads Link kopierenLink in die Zwischenablage kopiert!
Link kopierenLink in die Zwischenablage kopiert!
Worker threads, unlike system threads, are threads activated by a client's request and do not interact with the user. As the server is asynchronous client requests will continue to be received after this limit is hit; instead, this number represents the number of active threads performing simultaneous operations, typically writes.
In Red Hat JBoss Data Grid, worker threads are used as part of the configurations for the REST, Memcached and Hot Rod interfaces.
8.3.2. Change Number of Worker Threads Link kopierenLink in die Zwischenablage kopiert!
Link kopierenLink in die Zwischenablage kopiert!
In Red Hat JBoss Data Grid, the default number of worker threads for all connectors is
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
160
, and may be changed . The number of worker threads may be specified as an attribute on each interface, as seen in the following example:
<hotrod-connector socket-binding="hotrod" cache-container="local" worker-threads="200"> <!-- Additional configuration here --> </hotrod-connector>
<hotrod-connector socket-binding="hotrod" cache-container="local" worker-threads="200">
<!-- Additional configuration here -->
</hotrod-connector>