21
HOW TO ARCHITECT YOUR HIGH SCALE WEB APPS Abu Bakr Soliman

How to architect your high scale web apps

Embed Size (px)

Citation preview

HOW TO ARCHITECT YOUR HIGH

SCALE WEB APPS

Abu Bakr Soliman

HIGH SCALE APPS

Wait a Moment !!

PERFORMANCE VS. SCALABILITY

Performance

Scalabilit

y

MAIN FACTORS

Developing

Techniques

MAIN FACTORS

Developing

DEVELOPING FACTORS

Avoid “3AK”

DEVELOPING FACTORS

Do not be SELFISH

DEVELOPING FACTORS

Use The Right Tool

DEVELOPING FACTORS

Use The Right Tool:

1. Benchmarking

2. Do you really know what you need ?

3. Use the second best thing

MAIN FACTORS

Techniques

TECHNIQUES FACTORS

Database Storage

36 Vs. 11

Splitting

Hash Storing

Multiple Techs (SQL, noSQl, Indexing, ..)

TECHNIQUES FACTORS

Images

Resizing

Fixed Sizes

Instant Resizing

Hosting

Shared Hosting

CDN

TECHNIQUES FACTORS

Caching

TECHNIQUES FACTORS

Caching

Full Vs. Partial Caching

Leverage Browser Caching

Caching Techniques:

Files

Memcached

Varnish, Squid, ..

TECHNIQUES FACTORS

Security

Database Queries

CSRF

Encryption

Firewalls

Warning Messages / Logs Reports

TECHNIQUES FACTORS

Security

ReCAPTCHA

The Root Gate

Users Ranks Sessions

Multiple Layers of Validation

Penetration Testing Consulting

TECHNIQUES FACTORS

Monitoring

PageSpeed / YSLOW

Traffic Analytics

Server Logs

Customized Scripts

Advanced Software

(New Relic, ZABBIX, ..)

TECHNIQUES FACTORS

Cloud Computing

Horizontal / Vertical Scaling

Separate App issues from Scale issues

Customized Services

(Storage, Database, Computing, ..)

Pay for what you use

Backups (Glacier)

CONCLUSION

KEEP IN TOUCH

fb.com/bakrianoo

linkedin.com/in/bakrianoo

DevDose.com

DevDose.com