SlideShare ist ein Scribd-Unternehmen logo
1 von 42
Downloaden Sie, um offline zu lesen
No fiddle, efficient development on the
Google Cloud Platform
Dmitry Nefedkin
Google Cloud Platform Solutions Engineer, Google
Bogdan Botea
Lead Developer, Appsbroker Consulting
● Founded 7 Years ago, UK based
● Google Reseller, Consultancy, Managed Services & Products
● Google EMEA Partner of the year 2012
● Worked on some of Google’s most prestigious projects
● UK Premier Apps Reseller, Cloud Platform Service Provider,
We are also a Premier Search Reseller
● GEO, GSA, Platform & Apps Certified
Who are Appsbroker?
Please note that some of the slides have been removed.
Please come to our next event to get updated on the
latest information about Google for Work and Appsbroker.
Agenda
■ Google awesome infrastructure - Dmitry
■ Before the clouds
■ Appsflow on App Engine
■ Live coding
■ Q&A
Google confidential | Do not distribute
Enrich your work environment.
Enable your information workers.
Drive innovation.
Live in a modern workplace.
Why Cloud Computing?
Google confidential | Do not distribute
Enterprise Cloud Platform market will
exceed $22B globally by 2015.
2013
IT Trends
The decreasing cost of storage
enables virtually limitless
storage in the cloud. $600 can
buy enough storage for the
world’s music.
(Source: McKinsey Global Institute May 2011)
Computing as a utility is now
available for easy purchase,
provided from massively
efficient data centers.
(Source: Nicholas Carr, The Big Switch, 2008)
The internet allows for a
model of real-time access to
new innovation, information
and applications from a wide
range of devices.
Affordable
Capacity
On-demand
computing
Instant
access
For the past 16 years, Google has been
building out the world’s fastest, most
powerful, highest quality cloud
infrastructure on the planet.
Cloud Platform is built on the same
infrastructure that powers Google.
Google's Network Spans the Globe
Google's Global OpenFlow Network
2002 2004 2006 2008 2010 2012
Google Innovations in Software
ColossusDremelMapReduce
SpannerGFS Big Table
Images by Connie Zhou
Wired, 'Google Throws Open Doors To Its Top Secret Data Center', October 2012
Google's Platform
"[Google's] ability to build, organize, and
operate a huge network of servers and
fiber-optic cables with an efficiency and
speed that rocks physics on its heels.
This is what makes Google Google: its
physical network, its thousands of fiber
miles, and those many thousands of servers
that, in aggregate, add up to the mother of
all clouds."
- Wired
IaaS PaaS SaaS
Infrastructure-as-a-Service Platform-as-a-Service Software-as-a-Service
Google Cloud Platform
Cloud Computing
IaaS PaaS SaaS
Infrastructure-as-a-Service Platform-as-a-Service Software-as-a-Service
Google
Applications
Data
Runtime
Middleware
O/S
Virtualization
Servers
Storage
Networking
Applications
Data
Runtime
Middleware
O/S
Virtualization
Servers
Storage
Networking
Applications
Data
Runtime
Middleware
O/S
Virtualization
Servers
Storage
Networking
Packaged
Software
Applications
Data
Runtime
Middleware
O/S
Virtualization
Servers
Storage
Networking
Cloud Computing
You Manage Vendor Managed
Storage App ServicesCompute
Cloud Storage
Cloud SQL
Cloud Datastore
Compute Engine
App Engine
BigQuery
Cloud Endpoints
Google Cloud Platform
Mobile Gaming
Big Data
Storage
High Performance Computing Digital Marketing
4 Million active
applications in our cloud
And your application
can be the next!
Dmitry Nefedkin
Google Cloud Solutions Engineer
nda@google.com
No fiddle, efficient development on the
Google Cloud Platform
Bogdan Botea
Lead Developer, Appsbroker Consulting
Vasile Irimia
Google Cloud Platform Developer, Appsbroker Consulting
Appsbroker team
Agenda
■ Google awesome infrastructure - Dmitry
■ Before the clouds
■ Appsflow on App Engine
■ Live coding
■ Q&A
Today’s developers
Flip the focus
Copyright 2014 Google Inc
GAE Architecture And Optmization
Use Case - Real Time Earthquake Monitor
NIED
App Engine
Metrics
collected at
NIED
NIED pushes the
image file to GAE
every second
Clients pulls the
image every two
seconds
● GAE Web App By NIED Japan + Google
o National research Institute for
Earth science and Disaster prev.
o The blinking dots represents real
time Peak Ground Acceleration
● YouTube video How it worked at the
March 11, 2011
earthquake
● 20,000 concurrent users
10,000 reqs/sec at peak
Web Application challenges
● Scalability
● Reliability
● Cost efficiency
Designing for Scale and Reliability
How do I design a web service that
is scalable and reliable like this?
Copyright 2014 Google Inc
GAE Architecture And Optmization
To Build in Traditional Way...
➢ Hardware Failures
➢ Traffic Spike
➢ Growing Big Data
➢ Complex Design
➢ Complex Dev.
➢ Complex Admin
➢ Cost
What About
Copyright 2014 Google Inc
GAE Architecture And Optmization
To Build with Google App Engine
✓ Hardware Failures
✓ Traffic Spike
✓ Growing Big Data
✓ Simpler Design
✓ Simpler Dev
✓ No Admin
✓ No Initial Funding
How About
Agenda (to redesign)
■ Google awesome infrastructure - Dmitry
■ Before the clouds
■ Appsflow on App Engine
■ Live code
■ Q&A
Appsflow
Appsflow - Data model
● HRD Datastore
● Sharding
● Denormalization
Appsflow - HRD Datastore
Datastore RDBMS
Query language
flexibility
SQL-like query language
● Limited to simple filter and sort
Full support of SQL
● Table JOIN
● Flexible filtering
● Subquery
Reliability and
Scalability
Highly scalable and reliable Hard to scale
Appsflow - Service layer
● Business logic & transaction management
● DI
● Task Queue API
● Cron jobs
Appsflow - Task Queue
Use Task Queue API to execute background work
Queue queue = QueueFactory.getQueue("workflow-queue");
queue.add(TaskOptions.Builder.withUrl("/backend/taskqueue").
param("nodeId", node.getKeyAsString()));
Appsflow - Cron jobs
Use Cron jobs to execute periodic tasks
<?xml version="1.0" encoding="UTF-8"?>
<cronentries>
<cron>
<url>/checkworkflows</url>
<description>Periodically check for blocked workflows</description>
<schedule>every day 00:00</schedule>
</cron>
</cronentries>
Appsflow - Cloud Endpoints
● Expose standards based REST interfaces with built in
Authorization
● Use auto-generated, strongly typed, mobile optimized client
libraries for Android, iOS and web.
Appsflow - Memcache
MemchacheService cache = MemcacheServiceFactory.getMemcacheService();
…
User user = cache.get(“accessToken”) ;
if (user != null) {
return user;
} else {
// retrieve user details and update the datastore
cache.put(“accessToken”, user, Expiration.byDeltaSeconds(DURATION_IN_SECONDS));
return user;
}
Snapchat
Delivers 400 million photos a day
Agenda
■ Google awesome infrastructure - Dmitry
■ Before the clouds
■ Appsflow on App Engine
■ Live coding
■ Q&A
$500 in Cloud Platform
credit to launch your idea!
Build. Store. Analyze.
On the same infrastructure
that powers Google
A voucher will be sent to your email
Click ‘Apply Now’ and complete the application with
promo code: codecamp-con
1
2
3
Go to cloud.google.com/starterpack
Start using Cloud Platform now!
4
Create a new Project in Cloud Console,
activate the billing and apply voucher -
http://console.developers.google.
com/billing/redeem
Q&A
Bogdan Botea
bogdan.botea@appsbroker.com

Weitere ähnliche Inhalte

Was ist angesagt?

Cloud-Native Workshop NYC - Leveraging Google Cloud Services with Spring Boot...
Cloud-Native Workshop NYC - Leveraging Google Cloud Services with Spring Boot...Cloud-Native Workshop NYC - Leveraging Google Cloud Services with Spring Boot...
Cloud-Native Workshop NYC - Leveraging Google Cloud Services with Spring Boot...
VMware Tanzu
 

Was ist angesagt? (20)

Cloud-Native Workshop NYC - Leveraging Google Cloud Services with Spring Boot...
Cloud-Native Workshop NYC - Leveraging Google Cloud Services with Spring Boot...Cloud-Native Workshop NYC - Leveraging Google Cloud Services with Spring Boot...
Cloud-Native Workshop NYC - Leveraging Google Cloud Services with Spring Boot...
 
Openbar Kontich // Google Cloud: past, present and the (oh so sweet) future b...
Openbar Kontich // Google Cloud: past, present and the (oh so sweet) future b...Openbar Kontich // Google Cloud: past, present and the (oh so sweet) future b...
Openbar Kontich // Google Cloud: past, present and the (oh so sweet) future b...
 
Google Cloud Platform Introduction - 2016Q3
Google Cloud Platform Introduction - 2016Q3Google Cloud Platform Introduction - 2016Q3
Google Cloud Platform Introduction - 2016Q3
 
Big Data and ML on Google Cloud
Big Data and ML on Google CloudBig Data and ML on Google Cloud
Big Data and ML on Google Cloud
 
Introduction to Google Cloud Platform
Introduction to Google Cloud PlatformIntroduction to Google Cloud Platform
Introduction to Google Cloud Platform
 
Tom Grey - Google Cloud Platform
Tom Grey - Google Cloud PlatformTom Grey - Google Cloud Platform
Tom Grey - Google Cloud Platform
 
Exploiting IAM in GCP
Exploiting IAM in GCPExploiting IAM in GCP
Exploiting IAM in GCP
 
Introduction to GCP presentation
Introduction to GCP presentationIntroduction to GCP presentation
Introduction to GCP presentation
 
Cloud computing overview & Technical intro to Google Cloud
Cloud computing overview & Technical intro to Google CloudCloud computing overview & Technical intro to Google Cloud
Cloud computing overview & Technical intro to Google Cloud
 
StackEngine Demo - Docker Austin
StackEngine Demo - Docker AustinStackEngine Demo - Docker Austin
StackEngine Demo - Docker Austin
 
Google Cloud Platform
Google Cloud PlatformGoogle Cloud Platform
Google Cloud Platform
 
Understanding cloud with Google Cloud Platform
Understanding cloud with Google Cloud PlatformUnderstanding cloud with Google Cloud Platform
Understanding cloud with Google Cloud Platform
 
Google Cloud Storage | Google Cloud Platform Tutorial | Google Cloud Architec...
Google Cloud Storage | Google Cloud Platform Tutorial | Google Cloud Architec...Google Cloud Storage | Google Cloud Platform Tutorial | Google Cloud Architec...
Google Cloud Storage | Google Cloud Platform Tutorial | Google Cloud Architec...
 
Gcp
GcpGcp
Gcp
 
Google cloud platform
Google cloud platformGoogle cloud platform
Google cloud platform
 
Google cloud platform introduction
Google cloud platform introductionGoogle cloud platform introduction
Google cloud platform introduction
 
Machine Learning with GCP
Machine Learning with GCPMachine Learning with GCP
Machine Learning with GCP
 
Neo4j GraphTour New York_ Adobe Presentation_David Fox
Neo4j GraphTour New York_ Adobe Presentation_David FoxNeo4j GraphTour New York_ Adobe Presentation_David Fox
Neo4j GraphTour New York_ Adobe Presentation_David Fox
 
Introduction to Google Cloud Platform
Introduction to Google Cloud PlatformIntroduction to Google Cloud Platform
Introduction to Google Cloud Platform
 
Google Cloud Platform as a Backend Solution for your Product
Google Cloud Platform as a Backend Solution for your ProductGoogle Cloud Platform as a Backend Solution for your Product
Google Cloud Platform as a Backend Solution for your Product
 

Ähnlich wie Bogdan botea, dmitry nefedkin no fiddle, efficient development on the google cloud

!GDSC NYUST Infrastructure and Application Modernization with Google Cloud .pptx
!GDSC NYUST Infrastructure and Application Modernization with Google Cloud .pptx!GDSC NYUST Infrastructure and Application Modernization with Google Cloud .pptx
!GDSC NYUST Infrastructure and Application Modernization with Google Cloud .pptx
GangTingFan
 

Ähnlich wie Bogdan botea, dmitry nefedkin no fiddle, efficient development on the google cloud (20)

Entrepreneurship Tips With HTML5 & App Engine Startup Weekend (June 2012)
Entrepreneurship Tips With HTML5 & App Engine Startup Weekend (June 2012)Entrepreneurship Tips With HTML5 & App Engine Startup Weekend (June 2012)
Entrepreneurship Tips With HTML5 & App Engine Startup Weekend (June 2012)
 
Powerful Google Cloud tools for your hack
Powerful Google Cloud tools for your hackPowerful Google Cloud tools for your hack
Powerful Google Cloud tools for your hack
 
How Google Cloud Platform can help in the classroom/lab
How Google Cloud Platform can help in the classroom/labHow Google Cloud Platform can help in the classroom/lab
How Google Cloud Platform can help in the classroom/lab
 
Deep dive into Google Cloud for Big Data
Deep dive into Google Cloud for Big DataDeep dive into Google Cloud for Big Data
Deep dive into Google Cloud for Big Data
 
Big data on google cloud
Big data on google cloudBig data on google cloud
Big data on google cloud
 
Serverless Computing with Python
Serverless Computing with PythonServerless Computing with Python
Serverless Computing with Python
 
Google Cloud Platform Update
Google Cloud Platform UpdateGoogle Cloud Platform Update
Google Cloud Platform Update
 
[Cloud OnAir] Talks by DevRel Vol.4 データ管理とデータ ベース 2020年8月27日 放送
[Cloud OnAir] Talks by DevRel Vol.4 データ管理とデータ ベース 2020年8月27日 放送[Cloud OnAir] Talks by DevRel Vol.4 データ管理とデータ ベース 2020年8月27日 放送
[Cloud OnAir] Talks by DevRel Vol.4 データ管理とデータ ベース 2020年8月27日 放送
 
Google App Engine for Business 101
Google App Engine for Business 101Google App Engine for Business 101
Google App Engine for Business 101
 
Cloud computing overview & running your code on Google Cloud
Cloud computing overview & running your code on Google CloudCloud computing overview & running your code on Google Cloud
Cloud computing overview & running your code on Google Cloud
 
Google Technical Webinar - Building Mashups with Google Apps and SAP, using S...
Google Technical Webinar - Building Mashups with Google Apps and SAP, using S...Google Technical Webinar - Building Mashups with Google Apps and SAP, using S...
Google Technical Webinar - Building Mashups with Google Apps and SAP, using S...
 
Google Cloud Dataproc - Easier, faster, more cost-effective Spark and Hadoop
Google Cloud Dataproc - Easier, faster, more cost-effective Spark and HadoopGoogle Cloud Dataproc - Easier, faster, more cost-effective Spark and Hadoop
Google Cloud Dataproc - Easier, faster, more cost-effective Spark and Hadoop
 
!GDSC NYUST Infrastructure and Application Modernization with Google Cloud .pptx
!GDSC NYUST Infrastructure and Application Modernization with Google Cloud .pptx!GDSC NYUST Infrastructure and Application Modernization with Google Cloud .pptx
!GDSC NYUST Infrastructure and Application Modernization with Google Cloud .pptx
 
Cloud computing overview & running your code on Google Cloud (Jun 2019)
Cloud computing overview & running your code on Google Cloud (Jun 2019)Cloud computing overview & running your code on Google Cloud (Jun 2019)
Cloud computing overview & running your code on Google Cloud (Jun 2019)
 
Introducing App Engine for Business
Introducing App Engine for BusinessIntroducing App Engine for Business
Introducing App Engine for Business
 
Google Cloud Data Platform - Why Google for Data Analysis?
Google Cloud Data Platform - Why Google for Data Analysis?Google Cloud Data Platform - Why Google for Data Analysis?
Google Cloud Data Platform - Why Google for Data Analysis?
 
Introduction to Google Cloud Platform
Introduction to Google Cloud PlatformIntroduction to Google Cloud Platform
Introduction to Google Cloud Platform
 
Big data in action
Big data in actionBig data in action
Big data in action
 
Using Google Cloud Services with Spring Boot and Pivotal Cloud Foundry (Pivot...
Using Google Cloud Services with Spring Boot and Pivotal Cloud Foundry (Pivot...Using Google Cloud Services with Spring Boot and Pivotal Cloud Foundry (Pivot...
Using Google Cloud Services with Spring Boot and Pivotal Cloud Foundry (Pivot...
 
Integrating Google Cloud Dataproc with Alluxio for faster performance in the ...
Integrating Google Cloud Dataproc with Alluxio for faster performance in the ...Integrating Google Cloud Dataproc with Alluxio for faster performance in the ...
Integrating Google Cloud Dataproc with Alluxio for faster performance in the ...
 

Mehr von Codecamp Romania

Mehr von Codecamp Romania (20)

Cezar chitac the edge of experience
Cezar chitac   the edge of experienceCezar chitac   the edge of experience
Cezar chitac the edge of experience
 
Cloud powered search
Cloud powered searchCloud powered search
Cloud powered search
 
Ccp
CcpCcp
Ccp
 
Business analysis techniques exercise your 6-pack
Business analysis techniques   exercise your 6-packBusiness analysis techniques   exercise your 6-pack
Business analysis techniques exercise your 6-pack
 
Bpm company code camp - configuration or coding with pega
Bpm company   code camp - configuration or coding with pegaBpm company   code camp - configuration or coding with pega
Bpm company code camp - configuration or coding with pega
 
Andrei prisacaru takingtheunitteststothedatabase
Andrei prisacaru takingtheunitteststothedatabaseAndrei prisacaru takingtheunitteststothedatabase
Andrei prisacaru takingtheunitteststothedatabase
 
Agility and life
Agility and lifeAgility and life
Agility and life
 
2015 dan ardelean develop for windows 10
2015 dan ardelean   develop for windows 10 2015 dan ardelean   develop for windows 10
2015 dan ardelean develop for windows 10
 
The bigrewrite
The bigrewriteThe bigrewrite
The bigrewrite
 
The case for continuous delivery
The case for continuous deliveryThe case for continuous delivery
The case for continuous delivery
 
Stefan stolniceanu spritekit, 2 d or not 2d
Stefan stolniceanu   spritekit, 2 d or not 2dStefan stolniceanu   spritekit, 2 d or not 2d
Stefan stolniceanu spritekit, 2 d or not 2d
 
Sizing epics tales from an agile kingdom
Sizing epics   tales from an agile kingdomSizing epics   tales from an agile kingdom
Sizing epics tales from an agile kingdom
 
Scale net apps in aws
Scale net apps in awsScale net apps in aws
Scale net apps in aws
 
Raluca butnaru corina cilibiu the unknown universe of a product and the cer...
Raluca butnaru corina cilibiu   the unknown universe of a product and the cer...Raluca butnaru corina cilibiu   the unknown universe of a product and the cer...
Raluca butnaru corina cilibiu the unknown universe of a product and the cer...
 
Parallel & async processing using tpl dataflow
Parallel & async processing using tpl dataflowParallel & async processing using tpl dataflow
Parallel & async processing using tpl dataflow
 
Material design screen transitions in android
Material design screen transitions in androidMaterial design screen transitions in android
Material design screen transitions in android
 
Kickstart your own freelancing career
Kickstart your own freelancing careerKickstart your own freelancing career
Kickstart your own freelancing career
 
Ionut grecu the soft stuff is the hard stuff. the agile soft skills toolkit
Ionut grecu   the soft stuff is the hard stuff. the agile soft skills toolkitIonut grecu   the soft stuff is the hard stuff. the agile soft skills toolkit
Ionut grecu the soft stuff is the hard stuff. the agile soft skills toolkit
 
Ecma6 in the wild
Ecma6 in the wildEcma6 in the wild
Ecma6 in the wild
 
Diana antohi me against myself or how to fail and move forward
Diana antohi   me against myself  or how to fail  and move forwardDiana antohi   me against myself  or how to fail  and move forward
Diana antohi me against myself or how to fail and move forward
 

Kürzlich hochgeladen

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 

Bogdan botea, dmitry nefedkin no fiddle, efficient development on the google cloud

  • 1. No fiddle, efficient development on the Google Cloud Platform Dmitry Nefedkin Google Cloud Platform Solutions Engineer, Google Bogdan Botea Lead Developer, Appsbroker Consulting
  • 2. ● Founded 7 Years ago, UK based ● Google Reseller, Consultancy, Managed Services & Products ● Google EMEA Partner of the year 2012 ● Worked on some of Google’s most prestigious projects ● UK Premier Apps Reseller, Cloud Platform Service Provider, We are also a Premier Search Reseller ● GEO, GSA, Platform & Apps Certified Who are Appsbroker?
  • 3. Please note that some of the slides have been removed. Please come to our next event to get updated on the latest information about Google for Work and Appsbroker.
  • 4. Agenda ■ Google awesome infrastructure - Dmitry ■ Before the clouds ■ Appsflow on App Engine ■ Live coding ■ Q&A
  • 5.
  • 6. Google confidential | Do not distribute Enrich your work environment. Enable your information workers. Drive innovation. Live in a modern workplace. Why Cloud Computing?
  • 7. Google confidential | Do not distribute Enterprise Cloud Platform market will exceed $22B globally by 2015. 2013
  • 8. IT Trends The decreasing cost of storage enables virtually limitless storage in the cloud. $600 can buy enough storage for the world’s music. (Source: McKinsey Global Institute May 2011) Computing as a utility is now available for easy purchase, provided from massively efficient data centers. (Source: Nicholas Carr, The Big Switch, 2008) The internet allows for a model of real-time access to new innovation, information and applications from a wide range of devices. Affordable Capacity On-demand computing Instant access
  • 9. For the past 16 years, Google has been building out the world’s fastest, most powerful, highest quality cloud infrastructure on the planet.
  • 10. Cloud Platform is built on the same infrastructure that powers Google.
  • 13. 2002 2004 2006 2008 2010 2012 Google Innovations in Software ColossusDremelMapReduce SpannerGFS Big Table
  • 14. Images by Connie Zhou Wired, 'Google Throws Open Doors To Its Top Secret Data Center', October 2012 Google's Platform "[Google's] ability to build, organize, and operate a huge network of servers and fiber-optic cables with an efficiency and speed that rocks physics on its heels. This is what makes Google Google: its physical network, its thousands of fiber miles, and those many thousands of servers that, in aggregate, add up to the mother of all clouds." - Wired
  • 15. IaaS PaaS SaaS Infrastructure-as-a-Service Platform-as-a-Service Software-as-a-Service Google Cloud Platform Cloud Computing
  • 16. IaaS PaaS SaaS Infrastructure-as-a-Service Platform-as-a-Service Software-as-a-Service Google Applications Data Runtime Middleware O/S Virtualization Servers Storage Networking Applications Data Runtime Middleware O/S Virtualization Servers Storage Networking Applications Data Runtime Middleware O/S Virtualization Servers Storage Networking Packaged Software Applications Data Runtime Middleware O/S Virtualization Servers Storage Networking Cloud Computing You Manage Vendor Managed
  • 17. Storage App ServicesCompute Cloud Storage Cloud SQL Cloud Datastore Compute Engine App Engine BigQuery Cloud Endpoints Google Cloud Platform
  • 18. Mobile Gaming Big Data Storage High Performance Computing Digital Marketing
  • 20. And your application can be the next! Dmitry Nefedkin Google Cloud Solutions Engineer nda@google.com
  • 21. No fiddle, efficient development on the Google Cloud Platform Bogdan Botea Lead Developer, Appsbroker Consulting Vasile Irimia Google Cloud Platform Developer, Appsbroker Consulting
  • 23. Agenda ■ Google awesome infrastructure - Dmitry ■ Before the clouds ■ Appsflow on App Engine ■ Live coding ■ Q&A
  • 26. Copyright 2014 Google Inc GAE Architecture And Optmization Use Case - Real Time Earthquake Monitor NIED App Engine Metrics collected at NIED NIED pushes the image file to GAE every second Clients pulls the image every two seconds ● GAE Web App By NIED Japan + Google o National research Institute for Earth science and Disaster prev. o The blinking dots represents real time Peak Ground Acceleration ● YouTube video How it worked at the March 11, 2011 earthquake ● 20,000 concurrent users 10,000 reqs/sec at peak
  • 27. Web Application challenges ● Scalability ● Reliability ● Cost efficiency Designing for Scale and Reliability How do I design a web service that is scalable and reliable like this?
  • 28. Copyright 2014 Google Inc GAE Architecture And Optmization To Build in Traditional Way... ➢ Hardware Failures ➢ Traffic Spike ➢ Growing Big Data ➢ Complex Design ➢ Complex Dev. ➢ Complex Admin ➢ Cost What About
  • 29. Copyright 2014 Google Inc GAE Architecture And Optmization To Build with Google App Engine ✓ Hardware Failures ✓ Traffic Spike ✓ Growing Big Data ✓ Simpler Design ✓ Simpler Dev ✓ No Admin ✓ No Initial Funding How About
  • 30. Agenda (to redesign) ■ Google awesome infrastructure - Dmitry ■ Before the clouds ■ Appsflow on App Engine ■ Live code ■ Q&A
  • 32. Appsflow - Data model ● HRD Datastore ● Sharding ● Denormalization
  • 33. Appsflow - HRD Datastore Datastore RDBMS Query language flexibility SQL-like query language ● Limited to simple filter and sort Full support of SQL ● Table JOIN ● Flexible filtering ● Subquery Reliability and Scalability Highly scalable and reliable Hard to scale
  • 34. Appsflow - Service layer ● Business logic & transaction management ● DI ● Task Queue API ● Cron jobs
  • 35. Appsflow - Task Queue Use Task Queue API to execute background work Queue queue = QueueFactory.getQueue("workflow-queue"); queue.add(TaskOptions.Builder.withUrl("/backend/taskqueue"). param("nodeId", node.getKeyAsString()));
  • 36. Appsflow - Cron jobs Use Cron jobs to execute periodic tasks <?xml version="1.0" encoding="UTF-8"?> <cronentries> <cron> <url>/checkworkflows</url> <description>Periodically check for blocked workflows</description> <schedule>every day 00:00</schedule> </cron> </cronentries>
  • 37. Appsflow - Cloud Endpoints ● Expose standards based REST interfaces with built in Authorization ● Use auto-generated, strongly typed, mobile optimized client libraries for Android, iOS and web.
  • 38. Appsflow - Memcache MemchacheService cache = MemcacheServiceFactory.getMemcacheService(); … User user = cache.get(“accessToken”) ; if (user != null) { return user; } else { // retrieve user details and update the datastore cache.put(“accessToken”, user, Expiration.byDeltaSeconds(DURATION_IN_SECONDS)); return user; }
  • 40. Agenda ■ Google awesome infrastructure - Dmitry ■ Before the clouds ■ Appsflow on App Engine ■ Live coding ■ Q&A
  • 41. $500 in Cloud Platform credit to launch your idea! Build. Store. Analyze. On the same infrastructure that powers Google A voucher will be sent to your email Click ‘Apply Now’ and complete the application with promo code: codecamp-con 1 2 3 Go to cloud.google.com/starterpack Start using Cloud Platform now! 4 Create a new Project in Cloud Console, activate the billing and apply voucher - http://console.developers.google. com/billing/redeem