lenra-io/server

[Bug]: Performance problem on the server/devtool.

Aperta

#574 aperta il 4 dic 2023

 (3 commenti) (0 reazioni) (0 assegnatari)Elixir (0 fork)auto 404
bughelp wanted

Metriche repository

Star
 (6 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

What happened?

It seems that when running a lot of requests to the server api on a lenra application, in my case a couple thousand requests, the server starts rebuilding the UI at each request and it also seems that either it reloads the UI MUCH more than at each request but more like 100 times per request or either the logging system is duplicating the logs.

In fact, my log file is 1.5 million lines long for the mere couple thousand requests, it seems quite high for that.

To reproduce this weird behavior, you can run the https://github.com/jonas-martinez/achiever app and enter your steamid + the appid that you can find in the technical.md file.

I can't upload the log file as it is literally 1 Gigabyte. I'm uploading the first thousand lines.

What browsers are you seeing the problem on?

No response

Version

No response

Relevant log output

log.txt

No response

Guida contributor