Jump to content

Plan/Discovery One/BootCamp: Difference between revisions

From Sugar Labs
Dfarning (talk | contribs)
Dogi (talk | contribs)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Boot Camp =
For the last couple of weeks we have been talking about how to hand over hosting and maintenance of Activities.sugarlabs.org.  In order to transfer the necessary knowledge to the Students at Rochester Institute of Technology, I am putting together a 'Deploying and Maintaining a Scalable and Reliable Web Service' bootcamp.
The format is series of 5 talks and hands on session in which students learn about systems in general while using activites.sugarlabs.org as a case study. 
The High level question is, "What do I wish I knew when I started working on ALSO."
== Session 0 Systems ==
Deploying and maintaining a scalable and reliable web service.
Deploying and maintaining a scalable and reliable web service.


What is ASLO?
1. Learning objectives
What is Scalable?
* What is ASLO?
What is reliable?
* What is a system?
* What is scalablity?
* What is reliablity?
 
2. What is a System?


Parts of a web service.
3. Why build a System?
Model-View-Controller
Model database.
view - html pages delivered to users
controller - web site code.
---------------------------


Stage 1 basic technologies
4. Why are systems hard?


scripting language - php.
5. Critial thinking
database - mysql.
* What is the problem being solved?
* What approach is being used?
* What benchmarks are being performed?
* What conclusions can be drawn?
* What are the next steps?


hands on- splitting scripting code and db on separate machines
 
6. Parts of a web service.
* Model - database.
* View - html pages delivered to users
* Controller - web site code.
 
7. Activities.sugarlabs.org overview
 
8. What is the problem.
* Distribute activities
* Community of Users
* Community of developer
 
9. What is the approach.
* Links on a wiki
* Roll your own
* Build on existing open source project
* addons.sugarlabs.org
 
Lab - Gathering our tools.
 
== Stage 1 Basic Web Site Technologies ==
 
1. installing aslo
* code - php.
* database - mysql.
* configuration
 
hands on - Installing ASLO
-----------------
-----------------


Stage 2
== Stage 2 Caching ==


caching technologies.
more memory  
more memory  
memcached
memcached
squid
squid


hands on - adding caches
hands on - monitoring and benchmarking effects of memcached
--------------
--------------


Stage 3
== Stage 3 Load balancing ==
 
Load balancing technologies.


multiple databases
multiple databases
Line 40: Line 78:
----------------
----------------


Stage 4
== Stage 4 Reliability ==
 
Reliability technologies


redundency
redundency
failover
failover


hands on - setting up proxy, web node, and datebase failover.
hands on - setting up proxy, web node, and database failover.
 
and last but not least
backup
monitoring - munin
profiling - analytics
----------------
----------------
Stage 5
Interesting scalability and reliability technologies.

Latest revision as of 14:50, 9 March 2010

Boot Camp

For the last couple of weeks we have been talking about how to hand over hosting and maintenance of Activities.sugarlabs.org. In order to transfer the necessary knowledge to the Students at Rochester Institute of Technology, I am putting together a 'Deploying and Maintaining a Scalable and Reliable Web Service' bootcamp.

The format is series of 5 talks and hands on session in which students learn about systems in general while using activites.sugarlabs.org as a case study.

The High level question is, "What do I wish I knew when I started working on ALSO."

Session 0 Systems

Deploying and maintaining a scalable and reliable web service.

1. Learning objectives

  • What is ASLO?
  • What is a system?
  • What is scalablity?
  • What is reliablity?

2. What is a System?

3. Why build a System?

4. Why are systems hard?

5. Critial thinking

  • What is the problem being solved?
  • What approach is being used?
  • What benchmarks are being performed?
  • What conclusions can be drawn?
  • What are the next steps?


6. Parts of a web service.

  • Model - database.
  • View - html pages delivered to users
  • Controller - web site code.

7. Activities.sugarlabs.org overview

8. What is the problem.

  • Distribute activities
  • Community of Users
  • Community of developer

9. What is the approach.

  • Links on a wiki
  • Roll your own
  • Build on existing open source project
  • addons.sugarlabs.org

Lab - Gathering our tools.

Stage 1 Basic Web Site Technologies

1. installing aslo

  • code - php.
  • database - mysql.
  • configuration

hands on - Installing ASLO


Stage 2 Caching

more memory memcached squid

hands on - monitoring and benchmarking effects of memcached


Stage 3 Load balancing

multiple databases multiple web servers

hands on - setting up slave server and multiple web nodes


Stage 4 Reliability

redundency failover

hands on - setting up proxy, web node, and database failover.

and last but not least backup monitoring - munin profiling - analytics