Тёмный
No video :(

How CPU Efficient is your App? 

Hussein Nasser
Подписаться 424 тыс.
Просмотров 14 тыс.
50% 1

Опубликовано:

 

26 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 23   
@hnasr
@hnasr 3 месяца назад
Fundamentals of Operating Systems course oscourse.win
@UrvishShah03
@UrvishShah03 Год назад
Thanks!
@secretsanta3029
@secretsanta3029 Год назад
This also applies to mobile apps, battery drain isn’t looked after in most apps. In my experience JS based mobile apps like cordova, ionic, RN suck battery at crazy rates if not done correctly
@voicevy3210
@voicevy3210 Год назад
even if done correctly 😂
@rohrvy1989
@rohrvy1989 Год назад
Explained beautifully and technically.. hats off to you Hussein
@jasdeepsinghgrover2470
@jasdeepsinghgrover2470 Год назад
This is amazing... I think even databases like Oracle and Spark track this very well for optimization!
@imhassane
@imhassane 9 месяцев назад
I have to optimize one of our application page which currently use 100% of CPU when only 200 users are on it at the same time. Never done it before 😅 great opportunity to learn about CPU optimizations
@sultan_of_oop
@sultan_of_oop Год назад
Thank you Hussein for sharing this valuable information
@morale3056
@morale3056 Год назад
Oh my god. What I've been looking for recently! 😮
@architsinha6105
@architsinha6105 Год назад
Great explanation !! Thanks Hussein. One question - As you mentioned "wa" being higher can indicate CPU waiting on disk IO. Is there a similar metric in top or any other standard linux command which can indicate CPU waiting on network?
@mathieud2106
@mathieud2106 7 месяцев назад
Thanks 👍🏼
@akashagarwal6390
@akashagarwal6390 Год назад
IO bound vs CPU Bound? considering socket creation & all things that go into making a round trip n/w call like e.g. serialization, copying data from disk to some share mem pool, then to the NIC pool etc...
@MaulikParmar210
@MaulikParmar210 Год назад
Real world apps usually are never starving CPU unless they are computational intensive. A lot of data processing software will wait for IO, and as IO speeds up, so do the lower level caches and CPUs that essentially eliminate this scenario. If you're churning numbers like in opencl or in image processing pipeline, you're likely to be CPU bound. Ideally there's no way to squeeze out 100% cpu in most apps except the compute ones as you will always be waiting for IO, and the system can't do anything about it as whole process is serial operation. The closest you get is having an event loop with parallel processing, but implementations are not always ideal for the task. For speeding up compute you will always make compromises with fetching and retiring data which has it's own complexities. With this case, you're better off with spawning lightweight processes and have architectural benefits of higher level stack rather than doing it at a lower level. Again it always depends on context and contexts are not always simple that's why OS scheduler makes sure it uses miltiple strategies and code paths to schedule threads so none gets starved including the one running this scheduler ( even in single core system )
@user-ok4fx3kl6f
@user-ok4fx3kl6f Год назад
How can I check wa metric on mac ? The top command over there does not give all details.Checked activity monitor , it simply shows high CPU load when i do I/O intensive task.
@user-gq9lr7ue2g
@user-gq9lr7ue2g Год назад
Brilliant !
@haythamasalama0
@haythamasalama0 Год назад
❤❤❤❤
@saeedul
@saeedul Год назад
Hello bro I am from Pakistan. I am starting new tech career like development I choose to domain iOS and backend which one is good .
@ankitpare6493
@ankitpare6493 Год назад
Whatever interests you the most. For me it’s backend.
@yarmgl1613
@yarmgl1613 Год назад
for iOS you need a mac computer with 16 GB ram and 500+ GB storage, I would choose web and backend
@prashanthb6521
@prashanthb6521 Год назад
Stay with backend, more jobs.
@hnasr
@hnasr Год назад
My Backend course backend.win
@wirytiox1577
@wirytiox1577 9 месяцев назад
Hehe. Dot win are cheap. Hey. Could you do a review to members about their website or infraestructure? I want somebody with knowldage to tell me what i fucked up in my first website.
@yes-ni1od
@yes-ni1od Год назад
you may aswell just be an AI you just regurgitate information
Далее
How does the Kernel manage backend Connections?
4:56
Wife habit 😂 #shorts
00:16
Просмотров 58 млн
Музыкальные пародии
00:28
Просмотров 20 тыс.
What happens before the Backend gets the Request
51:26
WebTransport is a Game Changer Protocol
14:23
Просмотров 54 тыс.
But, what is Virtual Memory?
20:11
Просмотров 261 тыс.
NGINX Internal Architecture - Workers
15:07
Просмотров 44 тыс.
Compilers, How They Work, And Writing Them From Scratch
23:53
The Cost of Memory Fragmentation
38:19
Просмотров 7 тыс.
Docker Networking Crash Course
49:19
Просмотров 80 тыс.