Mes tweets de la semaine du 2010-03-14

14 mars 2010 par RastaMart Pas de commentaires »

Confoo.ca 2010 : Massive Scalability

12 mars 2010 par RastaMart Pas de commentaires »

Vertical scaling : more hardware

Job : sysadmin

Horizontal scaling

Job : Tahnical, sysadmin, architecth, dév.

Confoo.ca 2010 : Taking it to the Cloud with Windows Azure

12 mars 2010 par RastaMart Pas de commentaires »

Agillity
Centralization
Cost
Reliability
Scalability
Security
Sustainability
Maintenance

Pinpoint

Storage services : Blob, table, Queue
Windows azure Drive : NTFS in the cloud
API

CSPkg for deploying
- web role
- worker role

CSConfig

What is a web role?
Application container
Publicly http access

Worker role
- continously running service
Not public acess
Uses Queues to communicates between web roles

Azure storage services
Rest-Based servces API
Wrapper for .net
3 different tye
- Blob
– Page : RANDOM ACCESS READ/WRITE
– Immediatly commited, 1Tb Max size

- Queue
– String base messinging
- Table
– Non relational
– TableServiceEntity
– TableServieContext

Confoo.ca 2010 : Scalable Web Applications for the Cloud

12 mars 2010 par RastaMart Pas de commentaires »

Hardest part to scale is database

memcache to data that we don’t care to loose.

Amazon ELB for load balancing

Avec le cloud, avoir plusieur petite machine est plus aantageux qu’à linterne (grosse machine pour entailisé le rack) donc très redondant.

Database probleme

if database fots on memory, don’t worry

EC2
Should be on EBS :
Scal and snapshot

split database
document-base database
schemaless
fast
replicaiton
failover
auto-sharding

Cluster for no single point of failure whe hard to load balance.

When to scale out (more machine) :
- Each instance are identical
- Redundacy
- fast and easy scaling
- Instance is « irrelevant »

When to scale up (bigger machine)
- Multiple instance are hard to manage
- CPU or memory intensive application
- scaling out become unpratical
- scaling out is souet cher

api pourscaller : si choke, scale, si entre x heur et x heure le traffic augmente, on scale

Things I learn
Cloud instance are disposable, architechture for that
Pre-optimizing is useless (launch and see where its choke)
Be aware of your bottleneck
Architect for flxibility
Deployed different part on different servers
Secure your important data

Thing I learn on EC2

Verry reliable
When shit it’s the fan, your on your own
Create images
Automate as much as you can

Autoscaling is easy, but rarely needed
IO is consistent and mostly sucks
Slowinsh (Rackspace Cloud is much faster)
Larger instance ar too expensive.

Confoo 2010 : Building RESTful Services with .NET

11 mars 2010 par RastaMart Pas de commentaires »

Confoo 2010 : ASP.NET MVC and the Undiscovered Country

11 mars 2010 par RastaMart Pas de commentaires »

Intro un peut space. Le dude parle de startreck et de php!

Controler

Controler manage the request. Routing is a big part of MVC

Model

View

MVC is Teastable

VS2010 demande à la création du projet si on veux un projet de test

Joey Devilla

www.joeydevilla.com/

Confoo.ca 2010 : Entity Framework : que du bonheur !

11 mars 2010 par RastaMart Pas de commentaires »

Beaucoup de matériels mais pas de note :)

IE6 Laid To Rest. Pictures, Videos, And Flowers From Microsoft.

11 mars 2010 par RastaMart Pas de commentaires »

IE6 Laid To Rest. Pictures, Videos, And Flowers From Microsoft.
A few weeks ago, we noted that the Denver, CO-based design company Aten Design Group was holding a funeral for Internet Explorer 6 (IE6), the much-hated browser. The funeral took place last night. It wasn’t without controversy as there were protestors, and even a bouquet of flowers sent by Microsoft. But overall, it looks like it was a classy ceremony.

Confoo.ca 2010 : Marketing for search engin and social network

10 mars 2010 par RastaMart Pas de commentaires »

It’s no longer a niche
It’s not a product..

Understanf what blog ar and not are
Do not see blogger like journlist

Defined what your social etwork identity are
what competitor do
Do not use for new spam

Understand what search engin are for our companies
Identify your target

Confoo.ca 2010 : Habits of Highly Scalable Web Applications

10 mars 2010 par RastaMart Pas de commentaires »

Ma conférence préférée du jour!

Web server
The easyest part
1 – one server
2- load balancing (as long as the performance is ok it’s good : if one user need 1 web server)
citrix
squid
f5 Big-Ip
Cloud

Preparation
If using local cach : Avoid assuming exclusive/single cache
Don’nt reliy on the file system
if you have code assuming you hav 1 file system, encapsule it

Database
typically, the harder part
- Start with 1 server
- Master slave setup
Separated laod : write update and delete vs read
Code avec l’idée du read et du writ séparer même si ce n,est aps le cas.
- Multiple slave
One slave database by web server (downside si même machine c’est que tu scale pas une partie mais tout. Tu peux pas achter m,achine qui répond au besoin targetter)

-slave pool
Virtually divise your slave into pools
Example:
2 server for batch
4 server for Comments
8 servers for Primary

Ajax pour call lourd après

- Breking database in smaller ones
Doiwnside:
load web server
Loss direct SQL support
More complicated programming

Multiple master

Type of partitionig
- Vertical
Moving various columns of your table into different table
Move rarely used coluimns…
Move ofteb empty colomns
Move colomns that are not used in where

- Horizontal
Moving various rows of your tables into different table
Range base, Date base, interjaced, user base

- Application level
Moving varioys table on différent server

Caching

Patch léchait que la dB est lente
Cache des petit morceau pour le reuse

Eliw.com
@eliw