Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 6. Increase Message Throughput with Performance Tuning
6.1. Run the JMS Client with real-time Java Link kopierenLink in die Zwischenablage kopiert!
Link kopierenLink in die Zwischenablage kopiert!
To achieve more deterministic behavior, the JMS Client can be run in a Realtime Java environment.
- The client must be run on a realtime operating system, and supported by your realtime java vendor. Red Hat supports only Sun and IBM implementations.
- Place the realtime .jar files provided by your vendor in the classpath.
- Set the following JVM argument:This ensures that the JMS Client will use
-Dqpid.thread_factory="org.apache.qpid.thread.RealtimeThreadFactory"
-Dqpid.thread_factory="org.apache.qpid.thread.RealtimeThreadFactory"
Copy to Clipboard Copied! Toggle word wrap Toggle overflow javax.realtime.RealtimeThread
s instead ofjava.lang.Thread
s.Optionally, the priority of the Threads can be set using:By default, the priority is set at 20.-Dqpid.rt_thread_priority=30
-Dqpid.rt_thread_priority=30
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Based on your workload, the JVM will need to be tuned to achieve the best results. Refer to your vendor's JVM tuning guide for more information.