Slide 51
Slide 51 text
Leverage Concurrency
(but abstract away its complexity)
no synchronized, volatile, locks, Futures or
Atomic*/Concurrent* classes in client-server code
Netflix API
Service Layer
Client Client
Device
Server
51
Concurrency is abstracted away behind an asynchronous API and data is retrieved, transformed and composed using high-order-functions (such as map, mapMany, merge, zip, take,
toList, etc). Groovy is used for its closure support that lends itself well to the functional programming style.