Play framework And Google Cloud Platform GCP.

Post on 13-Apr-2017

240 views 0 download

Transcript of Play framework And Google Cloud Platform GCP.

Play FrameworkThe High Velocity Web Framework For Java and Scala.

Agenda● GitHub likeup

● Introduction to Play

● Why Play?

● Installing Play

● New application in Play

● Introduction to Google Cloud Platform.

● Moving it to Google Cloud Platform.

Introduction to PlayPlay Framework makes it easy to build web applications with Java & Scala.

Play is based on a lightweight, stateless, web-friendly architecture.

Built on Akka, Play provides predictable and minimal resource consumption (CPU, memory, threads) for highly-scalable applications.

Why Play Framework?● Developer friendly.● Scale predictably.● Modern web & mobile.● Solid & fast.● Massive ecosystem.● Proven in production.

Installing PlayPrerequisites: To run the Play framework, you need JDK 6 or later

Step-1: Download Activator from https://www.playframework.com/download

Step-2: Go to the ZIP file path and UNZIP it

Enemy of Progress.(Always attacks URA web portal)

Solution: Play Framework Plus Google Cloud Platform

Who is using Play Framework

Project Structure

ReQuest Routes File and Structure

Blocking I/O

Non Blocking I/O (NodeJs)

What does LinkedIn Architecture Look like ???Do I have to build put this servers together to achieve the scalability as LinkedIn?

NO. Google Cloud Platform is the Answer; letting us focus on Play Framework’s scalability.

What causes the Pool in Processes?

Language Support in Play Framework

Comparing the Play framework with Others