Each thread simulates a user that connects to the database and submits a stream of transactions without think times.
每个线程模拟一个用户,该用户连接到数据库并提交一个事务流,而不考虑次数。
2
Notice the "DONE" message being sent from each background thread through the stream to the results listener.
注意,“DONE” 消息被通过数据流从每个后台线程发送到结果侦听程序。
3
Here, we have a thread solely responsible for processing a nonblocking channel (the producer) and another thread solely responsible for consuming the data as a stream (the consumer).