Slide 55
Slide 55 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
55
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.