Present Remotely
Send the link below via email or IM
Present to your audience
- Invited audience members will follow you as you navigate and present
- People invited to a presentation do not need a Prezi account
- This link expires 10 minutes after you close the presentation
- A maximum of 30 users can follow your presentation
- Learn more about this feature in our knowledge base article
Arhitektura High Performance PHP aplikacije
No description
by
TweetMiodrag Stefanovic
on 16 October 2013Transcript of Arhitektura High Performance PHP aplikacije
Web servers
Load balancing
Search & Indexing
10 000 000 pageview/day
10 000 user/second
MySQL Database
Key-Value cache store
Internet
2x2
LB Server
Limundo/Kupindo
PHP
NFS Storage
Off location backup
- nginx
- SSL termination
- mod_GZip
- keepalived
- Active/Active
- Statless instances
Speed
Stability
Scalability
FireWall
Images (Storage)
HTML (WS)
15
Web Server
- PHP
- APC
- Apache
- mysqlnd_ms
- Access logs
- SELinux
- JPEGMini
- Active/Active
- Stateless
Load balancing
Key-Value cache
Search results
DB results
2
Redis Server
- Active/Passive
- In-memory storage
- Session storage
- Keepalived
- Replication
Web server
15
Sphinx Server
- HAProxy
- searchd
- Active/Active
- Stateless
- Data partitioning
Web Server
DB (search indexes)
Shared Storage
- SATA
- SSD caching
- Deduplication
- Snapshots
- 10TB
- Offsite backup
Web server (PHP/Static)
Load balancer (images)
3
MySQL slaves
MySQL
Primary master
MySQL
Secondary master
multimaster
replication
- MMM
- InnoDB
- CMS
- Sphinx indexer
- Cron
- Physical machines
- Relational storage
- Percona fork
- Row based replication
- Critical calculations
Web server
Search cluster
m.stefanovic@limundo.com
@limundogradnja
@miodrag42
@miodrag42
@limundogradnja
Full transcriptLoad balancing
Search & Indexing
10 000 000 pageview/day
10 000 user/second
MySQL Database
Key-Value cache store
Internet
2x2
LB Server
Limundo/Kupindo
PHP
NFS Storage
Off location backup
- nginx
- SSL termination
- mod_GZip
- keepalived
- Active/Active
- Statless instances
Speed
Stability
Scalability
FireWall
Images (Storage)
HTML (WS)
15
Web Server
- PHP
- APC
- Apache
- mysqlnd_ms
- Access logs
- SELinux
- JPEGMini
- Active/Active
- Stateless
Load balancing
Key-Value cache
Search results
DB results
2
Redis Server
- Active/Passive
- In-memory storage
- Session storage
- Keepalived
- Replication
Web server
15
Sphinx Server
- HAProxy
- searchd
- Active/Active
- Stateless
- Data partitioning
Web Server
DB (search indexes)
Shared Storage
- SATA
- SSD caching
- Deduplication
- Snapshots
- 10TB
- Offsite backup
Web server (PHP/Static)
Load balancer (images)
3
MySQL slaves
MySQL
Primary master
MySQL
Secondary master
multimaster
replication
- MMM
- InnoDB
- CMS
- Sphinx indexer
- Cron
- Physical machines
- Relational storage
- Percona fork
- Row based replication
- Critical calculations
Web server
Search cluster
m.stefanovic@limundo.com
@limundogradnja
@miodrag42
@miodrag42
@limundogradnja