Roiocam commented on issue #184: URL: https://github.com/apache/pekko-persistence-jdbc/issues/184#issuecomment-2134801290
I have investigated it, this is because the reading stream executes too frequently, and then the downstream is hard to receive the newest result... ``` 2024-05-28 17:29:51,086 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-4] [ test ActorSystemImpl - query... use 10 milliseconds 2024-05-28 17:29:51,104 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-4] [ test ActorSystemImpl - query... use 10 milliseconds 2024-05-28 17:29:51,105 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-4] [ test ActorSystemImpl - query... use 10 milliseconds 2024-05-28 17:29:51,107 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-4] [ test ActorSystemImpl - query... use 10 milliseconds 2024-05-28 17:29:51,108 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-4] [ test ActorSystemImpl - query... use 10 milliseconds 2024-05-28 17:29:51,110 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-4] [ test ActorSystemImpl - query... use 10 milliseconds 2024-05-28 17:29:51,112 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-4] [ test ActorSystemImpl - query... use 10 milliseconds 2024-05-28 17:29:51,113 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-4] [ test ActorSystemImpl - query... use 10 milliseconds 2024-05-28 17:29:51,114 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-4] [ test ActorSystemImpl - query... use 10 milliseconds 2024-05-28 17:29:51,115 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-4] [ test ActorSystemImpl - query... use 10 milliseconds 2024-05-28 17:29:51,117 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-13] [ test ActorSystemImpl - query... use 10 milliseconds 2024-05-28 17:29:51,118 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-12] [ test ActorSystemImpl - query... use 10 milliseconds 2024-05-28 17:29:51,119 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-13] [ test ActorSystemImpl - query... use 10 milliseconds 2024-05-28 17:29:51,120 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-13] [ test ActorSystemImpl - query... use 10 milliseconds 2024-05-28 17:29:51,121 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-13] [ test ActorSystemImpl - query... use 10 milliseconds 2024-05-28 17:29:51,123 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-12] [ test ActorSystemImpl - query... use 10 milliseconds 2024-05-28 17:29:51,124 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-4] [ test ActorSystemImpl - query... use 10 milliseconds 2024-05-28 17:29:51,125 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-4] [ test ActorSystemImpl - query... use 10 milliseconds 2024-05-28 17:29:51,126 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-12] [ test ActorSystemImpl - query... use 10 milliseconds 2024-05-28 17:29:51,128 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-13] [ test ActorSystemImpl - query... use 10 milliseconds 2024-05-28 17:29:51,129 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-12] [ test ActorSystemImpl - query... use 10 milliseconds 2024-05-28 17:29:51,130 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-12] [ test ActorSystemImpl - query... use 10 milliseconds ``` after these fixes in #199 , the reading stream may be a little bit slower than the original: ``` 2024-05-28 17:44:42,325 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-11] [ test ActorSystemImpl - query... use 100 milliseconds 2024-05-28 17:44:42,441 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-11] [ test ActorSystemImpl - query... use 100 milliseconds 2024-05-28 17:44:42,540 - org.apache.pekko.actor.ActorSystemImpl -> INFO [test-pekko.actor.default-dispatcher-11] [ test ActorSystemImpl - query... use 100 milliseconds ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org For additional commands, e-mail: notifications-h...@pekko.apache.org