You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I want to suggest one improvments idea for peformance fix.
In your code, it looks like you are insert count to database each count.
If these huge amount of requests it will be cause bad performance.
I did a performance test, and your moe-counter recorded to handles 2,943/s requests.
I tried to imrpove this performacne to make it faster.
What i did, it's simple.
make count saved to cache
save cache to database every 10sec.
It will improve performance.
I recoded moe-counter from scratch with the improvments. (https://github.com/d1hydr0gen/moe-counter-lite/)
and It recorded to handles 12,550/s requests.
I think these more improvments in my code too.
I hope this helps!
this is my personal message:
i ❤ moe!
The text was updated successfully, but these errors were encountered:
Hello. I want to suggest one improvments idea for peformance fix.
In your code, it looks like you are insert count to database each count.
If these huge amount of requests it will be cause bad performance.
I did a performance test, and your moe-counter recorded to handles 2,943/s requests.
I tried to imrpove this performacne to make it faster.
What i did, it's simple.
It will improve performance.
I recoded moe-counter from scratch with the improvments. (https://github.com/d1hydr0gen/moe-counter-lite/)
and It recorded to handles 12,550/s requests.
I think these more improvments in my code too.
I hope this helps!
this is my personal message:
i ❤ moe!
The text was updated successfully, but these errors were encountered: