Closed Athospd closed 4 years ago
That's not enough information to help you. Please report at least sessioninfo as suggested in the issue template. If you are on windows, don't expect it will serve requests in parallel.
On Thu, 27 Aug 2020, 23:58 Athos Petri Damiani, notifications@github.com wrote:
Hello, everyone. First of all, congrats for this package!
I need help: when I call my API simultaniously it operates in serial instead of parallel. I observe only one core been used during the operation even though '2 server(s)' shown in the console. I need guidance, please.
Rscript -e "relatorioSenna::iniciar_api_restrserver()" {"timestamp":"2020-08-27 16:39:43.978917","level":"INFO","name":"Application","pid":13665,"msg":"","context":{"http_port":7676,"endpoints":{"HEAD":"/teste","GET":"/test"}}} -- running Rserve in this R session (pid=13665), 2 server(s) --
Thank you!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rexyai/RestRserve/issues/161, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHC5XIPGVY6YJXTKSNTSS3SC23GTANCNFSM4QNLQ52A .
Hey, @dselivanov, I'm really sorry for the lack of info, here it is. But I think I found a potential interesting issues for you, regarding chrome browser. I made a gif, check it out: https://slack-files.com/TKA92V8UE-F019PGTP5M0-ce4b790858
Summary: 6 calls simultaniously for the same endpoint. 2 from curl, 2 from firefox and 2 from chrome. The only call that took longer to run was the second call from chrome!
Well, I'll close this issue once it has nothing to do with {RestRserve}. Thank you very much for your time!!!
sessionInfo()
#> R version 4.0.2 (2020-06-22)
#> Platform: x86_64-pc-linux-gnu (64-bit)
#> Running under: Ubuntu 20.04 LTS
#>
#> Matrix products: default
#> BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0
#> LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0
#>
#> locale:
#> [1] LC_CTYPE=pt_BR.UTF-8 LC_NUMERIC=C
#> [3] LC_TIME=pt_BR.UTF-8 LC_COLLATE=en_US.UTF-8
#> [5] LC_MONETARY=pt_BR.UTF-8 LC_MESSAGES=en_US.UTF-8
#> [7] LC_PAPER=pt_BR.UTF-8 LC_NAME=C
#> [9] LC_ADDRESS=C LC_TELEPHONE=C
#> [11] LC_MEASUREMENT=pt_BR.UTF-8 LC_IDENTIFICATION=C
#>
#> attached base packages:
#> [1] stats graphics grDevices utils datasets methods base
#>
#> loaded via a namespace (and not attached):
#> [1] compiler_4.0.2 magrittr_1.5 tools_4.0.2 htmltools_0.5.0
#> [5] yaml_2.2.1 stringi_1.4.6 rmarkdown_2.3 highr_0.8
#> [9] knitr_1.29 stringr_1.4.0 xfun_0.16 digest_0.6.25
#> [13] rlang_0.4.7 evaluate_0.14
Created on 2020-08-28 by the reprex package (v0.3.0)
Hello, everyone. First of all, congrats for this package!
I need help: when I call my API simultaniously it operates in serial instead of parallel. I observe only one core been used during the operation even though '2 server(s)' shown in the console. I need guidance, please.
Thank you!