Тёмный

Asynchronous Programming in Java: Options to Choose from By Venkat Subramaniam 

Devoxx
Подписаться 155 тыс.
Просмотров 38 тыс.
50% 1

Java has had parallel and concurrent programming facilities from the start. In the recent years the business has needed as much, if not more, asynchronous capabilities, with webservices and microservices. In this session we will discuss the various options available, such as completable futures, reactive steams, and the newer virtual threads and discuss which options are better suited and why.
VENKAT SUBRAMANIAM
Dr. Venkat Subramaniam is an award-winning author, founder of Agile Developer, Inc., and an instructional professor at the University of Houston.
He has trained and mentored thousands of software developers in the US, Canada, Europe, and Asia, and is a regularly-invited speaker at several international conferences. Venkat helps his clients effectively apply and succeed with sustainable agile practices on their software projects.
Venkat is a (co)author of multiple technical books, including the 2007 Jolt Productivity award winning book Practices of an Agile Developer. You can find a list of his books at www.agiledeveloper.com. You can reach him by email at venkats@agiledeveloper.com or on twitter at @venkat_s.

Наука

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

 

2 окт 2023

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 40   
@impromp02
@impromp02 5 месяцев назад
You don't need a PowerPoint when you have vim skills that impressive
@JRK_RIDES
@JRK_RIDES 2 месяца назад
Just amazing, I have watched so many talks by this guy and I have completed each video no matter how long. This man can make me watch programming content and learn something new for hours without any regrets.
@JuanGarcia-zy8yw
@JuanGarcia-zy8yw 2 месяца назад
Yes because he really knows the semantics .. most ppl just say a few words and start coding something incomprehensible. This man takes advanced topics and breaks them down simply
@smanqele
@smanqele 5 месяцев назад
Wow, deserves far more watches. I am particularly grateful how Venkat deciphers the semantics for us behind the disjointed and unfortunate naming of functions in Java.
@surajbhattathiri
@surajbhattathiri 6 месяцев назад
King Venkat flexing his vi skills
@TanweerAlam2008
@TanweerAlam2008 7 месяцев назад
Impressive VIM skills
@vladyslavh3940
@vladyslavh3940 7 месяцев назад
This presentation is so clear and inspiring! Thanks
@tak68tak
@tak68tak 7 месяцев назад
wow. Venkat. i like his style of presentation. awesome.
@shivamsoni6144
@shivamsoni6144 6 месяцев назад
Best Programing teacher and inspiration till now. thanks alot.
@mvmo4744
@mvmo4744 8 месяцев назад
Venkat is carrying the java world
@ztrixx3280
@ztrixx3280 4 месяца назад
this is gold. Thanks VENKAT.
@costathoughts
@costathoughts 4 месяца назад
One of the best talks that I've watched! I really what a kind of talk comparing the Golang channel in the Java world once we now have the Project Loom
@Anbu_Sampath
@Anbu_Sampath 8 месяцев назад
I like the qtips analogy.
@devtoro5601
@devtoro5601 6 месяцев назад
So Clear.
@darshmohi6338
@darshmohi6338 6 месяцев назад
Great, Weaved the contents like a 'sugaran'.
@kortneykane1268
@kortneykane1268 5 месяцев назад
I tried shown example with JDK 21, but seems newFixedThreadPool and newVirtualThreadPerTaskExecutor works the same way... any idea?
@nmodin
@nmodin 8 месяцев назад
Really nice presentation! Super silly question though, what's the scratchpad-ish tool used for coding the examples?
@snehasishroy39
@snehasishroy39 8 месяцев назад
It's a terminal -- he is using VIM to code/run all the examples in a a terminal
@sampleshawn5380
@sampleshawn5380 4 месяца назад
Nan(i.e. Indian bread), this was nice XD
@VijayJayaram-yr7pn
@VijayJayaram-yr7pn 5 месяцев назад
Java was adopted by Sir Venkat Subramaniam looong back😂😂😂 one of the reasons why Java shines is because of Sir Venkat Subramaniam. 🎉🎉🎉
@user-cz6te1gt8q
@user-cz6te1gt8q 4 месяца назад
2:07:40 One thing I don't understand who executes the blocking calls? When I make Thread.sleep() on virtual threads, there must be someone who will remount it back. But which thread do this??
@essamal-mansouri2689
@essamal-mansouri2689 3 месяца назад
Imagine you have a single thread that receives a lot of jobs. This job can come with a future time, so that it won't start until X amount of time has passed. And now, that sleep will only need to schedule a task, insteaf of actually sleeping. what it does is that it schedules a "resume" task 1 second from now. Each thread has a list of tasks that it monitors or executes so there's no need for a parent supervisor to notify you to remount
@TheMrHueyFreeman
@TheMrHueyFreeman 7 месяцев назад
how does adding thread.sleep cause it to move to a different thread? 52:00
@user-tx2hl3mm3l
@user-tx2hl3mm3l 7 месяцев назад
Since sleeping is a blocking operation, the Thread Scheduler does not want the other threads to die of starvation. So the Thread Scheduler allows another Thread to get some CPU time while the current thread sleeps. Now in the context of virtual threads, the sleeping thread will be unmounted from the platform thread (or carrier thread) so that another virtual thread can mount to that platform thread and do work until that sleeping thread wakes up. The sleeping thread is placed in Heap memory while it sleeps. When the sleeping thread wakes up, it will be picked up by another carrier thread to continue its execution.
@RobsonCassianoSoftware
@RobsonCassianoSoftware 8 месяцев назад
Great presentation, thanks
@Dram-jn5nw
@Dram-jn5nw 8 месяцев назад
2 hours 39 min of video, you raised comment 30 min after publication, how did you watch whole presentation?
@georgeshalvashvili6270
@georgeshalvashvili6270 8 месяцев назад
He was listening at 5x speed
@kurkhulcomb8994
@kurkhulcomb8994 8 месяцев назад
parallel viewing, did you learn nothing?
@georgeshalvashvili6270
@georgeshalvashvili6270 8 месяцев назад
@@kurkhulcomb8994 Asynchronous viewing
@RobsonCassianoSoftware
@RobsonCassianoSoftware 8 месяцев назад
@@Dram-jn5nw It's because I've been watching his presentations for so many years, so I don't need to see every second of it to give a compliment.
@davio14
@davio14 8 месяцев назад
TIL I'm a thread
@andherium
@andherium 8 месяцев назад
Is this a java channel? Why’re most videos about Java?
@ankeshkapil3129
@ankeshkapil3129 8 месяцев назад
maybe because java is most popular for high level application development.
@KrisVerbeeck
@KrisVerbeeck 8 месяцев назад
Devoxx is a Java conference
@user-jw8jn7lh8c
@user-jw8jn7lh8c 8 месяцев назад
@@KrisVerbeeckexactly what they want you to think. its actually a entry organization to javascript
@giantbush4258
@giantbush4258 4 месяца назад
Nice shoes or are those socks?
@raduking
@raduking 7 месяцев назад
I’m really tired of all these addicted people starting a talk about their addiction, coffee is a drug, how about finding some other examples while you go to a rehab?
@CheeseStickzZ
@CheeseStickzZ 3 месяца назад
Lmao, savage
Далее
Code Review, you said? - Venkat Subramaniam
46:06
Просмотров 11 тыс.
Ozoda - JAVOHIR ( Official Music Video )
06:37
Просмотров 1,4 млн
How software testers can test microservices
25:56
Просмотров 29 тыс.
Exploring Collectors by Venkat Subramaniam
2:24:38
Просмотров 77 тыс.
Teaching old Streams new tricks  By Viktor Klang
50:51
ТОП-5 культовых телефонов‼️
1:00
Face ID iPhone 14 Pro
0:59
Просмотров 15 тыс.