SlideShare uma empresa Scribd logo
1 de 32
Baixar para ler offline
Developer’s Meetup #8
   at Tokyo, Japan
                        □◇○
                         Heroku Update
                             Ayumu Aizawa
                                    ayumin
                        Developer Marketing, Heroku, Inc.
                                  4th Apr, 2013
『HerokuではじめるRailsプログラミング入門』
     www.amazon.co.jp/dp/4797371838
Safe harbor

Safe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking
statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions
proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-
looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any
projections of subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of
management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or
technology developments and customer contracts or use of our services.

The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new
functionality for our service, our new business model, our past operating losses, possible fluctuations in our operating results and
rate of growth, interruptions or delays in our Web hosting, breach of our security measures, risks associated with possible mergers
and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and
motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited
history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on
potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the
most recent fiscal quarter ended July 31, 2011. This document and others are available on the SEC Filings section of the Investor
Information section of our Web site.

Any unreleased services or features referenced in this or other press releases or public statements are not currently available and
may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon
features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-
looking statements.
Heroku Postgres
Postgres 9.2
            now default
heroku addons:add heroku-postgresql:dev
            --version=9.2
New features
          Index-only scan
 Streaming replication improvement
           JSON datatype
             Range Type
http://wiki.postgresql.org/wiki/What's_new_in_PostgreSQL_9.2
Double Memory
2X Dyno available (beta)
                        heroku ps:resize web=2X
                    https://devcenter.heroku.com/articles/dyno-size



- vertical scale approach
- able to deploy more big Apps (e.g. Java)
- able to run more # of thread (e.g. unicorn, Puma)
Java heap size



$ cat Procfile
web: java -Xmx1024m -cp target/classes:target/dependency/* HelloWorld
heroku beta program
   beta.heroku.com
Identity
Heroku OAuth
  (experimental)
OAuth Specification
OAuth1.0 - RFC5840 / OAuth2.0 - RFC 6749
Create OAuthClient
                  note: You can NOT create OAuthClient yet, this is under development



$ curl -i -n -X POST 
> -d "client[name]=oauth-sample&client[redirect_uri]=http://localhost:5000/
auth/heroku/callback" 
> https://api.heroku.com/oauth/clients
HTTP/1.1 201 Created
...
{
   "id":"cafaa8bcbd7a900023bfb70d",
   "name":"oauth-sample",
   "description":null,
   "redirect_uri":"http://localhost:5000/auth/heroku/callback",
   "secret":"368b70ff11389ebb73634c8b5860827a4a9dc10fc6db0e05",
   "trusted":false
}
heroku-bouncer
   heroku/heroku-bouncer
※bouncer : 用心棒
Consumer App

$ cat .env                     $ cat config.ru
HEROKU_OAUTH_ID=cafaa8bc...    require 'heroku/bouncer'
HEROKU_OAUTH_SECRET=368b7...   require './app'

                               use Heroku::Bouncer, expose_token: true
$ cat Gemfile                   run App
source :rubygems
gem 'heroku-bouncer'
gem 'heroku-api'
gem 'sinatra'                  $ cat Procfile
gem 'thin'                     web: bundle exec thin start -p $PORT
request.env

$ cat app.rb
require 'heroku-api'
class App < Sinatra::Base
 get '/' do
  api = Heroku::API.new(:api_key => request.env["bouncer.token"])
  apps = api.get_apps.body
  “You have #{apps.size} app(s).”
 end
end
ayumin-oauth-sample.com

  bit.ly/10vn3kY
ayumin-oauth-sample.com
ayumin/heroku-oauth-sample
Conclusion




  Heroku Postgres came more better !
2X Dyno improves to apps performance !!
   Heroku id becomes more social !!!
Conclusion(cont.)




Follow @herokujp on twitter!
Like! facebook.com/herokujp!
   Buy Heroku book now!
Thank you!




 www.heroku.com

Mais conteúdo relacionado

Semelhante a Heroku Update

Visualforce: Using ActionFunction vs. RemoteAction
Visualforce: Using ActionFunction vs. RemoteActionVisualforce: Using ActionFunction vs. RemoteAction
Visualforce: Using ActionFunction vs. RemoteAction
Salesforce Developers
 
Java Tech & Tools | Deploying Java & Play Framework Apps to the Cloud | Sande...
Java Tech & Tools | Deploying Java & Play Framework Apps to the Cloud | Sande...Java Tech & Tools | Deploying Java & Play Framework Apps to the Cloud | Sande...
Java Tech & Tools | Deploying Java & Play Framework Apps to the Cloud | Sande...
JAX London
 
Heroku for-team-collaboration
Heroku for-team-collaborationHeroku for-team-collaboration
Heroku for-team-collaboration
John Stevenson
 
Spring '14 Release Developer Preview Webinar
Spring '14 Release Developer Preview WebinarSpring '14 Release Developer Preview Webinar
Spring '14 Release Developer Preview Webinar
Salesforce Developers
 

Semelhante a Heroku Update (20)

Heroku
Heroku Heroku
Heroku
 
Introduction to Heroku
Introduction to HerokuIntroduction to Heroku
Introduction to Heroku
 
Visualforce: Using ActionFunction vs. RemoteAction
Visualforce: Using ActionFunction vs. RemoteActionVisualforce: Using ActionFunction vs. RemoteAction
Visualforce: Using ActionFunction vs. RemoteAction
 
Java Tech & Tools | Deploying Java & Play Framework Apps to the Cloud | Sande...
Java Tech & Tools | Deploying Java & Play Framework Apps to the Cloud | Sande...Java Tech & Tools | Deploying Java & Play Framework Apps to the Cloud | Sande...
Java Tech & Tools | Deploying Java & Play Framework Apps to the Cloud | Sande...
 
Heroku Introduction
Heroku IntroductionHeroku Introduction
Heroku Introduction
 
Heroku for-team-collaboration
Heroku for-team-collaborationHeroku for-team-collaboration
Heroku for-team-collaboration
 
Heroku for team collaboration
Heroku for team collaborationHeroku for team collaboration
Heroku for team collaboration
 
Using Python on Heroku and Force.com Canvas to Enhance Salesforce.com
Using Python on Heroku and Force.com Canvas to Enhance Salesforce.comUsing Python on Heroku and Force.com Canvas to Enhance Salesforce.com
Using Python on Heroku and Force.com Canvas to Enhance Salesforce.com
 
Developing Offline Mobile Apps with Salesforce Mobile SDK SmartStore
Developing Offline Mobile Apps with Salesforce Mobile SDK SmartStoreDeveloping Offline Mobile Apps with Salesforce Mobile SDK SmartStore
Developing Offline Mobile Apps with Salesforce Mobile SDK SmartStore
 
Salesforce platform session 2
 Salesforce platform session 2 Salesforce platform session 2
Salesforce platform session 2
 
Introduction to Heroku
Introduction to HerokuIntroduction to Heroku
Introduction to Heroku
 
Heroku in Japan
Heroku in JapanHeroku in Japan
Heroku in Japan
 
Spring '14 Release Developer Preview Webinar
Spring '14 Release Developer Preview WebinarSpring '14 Release Developer Preview Webinar
Spring '14 Release Developer Preview Webinar
 
Hands-on Workshop: Intermediate Development with Heroku and Force.com
Hands-on Workshop: Intermediate Development with Heroku and Force.comHands-on Workshop: Intermediate Development with Heroku and Force.com
Hands-on Workshop: Intermediate Development with Heroku and Force.com
 
Making External Web Pages Interact With Visualforce
Making External Web Pages Interact With VisualforceMaking External Web Pages Interact With Visualforce
Making External Web Pages Interact With Visualforce
 
Lightning Component - Components, Actions and Events
Lightning Component - Components, Actions and EventsLightning Component - Components, Actions and Events
Lightning Component - Components, Actions and Events
 
How Force.com developers do more in less time
How Force.com developers do more in less timeHow Force.com developers do more in less time
How Force.com developers do more in less time
 
Dreamforce 13 developer session: Introduction to Heroku
Dreamforce 13 developer session: Introduction to HerokuDreamforce 13 developer session: Introduction to Heroku
Dreamforce 13 developer session: Introduction to Heroku
 
Best Practices for Creating Scalable Apps with Heroku
Best Practices for Creating Scalable Apps with HerokuBest Practices for Creating Scalable Apps with Heroku
Best Practices for Creating Scalable Apps with Heroku
 
JavaScript Integration with Visualforce
JavaScript Integration with VisualforceJavaScript Integration with Visualforce
JavaScript Integration with Visualforce
 

Mais de Ayumu Aizawa

PaaSに適したアプリケーション設計 がもたらすメリット
PaaSに適したアプリケーション設計がもたらすメリットPaaSに適したアプリケーション設計がもたらすメリット
PaaSに適したアプリケーション設計 がもたらすメリット
Ayumu Aizawa
 
Heroku - Forget Servers!!
Heroku - Forget Servers!!Heroku - Forget Servers!!
Heroku - Forget Servers!!
Ayumu Aizawa
 
Heroku Getting Started
Heroku Getting StartedHeroku Getting Started
Heroku Getting Started
Ayumu Aizawa
 
カスタムアプリケーションプラットフォーム Salesforce Heroku ~ ソーシャルアプリケーションを支える技術 ~
カスタムアプリケーションプラットフォーム Salesforce Heroku~ ソーシャルアプリケーションを支える技術 ~カスタムアプリケーションプラットフォーム Salesforce Heroku~ ソーシャルアプリケーションを支える技術 ~
カスタムアプリケーションプラットフォーム Salesforce Heroku ~ ソーシャルアプリケーションを支える技術 ~
Ayumu Aizawa
 
(Ruby + Agile) x Cloud = Like!
(Ruby + Agile) x Cloud = Like!(Ruby + Agile) x Cloud = Like!
(Ruby + Agile) x Cloud = Like!
Ayumu Aizawa
 
Herokuのご紹介
Herokuのご紹介Herokuのご紹介
Herokuのご紹介
Ayumu Aizawa
 
SIerのなかのRubyistが書くべき成果物の具体例
SIerのなかのRubyistが書くべき成果物の具体例SIerのなかのRubyistが書くべき成果物の具体例
SIerのなかのRubyistが書くべき成果物の具体例
Ayumu Aizawa
 
Issues of Rubyists
Issues of RubyistsIssues of Rubyists
Issues of Rubyists
Ayumu Aizawa
 
もしRubyistがドラッガーの『マネジメント』を読んだら
もしRubyistがドラッガーの『マネジメント』を読んだらもしRubyistがドラッガーの『マネジメント』を読んだら
もしRubyistがドラッガーの『マネジメント』を読んだら
Ayumu Aizawa
 

Mais de Ayumu Aizawa (20)

Introducing Fn Project
Introducing Fn ProjectIntroducing Fn Project
Introducing Fn Project
 
Heroku HTTP API Design Guide
Heroku HTTP API Design GuideHeroku HTTP API Design Guide
Heroku HTTP API Design Guide
 
PaaSに適したアプリケーション設計 がもたらすメリット
PaaSに適したアプリケーション設計がもたらすメリットPaaSに適したアプリケーション設計がもたらすメリット
PaaSに適したアプリケーション設計 がもたらすメリット
 
Heroku
HerokuHeroku
Heroku
 
Heroku Changelog in 2013
Heroku Changelog in 2013Heroku Changelog in 2013
Heroku Changelog in 2013
 
Connected Products
Connected ProductsConnected Products
Connected Products
 
Heroku - Forget Servers!!
Heroku - Forget Servers!!Heroku - Forget Servers!!
Heroku - Forget Servers!!
 
Heroku Getting Started
Heroku Getting StartedHeroku Getting Started
Heroku Getting Started
 
Heroku Postgres
Heroku PostgresHeroku Postgres
Heroku Postgres
 
Using Ruby2.0 on Heroku
Using Ruby2.0 on HerokuUsing Ruby2.0 on Heroku
Using Ruby2.0 on Heroku
 
Enterprise Heroku for Java
Enterprise Heroku for JavaEnterprise Heroku for Java
Enterprise Heroku for Java
 
カスタムアプリケーションプラットフォーム Salesforce Heroku ~ ソーシャルアプリケーションを支える技術 ~
カスタムアプリケーションプラットフォーム Salesforce Heroku~ ソーシャルアプリケーションを支える技術 ~カスタムアプリケーションプラットフォーム Salesforce Heroku~ ソーシャルアプリケーションを支える技術 ~
カスタムアプリケーションプラットフォーム Salesforce Heroku ~ ソーシャルアプリケーションを支える技術 ~
 
Herokuのご紹介
Herokuのご紹介Herokuのご紹介
Herokuのご紹介
 
(Ruby + Agile) x Cloud = Like!
(Ruby + Agile) x Cloud = Like!(Ruby + Agile) x Cloud = Like!
(Ruby + Agile) x Cloud = Like!
 
Herokuのご紹介
Herokuのご紹介Herokuのご紹介
Herokuのご紹介
 
Building scalablewebapps
Building scalablewebappsBuilding scalablewebapps
Building scalablewebapps
 
Ruby コミュニティの文化に学ぶエンタープライズシステム開発の処方箋
Ruby コミュニティの文化に学ぶエンタープライズシステム開発の処方箋Ruby コミュニティの文化に学ぶエンタープライズシステム開発の処方箋
Ruby コミュニティの文化に学ぶエンタープライズシステム開発の処方箋
 
SIerのなかのRubyistが書くべき成果物の具体例
SIerのなかのRubyistが書くべき成果物の具体例SIerのなかのRubyistが書くべき成果物の具体例
SIerのなかのRubyistが書くべき成果物の具体例
 
Issues of Rubyists
Issues of RubyistsIssues of Rubyists
Issues of Rubyists
 
もしRubyistがドラッガーの『マネジメント』を読んだら
もしRubyistがドラッガーの『マネジメント』を読んだらもしRubyistがドラッガーの『マネジメント』を読んだら
もしRubyistがドラッガーの『マネジメント』を読んだら
 

Último

Último (20)

UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2
 
Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering Teams
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at Comcast
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
Buy Epson EcoTank L3210 Colour Printer Online.pptx
Buy Epson EcoTank L3210 Colour Printer Online.pptxBuy Epson EcoTank L3210 Colour Printer Online.pptx
Buy Epson EcoTank L3210 Colour Printer Online.pptx
 

Heroku Update

  • 1. Developer’s Meetup #8 at Tokyo, Japan □◇○ Heroku Update Ayumu Aizawa ayumin Developer Marketing, Heroku, Inc. 4th Apr, 2013
  • 3. Safe harbor Safe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward- looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, risks associated with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal quarter ended July 31, 2011. This document and others are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward- looking statements.
  • 4.
  • 5.
  • 7. Postgres 9.2 now default heroku addons:add heroku-postgresql:dev --version=9.2
  • 8. New features Index-only scan Streaming replication improvement JSON datatype Range Type http://wiki.postgresql.org/wiki/What's_new_in_PostgreSQL_9.2
  • 9.
  • 11. 2X Dyno available (beta) heroku ps:resize web=2X https://devcenter.heroku.com/articles/dyno-size - vertical scale approach - able to deploy more big Apps (e.g. Java) - able to run more # of thread (e.g. unicorn, Puma)
  • 12.
  • 13. Java heap size $ cat Procfile web: java -Xmx1024m -cp target/classes:target/dependency/* HelloWorld
  • 14. heroku beta program beta.heroku.com
  • 15.
  • 17.
  • 18. Heroku OAuth (experimental)
  • 19. OAuth Specification OAuth1.0 - RFC5840 / OAuth2.0 - RFC 6749
  • 20. Create OAuthClient note: You can NOT create OAuthClient yet, this is under development $ curl -i -n -X POST > -d "client[name]=oauth-sample&client[redirect_uri]=http://localhost:5000/ auth/heroku/callback" > https://api.heroku.com/oauth/clients HTTP/1.1 201 Created ... { "id":"cafaa8bcbd7a900023bfb70d", "name":"oauth-sample", "description":null, "redirect_uri":"http://localhost:5000/auth/heroku/callback", "secret":"368b70ff11389ebb73634c8b5860827a4a9dc10fc6db0e05", "trusted":false }
  • 21. heroku-bouncer heroku/heroku-bouncer ※bouncer : 用心棒
  • 22. Consumer App $ cat .env $ cat config.ru HEROKU_OAUTH_ID=cafaa8bc... require 'heroku/bouncer' HEROKU_OAUTH_SECRET=368b7... require './app' use Heroku::Bouncer, expose_token: true $ cat Gemfile run App source :rubygems gem 'heroku-bouncer' gem 'heroku-api' gem 'sinatra' $ cat Procfile gem 'thin' web: bundle exec thin start -p $PORT
  • 23. request.env $ cat app.rb require 'heroku-api' class App < Sinatra::Base get '/' do api = Heroku::API.new(:api_key => request.env["bouncer.token"]) apps = api.get_apps.body “You have #{apps.size} app(s).” end end
  • 26.
  • 27.
  • 28.
  • 30. Conclusion Heroku Postgres came more better ! 2X Dyno improves to apps performance !! Heroku id becomes more social !!!
  • 31. Conclusion(cont.) Follow @herokujp on twitter! Like! facebook.com/herokujp! Buy Heroku book now!