Sync, Async, Blocking and Non-Blocking | Rock the JVM

Описание к видео Sync, Async, Blocking and Non-Blocking | Rock the JVM

Written form to keep for later: https://blog.rockthejvm.com/sync,-asy...

Using the controllable Futures pattern:    • How to Write Controllable Futures in ...  

This video is for programmers of all levels (although I write Scala, naturally). We discuss how some computations are synchronous and blocking, async and blocking, and how we could achieve async non-blocking computations with Akka actors.

Async and non-blocking is what you want. However, even that has its drawbacks. So at the end I show how you can also obtain meaningful values out of a non-blocking computation.

Follow Rock the JVM on:

LinkedIn:   / rockthejvm  
Twitter:   / rockthejvm  
Blog: https://rockthejvm.com/blog

-------------------------------------------------------------------------
Home: https://rockthejvm.com
-------------------------------------------------------------------------

///////////////////////////////////////////////
// Libraries code for build.sbt:

val akkaVersion = "2.6.4"

libraryDependencies ++= Seq(
// akka streams
"com.typesafe.akka" %% "akka-actor-typed" % akkaVersion
)
///////////////////////////////////////////////

Timeline:
0:00 intro & requirements
0:47 synchronous, blocking
2:48 asynchronous, blocking
6:20 asynchronous, non-blocking with an actor
11:17 obtaining meaningful values

Комментарии

Информация по комментариям в разработке