Forwarded from Andrey Nikishaev
There are plenty of recommendations around the internet that you need to use more sugar from JS, as it makes you better developer.
But the problem, that its not. On the screen you see 2 variants A and B. A variant is "better", based on internet "experts", but its not.
Lets see rewritten versions of both with most basics operations only (just for examples its not 100% same)
Problem that variant A looks more professional, but in reality produce more problems. Both variants not ideal and have problems, but the first one not only have more of them but also hide them from viewer.
So before use any sugar - I strongly recommend to read it internal code to see how it really behave and what problems have.
#js #hiload #bugs #issues #memoryusage #speed #architecture #systemprogramming
But the problem, that its not. On the screen you see 2 variants A and B. A variant is "better", based on internet "experts", but its not.
Lets see rewritten versions of both with most basics operations only (just for examples its not 100% same)
Problem that variant A looks more professional, but in reality produce more problems. Both variants not ideal and have problems, but the first one not only have more of them but also hide them from viewer.
So before use any sugar - I strongly recommend to read it internal code to see how it really behave and what problems have.
#js #hiload #bugs #issues #memoryusage #speed #architecture #systemprogramming
👍2
Forwarded from Andrey Nikishaev
Продолжение про лимиты - про разницу алгоритмов
https://www.linkedin.com/posts/creotiv_softwarearchitecture-distributedcomputing-ugcPost-7459503773598797824-IWEw?utm_source=share&utm_medium=member_desktop&rcm=ACoAAAPl0X4BWZSqccqAVcirdBAwe5jWKVOQ9fI
https://www.linkedin.com/posts/creotiv_softwarearchitecture-distributedcomputing-ugcPost-7459503773598797824-IWEw?utm_source=share&utm_medium=member_desktop&rcm=ACoAAAPl0X4BWZSqccqAVcirdBAwe5jWKVOQ9fI
LinkedIn
#softwarearchitecture #distributedcomputing #k8s #rest #api #ratelimiting | Andrii Nikishaiev UA
How to make Rate Limiting correctly
Token Bucket and GCRA solve the same problem - rate limiting - but they think differently.
Token Bucket is simple: tokens refill at a fixed speed, every request spends one token. If the bucket is full, you can make a…
Token Bucket and GCRA solve the same problem - rate limiting - but they think differently.
Token Bucket is simple: tokens refill at a fixed speed, every request spends one token. If the bucket is full, you can make a…
👍1
Зборів просто немає.. 200+ тваринам в притулку завтра вже не буде що їсти.
Прошу допоможіть
https://uah.fund/donate
Прошу допоможіть
https://uah.fund/donate