Whilst LAMP continues to be a strong force in web-app development, there is also a new breed of technologies that are being used to build the next generation of hugely scalable applications. This presentation will share experiences using these new technologies to handle broadcast-sized audiences and the dynamics of TV viewing.
This session will cover how “The Cloud“ and HTML5 provide an excellent infrastructure for building large scale applications. It will look at some of the technologies that support rapid, scalable development including big data store Cassandra, cloud deployment platform Chef, and building best-of-breed single-page HTML5 applications running on multiple devices using Backbone.js.
67. - cookbooks
- mybook
- attributes knife
- recipes
- templates
Chef client
Chef client
68. # Install nginx package
package "nginx"
# Register nginx as a service
service "nginx" do
supports :status => true, :restart
=> true, :reload => true
action :enable
end
# Set up nginx config
template
"/etc/nginx/conf.d/default.conf" do
source "default.conf.erb"
owner "root"
group "root"
69. Ironfan.cluster 'fowa' do
cloud(:ec2) do
availability_zones ['eu-west-1a']
flavor 'm1.small'
image_name 'base_ami'
end
facet :web do
instances 2
recipe "web_server"
cloud do
security_group :HTTP_PUBLIC
end
end
facet :cassandra do