3. Brief
• 本書はPaaSと呼称される概要説明として、それを
声高に提唱するリーディングカンパニーでもある
Salesforce社が提供するCRMサービスをカスタマ
イズするために存在するForce.comに代表される
それら範疇を御紹介します。興味を持つ方へ、と
ある見解を説き、各々の理解を導く架け橋となる
べく無心しております。個々の特徴を把握するこ
とで適用の取り舵を相応しい方向へ促すものと
なることを意図しており、それを期待しています。
• 但し、時折脱線します。
3
WHERE THE CLOUD THINGS ARE
7. Web 2.0 Brought Any
• Long Tail, Mash-up, Folksonomy, Wisdom
of Crowds
– The Web As Platform
– Data is the Next Intel Inside
– End of the Software Release Cycle
– Services, not packaged software, with cost-
effective scalability
– The Perpetual Beta
7
WHERE THE CLOUD THINGS ARE
22. PaaS
• Web 2.0 spawn SaaS and Cloud
– Software as a Service
– Services, not packaged software, with cost-
effective scalability
• PaaS belongs Web 2.5
– Platform as a Service
– Data is the Next Intel Inside
– Salesforce.com jump start the PaaS
22
WHERE THE CLOUD THINGS ARE
23. PaaS Providers
• Caspio, Inc : Caspio (pre-built applications)
• Express Dynamics. : WorkXpress (PHP, MySQL)
• Google : Google App Engine (Python, Java)
• Heroku : Heroku (Ruby on Rails)
• Intuit Inc. : QuickBase (on-line database)
• Microsoft : Windows Azure Platform (.NET)
• Rollbase, Inc. : Rollbase (pre-built applications)
• Salesforce.com : Force.com (Visualforce, Apex)
• Wolf Frameworks : Wolf Frameworks (.NET)
23
WHERE THE CLOUD THINGS ARE
24. The Points of PaaS
• Data Store Function
– Data Access Interface, also Database Impl.
• Development Environments, Frameworks
• Restriction
– Some limits or quotas for Multi-tenancy.
• Authentication
– Authorization, access control, …
• Parallel Processing
– Functional Programming Language, …
24
WHERE THE CLOUD THINGS ARE
25. MAJOR INSTANCES AS PAAS
SALESFORCE, GOOGLE, MICROSOFT AND AMAZON
November 09, 2009
35. Development
• Visualforce (Force.com pages)
– Specific Mark-up Tags. (like JSP/JSF)
– View (MVC), Web Pages
• Apex (Force.com code)
– Specific language, scripts. (like Java)
– Controller (MVC), (Database) Trigger, and
Some Logic.
– Interpreter on VM (VM on VM)
35
WHERE THE CLOUD THINGS ARE
40. Development Environment
• Force.com Builder
– Need just Browser.
• Visualforce Page Editor
– Need just Browser.
• Eclipse
– Europa (3.3), Ganymede (3.4)
– Force.com IDE
• Subversion, Ant, Firebug, etc…
40
WHERE THE CLOUD THINGS ARE
41. Data Store
• Database Services
– Un-reveal Impl. (special tuned RDBMS.)
– sObject (Salesforce Object)
• Specific OR-mapping (surmise)
– DML statement (insert, update, upsert, delete)
– SOQL (Salesforce Object Query Language)
• Like SQL
– SOSL (Salesforce Object Search Language)
• Like Find sentence.
41
WHERE THE CLOUD THINGS ARE
42. Force.com Elements
• Database Services
• Visualforce
• Apex
• Application Framework
• Web Services API
• Packaging
42
WHERE THE CLOUD THINGS ARE
43. Data Integration
• Web Services API
• Salesforce provides
– Apex Data Loader, AppExchange
• 3rd party tools
– ODBC driver, EAI/ETL tools, …
• Related Services
– Sky on Demand, …
43
WHERE THE CLOUD THINGS ARE
44. Essential Force.com
• Customization Framework
– for Salesforce CRM Application
• Governor limits for multi-tenancy.
• And also Salesforce.com loves Google.
– Google Salesforce alliance.
– it is a one-sided love…
– Zoho rage against Salesforce
– Microsoft, the Behind.
44
WHERE THE CLOUD THINGS ARE
49. Development
• Python (2.5), the Django framework
• Java (Java 5 and Java 6)
• JVM
– Groovy, Scala (Functional Programming
Language), Rhino (JavaScript), Quercus (PHP),
Clojure (LISP), Jython (Python), JRuby (Ruby)
• Java Servlet
– Java Servlet 2.5, JavaServer Pages (JSP) 2.1
49
WHERE THE CLOUD THINGS ARE
50. Development Environment
GAE/J
• JDK
– Java Developers Kit
• Eclipse
– Europa (3.3), Ganymede (3.4), Galileo (3.5)
– Google Plug-in for Eclipse
• Google App Engine Java SDK
• Subversion, Ant, …
50
WHERE THE CLOUD THINGS ARE
51. Data Store
• Datastore also known as “BigTable”
– Data Store as Key and Value
– BigTable On GFS (Google File System)
– GQL (Google Query Language) with Python
• JDO/JPA
– Java Data Object (JDO) 2.3, Java Persistence API
(JPA) 1.0
– DataNucleus Access Platform
– JDOQL (JDO Query Language)
51
WHERE THE CLOUD THINGS ARE
52. Features
• Specific Java APIs
– The Memcache Java API, The URL Fetch Java
API, The Mail Java API, The XMPP Java API,
The Images Java API, The Google Accounts
Java API, The Task Queue Java API
• Google Web Toolkit (GWT), Tapestry,
BlazeDS, …
• User Authentication (Google Accounts)
52
WHERE THE CLOUD THINGS ARE
53. Essential GAE/J
• For Web Application Only.
– Just web application framework layers.
• Java, JVM, Java Servlet, WAR, …
– Can uses your Java libraries (except JNI).
– Can build ordinary your web application.
(except JDBC).
• Google is monstrous vendor.
– Do it Google-self.
53
WHERE THE CLOUD THINGS ARE
56. Availability Timeframe
• Release until end of 2009.
– Steve Ballmer, Microsoft CEO
• The Announcement will be at Microsoft PDC09
– The Professional Developers Conference
– November 17 - 19, 2009
– http://microsoftpdc.com/
• Production release at Jan, 2010.
– Billing release at Feb, 2010.
56
WHERE THE CLOUD THINGS ARE
59. AppFabric
• AppFabric
– Fabric Controller + .NET Services, memcached.
• Web Role, Worker Role, VM Role (Raw VM).
• Web Role
– Application Server
– Windows Server 2008+IIS+ASP.NET Runtime + Fabric Agent
• Worker Role
– Batch or Heavy Calculation processing
• Windows Azure OS (Red Dog)
– Windows Server 2008 R2 (, Windows Vista, ) …
– Custom-made Hyper-V (Windows Azure VM)
59
WHERE THE CLOUD THINGS ARE
61. Development
• .NET
– .NET Framework, ASP.NET
– Visual Basic, C/C++, C#, F#
– Python, Ruby, PHP, Java …
• NO CLR(Common Language Runtime) with SQL
Azure
– Silverlight 4
61
WHERE THE CLOUD THINGS ARE
62. Development Environment
• Windows Server 2008 (Windows Vista)
• .NET Framework 3.5
• IIS 7.0
– ASP.NET, CGI, HTTP Activation
• Microsoft SQL Server 2008 (2005)
• Visual Studio 2008 (2010), Eclipse
• Azure SDK
• Windows Live Platform
– Live ID, Authentication
62
WHERE THE CLOUD THINGS ARE
63. Data Store
• Azure Storage
– Key, Value Store. Blob, Table, Queue
– ACE model (Authority/Container/Entity)
– Before : SQL Server Data Services (SDS)
– ADO.NET (ActiveX Data Objects .NET
Framework)
– LINQ (Language-INtegrated Query), …
63
WHERE THE CLOUD THINGS ARE
64. Relational Data Store
• SQL Azure
– RDB model (Relational DataBase)
– Microsoft SQL Server
– SQL
• Huton (code name)
– Data Sync between SQL Azure and SQL Server
64
WHERE THE CLOUD THINGS ARE
65. Essential Azure
• For Microsoft Windows Application.
– Used advantage that entered the market late.
– Own On-premise products move to Cloud Services.
• Adjoining land
– AppFabric connected on-premise and cloud services.
– Windows Server 2008, Windows Azure
– Microsoft SQL Server, SQL Azure
• Sidewinders
– Microsoft Dynamic CRM Online v.s. Salesforce CRM
– Microsoft xRM v.s. Force.com
– Act as a Brake on Google’s plan.
• Monopoly on Platform.
– Office tools too.
65
WHERE THE CLOUD THINGS ARE
68. Data Store
• Amazon Simple DB
– Cloud Data Store Service
– Key, Value Store.
68
WHERE THE CLOUD THINGS ARE
69. Relational Data Store
• Amazon Relational Database Service (RDS)
– Relational Data Store Service
– MySQL base. (full-featured)
69
WHERE THE CLOUD THINGS ARE
70. Storage Service
• Amazon Simple Storage Service (Amazon
S3)
– Storage Service
– File base.
70
WHERE THE CLOUD THINGS ARE
74. The world's #1 sales application
• And best of all, because it's all in the cloud,
there’s no need for expensive hardware or
software. No wonder 63,200 companies
have made the Sales Cloud the world's
most-popular sales application.
74
WHERE THE CLOUD THINGS ARE
75. CRM on SaaS
• Oracle CRM on Demand
– Siebel CRM On Demand
– http://crmondemand.oracle.com/en/index.htm
• Microsoft Dynamics CRM Online
– xRM Application Services
– http://crm.dynamics.com/
• NetSuite CRM+
– http://www.netsuite.com/portal/home.shtml
75
WHERE THE CLOUD THINGS ARE
81. Pricing Salesforce
• Salesforce CRM
–…
– Enterprise Edition (EE) $125/user/month
– Unlimited Edition (UE) $250/user/month
• Force.com
– Free edition
– Enterprise Edition (EE) $50/user/month
– Unlimited Edition (UE) $75/user/month
• Options
81
WHERE THE CLOUD THINGS ARE
82. Pricing GAE
• The cost for computing
resources is as follows:
–Resource Unit Unit Cost
– Outgoing Bandwidth gigabytes $0.12
– Incoming Bandwidth gigabytes $0.10
– CPU Time CPU hours $0.10
– Stored Data gigabytes per month $0.15
– Recipients Emailed recipients
$0.0001
82
WHERE THE CLOUD THINGS ARE
83. Pricing Windows Azure
• Consumption-based outline
– Compute = $0.12 / hour
– Storage = $0.15 / GB stored / month
– Storage Transactions = $0.01 / 10K
– Bandwidth = $0.10 in / $0.15 out / GB
83
WHERE THE CLOUD THINGS ARE
84. Pricing SQL Azure
• Web Edition:
– Up to 1 GB relational database = $9.99 / month
• Business Edition:
– Up to 10 GB relational database = $99.99 / month
• Bandwidth
– = $0.10 in / $0.15 out / GB
84
WHERE THE CLOUD THINGS ARE
85. Pricing Amazon S3
• Storage:
– $0.150 per GB - first 50 TB / month of storage used.
• Data Transfer:
– $0.100 per GB - all data transfer in
– $0.170 per GB - first 10 TB / month data transfer
out.
• Requests:
– $0.01 per 1,000 PUT, COPY, POST, or LIST requests.
$0.01 per 10,000 GET and all other requests.
85
WHERE THE CLOUD THINGS ARE
86. You may care about
• Actual results, achievements.
• Service Credits
• Service Level Agreement (SLA)
• What is a unit for charge?
• What is measuring for charge?
86
WHERE THE CLOUD THINGS ARE
89. PaaS
• Caspio
– http://www.caspio.com/
• WorkXpress
– http://www.workxpress.com/
• Google App Engine
– http://code.google.com/appengine/
• Heroku
– http://heroku.com/
• QuickBase
– http://quickbase.intuit.com/
89
WHERE THE CLOUD THINGS ARE
90. PaaS
• Windows Azure Platform
– http://www.microsoft.com/windowsazure/
• Rollbase
– http://www.rollbase.com/
• Force.com
– http://www.salesforce.com/platform/
• Wolf Frameworks
– http://wolfframeworks.com/
90
WHERE THE CLOUD THINGS ARE
91. Google IO
• From Spark Plug to Drive Train:Life of an App
Engine Request
– http://dl.google.com/io/2009/pres/W_1115_From_Spark_Plug_
To_Drive_Train_Life_of_an_App_Engine_Request.pdf
– Alon Levi [05/27/09]
91
WHERE THE CLOUD THINGS ARE
92. Windows Azure Platform
• Introducing Windows Azure
– http://download.microsoft.com/download/0/F/A/0FA924AE-
DA08-45B8-8F96-
76884B8D15F8/Windows_Azure_David_Chappell_White_Pap
er_March_09.pdf
– David Chappell [Mar 2009]
92
WHERE THE CLOUD THINGS ARE
93. Salesforce
• Salesforce.com
– http://www.salesforce.com/jp/
• Salesfoce CRM
– http://www.salesforce.com/jp/crm/products.jsp
• Force.com Platform
– http://www.salesforce.com/jp/platform/
• developerforce
– http://developer.salesforce.co.jp/
93
WHERE THE CLOUD THINGS ARE
94. Topics
• The Efficient Cloud: All Of Salesforce Runs On
Only 1,000 Servers
– http://www.techcrunch.com/2009/03/23/the-efficient-cloud-all-
of-salesforce-runs-on-only-1000-servers/
– Erick Schonfeld [2009/03/29]
94
WHERE THE CLOUD THINGS ARE
95. WHERE THE WILD THINGS ARE
THIS IS THE END. November 09, 2009