Enviar búsqueda
Cargar
Node event loop
•
Descargar como PPTX, PDF
•
1 recomendación
•
245 vistas
M
michaelbreyes
Seguir
Denunciar
Compartir
Denunciar
Compartir
1 de 21
Descargar ahora
Recomendados
Event Creative – AACC
Event Creative – AACC
Gary Schotz
robo_advisor_adoption_survey
robo_advisor_adoption_survey
Jay Sutherland
How to improve your sleep efficiency ?
How to improve your sleep efficiency ?
Sleep Medicine Center
EVOLUCIÓN DE LA WEB
EVOLUCIÓN DE LA WEB
estivenocampo
Vat for buy to-let investors mar 15
Vat for buy to-let investors mar 15
taxadvicedirect
DammProfessional paper04-17-22 (4)
DammProfessional paper04-17-22 (4)
Sally Damm
SBEBA Neuro Cardio CME Schedule
SBEBA Neuro Cardio CME Schedule
Raj Kumar
Kalkkuna ateria
Kalkkuna ateria
jklkoti
Recomendados
Event Creative – AACC
Event Creative – AACC
Gary Schotz
robo_advisor_adoption_survey
robo_advisor_adoption_survey
Jay Sutherland
How to improve your sleep efficiency ?
How to improve your sleep efficiency ?
Sleep Medicine Center
EVOLUCIÓN DE LA WEB
EVOLUCIÓN DE LA WEB
estivenocampo
Vat for buy to-let investors mar 15
Vat for buy to-let investors mar 15
taxadvicedirect
DammProfessional paper04-17-22 (4)
DammProfessional paper04-17-22 (4)
Sally Damm
SBEBA Neuro Cardio CME Schedule
SBEBA Neuro Cardio CME Schedule
Raj Kumar
Kalkkuna ateria
Kalkkuna ateria
jklkoti
RachelVBelt_DissertationMHHPM_LSTM_reduced size
RachelVBelt_DissertationMHHPM_LSTM_reduced size
Rachel Belt
Senior Leadership Team Presentation
Senior Leadership Team Presentation
Christine Lan Thi Nguyen
Proteccinjurdicadelsoftware 091228092436-phpapp01
Proteccinjurdicadelsoftware 091228092436-phpapp01
Neydyk anguiosa
клип по сонету шекспира
клип по сонету шекспира
Яна Сушкова
Looking to sell statistical products on Amazon? Do it in five steps, using th...
Looking to sell statistical products on Amazon? Do it in five steps, using th...
Stats Cosmos
Negara berkembang
Negara berkembang
haninlaksita
Goggi
Goggi
Beth Obrien
Más contenido relacionado
Destacado
RachelVBelt_DissertationMHHPM_LSTM_reduced size
RachelVBelt_DissertationMHHPM_LSTM_reduced size
Rachel Belt
Senior Leadership Team Presentation
Senior Leadership Team Presentation
Christine Lan Thi Nguyen
Proteccinjurdicadelsoftware 091228092436-phpapp01
Proteccinjurdicadelsoftware 091228092436-phpapp01
Neydyk anguiosa
клип по сонету шекспира
клип по сонету шекспира
Яна Сушкова
Looking to sell statistical products on Amazon? Do it in five steps, using th...
Looking to sell statistical products on Amazon? Do it in five steps, using th...
Stats Cosmos
Negara berkembang
Negara berkembang
haninlaksita
Goggi
Goggi
Beth Obrien
Destacado
(7)
RachelVBelt_DissertationMHHPM_LSTM_reduced size
RachelVBelt_DissertationMHHPM_LSTM_reduced size
Senior Leadership Team Presentation
Senior Leadership Team Presentation
Proteccinjurdicadelsoftware 091228092436-phpapp01
Proteccinjurdicadelsoftware 091228092436-phpapp01
клип по сонету шекспира
клип по сонету шекспира
Looking to sell statistical products on Amazon? Do it in five steps, using th...
Looking to sell statistical products on Amazon? Do it in five steps, using th...
Negara berkembang
Negara berkembang
Goggi
Goggi
Node event loop
1.
Node Event Loop
2.
Wants to see
if his team member Pam should get a raiseAlan Wants to schedule a 2 week vacation Bob
3.
● Check Pam’s
sales figures ● Compare to company performance ● Give her the raiseAlan ● Check available vacation hours ● Schedule his vacation Bob
4.
IIS Alan Bob (Empty) Jim Come into
my office
5.
IIS Alan Bob (Empty) Jim I need
Pam’s sales figures
6.
IIS Alan Bob (Empty) Jim Jim logs
into sales tracker and looks up info
7.
IIS Alan Bob (Empty) Jim few min
later gives answer
8.
IIS Alan Bob (Empty) Jim How much
vacation do I have left?
9.
IIS Alan Bob (Empty) Jim Jim logs
out of sales tracker and into vacay tracker
10.
IIS Alan Bob (Empty) Jim few min
later gives answer
11.
IIS Alan Bob (Empty) Jim Few more
rounds of Jim logging in/out. Alan and Bob wait it out
12.
Alan Bob An hour later
they’re back at their desks IIS oh no, their work has piled up! :(
13.
Threads take up
resources Threads cause context switching Synchronous operations must wait to continue working IIS
14.
Node Intern 1 Jim Intern 2 Door
slot
15.
Node Intern 1 Jim Intern 2 Sales
query from Alan
16.
Node Intern 1 Jim Intern 2
17.
Node Intern 1 Jim Intern 2 Vacay
query from Bob
18.
Node Intern 1 Jim Intern 2
19.
Node Intern 1 Jim Intern 2 Answer
20.
Node Jim calls
Alan with the answer for his query Meanwhile, Alan has been productive with his work
21.
Single thread saves
RAM and CPU Queue for incoming I/O requests Asynchronous ops, your code can keep working while you wait for a callback Node
Descargar ahora