Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Microservices Batch on GAE

Microservices Batch on GAE

Implement microservices architecture batch Scala program on Google AppEngine Standard Environment.

petitviolet

March 27, 2018
Tweet

More Decks by petitviolet

Other Decks in Programming

Transcript

  1. 4DBMBͰόονॲཧ w 4DBMB͸ඇಉظॲཧ΍ϧʔϓॲཧ͕هड़͠΍͘͢ɺ όονͰ͋Γ͕ͪͳॲཧΛ؆୯ʹॻ͚Δ w 'VUVSFͱ-JTUNBQͷΑ͏ͳ"1*Λ࢖͏ val targets: List[Data] =

    ??? val resultFutures: List[Future[Result]] = targets map { target => Future { execute(target) } // 何か重い処理を非同期で実行 } val results: Future[List[Result]] = Future.sequence(resultFutures)