Download - Microsoft and PHP at CakeFest 2010
![Page 1: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/1.jpg)
Microsoft and PHP
@joshholmes
![Page 3: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/3.jpg)
![Page 4: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/4.jpg)
![Page 5: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/5.jpg)
![Page 6: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/6.jpg)
![Page 7: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/7.jpg)
![Page 8: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/8.jpg)
![Page 9: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/9.jpg)
![Page 10: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/10.jpg)
![Page 11: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/11.jpg)
![Page 12: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/12.jpg)
![Page 13: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/13.jpg)
![Page 14: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/14.jpg)
![Page 15: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/15.jpg)
![Page 16: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/16.jpg)
![Page 18: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/18.jpg)
![Page 19: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/19.jpg)
![Page 21: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/21.jpg)
![Page 22: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/22.jpg)
![Page 23: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/23.jpg)
excited about the cloud
![Page 24: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/24.jpg)
In House or Hosted Servers
TIME
IT C
APA
CIT
Y
Actual Load
Allocated IT-
capacities
“Waste“ of capacities
“Under-supply“ of capacities
Fixed cost of IT-capacities
Load Forecast
Barrier forinnovations
![Page 25: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/25.jpg)
Cloud Computing
Actual Load
Allocated IT capacities
Reduction of initial
investments
Reduction of “over-
supply“
No “under-supply“
Possible reduction of IT-capacities
in case of reduced load
Time
IT C
APA
CIT
YLoad
Forecast
![Page 26: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/26.jpg)
Private(On-Premise)
Types of Hosting Solutions
Storage
Server HW
Networking
Servers
Databases
Virtualization
Runtimes
Applications
Security & Integration
You
man
age
Platform(as a
Service)
Storage
Server HW
Networking
Servers
Databases
Virtualization
Runtimes
Applications
Security & Integration M
anaged by vendor
You
man
age
Runtimes
Infrastructure
(as a Service)
Storage
Server HW
Networking
Servers
Databases
Virtualization
Applications
Security & Integration
Managed by vendor
You
man
age
![Page 27: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/27.jpg)
![Page 28: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/28.jpg)
The Microsoft Cloud~100 Globally Distributed Data Centers
Quincy, WA Chicago, IL San Antonio, TX Dublin, Ireland Generation 4 DCs
![Page 29: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/29.jpg)
Data Storage
![Page 30: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/30.jpg)
Windows Azure Data Storage
Account
Queue
Blob
Tables
Drives
![Page 31: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/31.jpg)
Azure Platform Data Storage Options
• Windows Azure Data Storage• Blobs
• Unstructured data storage• Tables
• Semi-structured or tabular data storage• Queues
• Buffered delivery data storage• Drives
• Durable NTFS volumes that Windows Azure applications can use. See: http://microsoftpdc.com/Sessions/SVC14
• SQL Azure• Relational data storage
![Page 32: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/32.jpg)
Windows Azure Data Storage - Tables• Semi-Structured data• Tables contain entities• Entities contain properties• May be partitioned across
thousands of servers.• Support ACID transactions
over single entities• Queries over entire table• .NET and REST interfaces
![Page 33: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/33.jpg)
Windows Azure Data Storage – Tables (Terms Part 1)• Table
● Contains a set of entities. • Entity (Row)
● Basic data items stored in a table. • Property (Column)
● Single value in an entity. • RowKey
● Unique ID of the entity within a partition• Timestamp
● Time it was created
![Page 34: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/34.jpg)
Windows Azure Data Storage – Tables (Terms Part 2)• Partition
● Entities in a table with the same partition key• PartitionKey
● Segments entities in to partitions to automatically distribute the table’s entities over many storage nodes.
• Sort Order● There is a single index provided for the CTP,
where all entities in a table are sorted by PartitionKey and then RowKey
![Page 35: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/35.jpg)
Key Example – Blog Posts
• Getting all of dunnry’s blog posts is fast● Single partition
• Getting all posts after 2008-03-27 is slow● Traverse all partitions
Partition KeyAuthor
Row KeyPermalink
Property 3ChangedO
nProperty 4
Title
smarx i-love-tables 2009-07-04 I Love Tables!
smarx tables-are-awesome 2009-07-12 Tables are
Awesome!
dunnry cheetos 2008-03-27 I Love Cheetos
dunnry blogging-again 2009-07-15 Finally Blogging
Again
dunnry phluffyfotos 2008-04-09 PhluffyFotos!
Partition 1
Partition 2
![Page 36: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/36.jpg)
SQL Azure
![Page 37: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/37.jpg)
SQL Azure Features
• Supported● Tables, Indexes, Views● Stored Procedures● Triggers● Constraints● Table Variables● Temp Tables (#Name)
• Not Supported● Physical Server Access ● Catalog DDL● Common Language
Runtime● Service Broker● Reporting Services● Analysis Services● Distributed
Transactions and Queries
![Page 38: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/38.jpg)
![Page 39: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/39.jpg)
![Page 40: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/40.jpg)
![Page 41: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/41.jpg)
Microsoft WebsiteSpark
10 people shops 3 copies of VS 2 copies of Expression Web 1 copy of Expression Studio 4 procs of SQL Server 4 procs of Windows Server
![Page 42: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/42.jpg)
Resources Web Platform Installer
http://www.microsft.com/web/gallery How WinCache makes PHP run faster
http://blogs.iis.net/ksingla/archive/2009/09/19/how-wincache-make-php-run-faster.aspx
Using WinCache Extensions for PHP http://learn.iis.net/page.aspx/678/using-window
s-cache-extension-for-php/
PHP 5.3 Changes to Support Windows http://
docs.php.net/manual/en/migration53.windows.php
![Page 43: Microsoft and PHP at CakeFest 2010](https://reader033.vdocuments.site/reader033/viewer/2022061306/53f8260d8d7f72b44c8b656b/html5/thumbnails/43.jpg)
ResourcesSQL Server PHP Blog
http://blogs.msdn.com/sqlphp Josh Holmes’ Blog
http://www.joshholmes.com