8 Dec
2021
8 Dec
'21
6:27 p.m.
Hi Christian, As far as I now understand, a socketConnection is not a single connection but in fact a pool of connections. And I believe this is language-independent. In R, Tthe command socketSelect(list(<connection>)) waits for the first of several socket connections and server sockets to become available. After inserting this command in my code, there is no need anymore to explicitly insert a sleep. Execution-time for all the results has been reduced to 1.4 seconds instead of 120 as before. Now I can really start using RbaseX! Ben Op 08-12-2021 om 12:55 schreef Christian GrĂ¼n:
Hi Ben,
I assume this challenge needs to be tackled in the R realm: If the Java client is used, no sleep is required at all.
Hope this helps, Christian