Amplexor drupal-high trafficwebsites-2012-03-08

72

description

Slides of the Amplexor Drupal Mini Seminar on 8th March 2012.Amplexor has been building high traffic websites for over a decade. In 2008, Drupal was added to our portfolio of Web Content Management systems - and with the arrival of Drupal 7, there was a massive interest amongst website owners to migrate their website to this new & promising platformDuring this seminar, we will provide you with an overview of the possibilities for building large scale, high performance websites with Drupal. Not only you will get an insight in the functional and technical possibilities of the platform, but also of the possible caveats.The last session will focus on how to make (Drupal based) websites future-proof. The number of people accessing websites through mobile devices is growing extremely fast, so it is important to make your website accessible to those. Hence the importance of HTML 5 and Responsive Design among others. Moreover, the focus on content is more important then ever. In this session, we will go over the possible strategies for making your website more accessible for next-gen devices.

Transcript of Amplexor drupal-high trafficwebsites-2012-03-08

Page 1: Amplexor drupal-high trafficwebsites-2012-03-08
Page 2: Amplexor drupal-high trafficwebsites-2012-03-08

2.!

High traffic websites with Drupal!Kinepolis case study!

Page 3: Amplexor drupal-high trafficwebsites-2012-03-08

3.!

master repository"

main website!

ticketing! mobile website!

digital signage!apps!

Page 4: Amplexor drupal-high trafficwebsites-2012-03-08

4.!

main website!

BE NL! CH!ES!FR!BE FR!

Page 5: Amplexor drupal-high trafficwebsites-2012-03-08

5.!

platform "structure"

Page 6: Amplexor drupal-high trafficwebsites-2012-03-08

6.!

BE NL + BE FR + FR + ES + CH"

multilingual!

Page 7: Amplexor drupal-high trafficwebsites-2012-03-08

7.!

similar content"

same group of editors"

multilingual!

Page 8: Amplexor drupal-high trafficwebsites-2012-03-08

8.!

multilingual!

settings!interface!paths!

taxonomy!

menus!

blocks"

nodes!

Page 9: Amplexor drupal-high trafficwebsites-2012-03-08

9.!

i18n"

multilingual!

Page 10: Amplexor drupal-high trafficwebsites-2012-03-08

10.!

BE NL"

BE FR"

FR"

ES"

CH"single codebase!!

multisite!

Page 11: Amplexor drupal-high trafficwebsites-2012-03-08

11.!

same content structure"

asynchronous content"

different user accounts"

multisite!

Page 12: Amplexor drupal-high trafficwebsites-2012-03-08

12.!

content"

Page 13: Amplexor drupal-high trafficwebsites-2012-03-08

13.!

Page 14: Amplexor drupal-high trafficwebsites-2012-03-08

14.!

master repository"

main website!

ticketing! mobile website!

digital signage!apps!

Page 15: Amplexor drupal-high trafficwebsites-2012-03-08

15.!

matching content structures"

movie"repository"

Page 16: Amplexor drupal-high trafficwebsites-2012-03-08

16.!

syncing content"

movie"repository"

Page 17: Amplexor drupal-high trafficwebsites-2012-03-08

17.!

> 180 000"Drupal nodes"

Page 18: Amplexor drupal-high trafficwebsites-2012-03-08

18.!

search"

Page 19: Amplexor drupal-high trafficwebsites-2012-03-08

19.!

Search"

core search"

MySQL server" webserver"

index!

PHP/MySQL aren’t built for indexing and search"

MySQL server" webserver"

Solr server"

index!

Apache Solr/Lucene is

optimized for search purposes"

!  xml based"!  clustering"!  grouping"!  facets"!  scores"!  highlighting"

Page 20: Amplexor drupal-high trafficwebsites-2012-03-08

20.!

user data"

Page 21: Amplexor drupal-high trafficwebsites-2012-03-08

21.!

> 15 000"registered users"

Page 22: Amplexor drupal-high trafficwebsites-2012-03-08

22.!

profiling"

segmentation"

mass emailing"

Drupal isn’t the right tool here!"

Page 23: Amplexor drupal-high trafficwebsites-2012-03-08

23.!

exchanging user data"

CRM"

Page 24: Amplexor drupal-high trafficwebsites-2012-03-08

24.!

ads"

Page 25: Amplexor drupal-high trafficwebsites-2012-03-08

25.!

Drupal isn’t the right tool here!"

Page 26: Amplexor drupal-high trafficwebsites-2012-03-08

26.!

multidimensional targeting"

open API"

campaign priorities"

analytics"

audience segmentation"

Page 27: Amplexor drupal-high trafficwebsites-2012-03-08

27.!

Drupal webserver"website visitor"

1. page request"

2. HTML + JS"

OpenX server"asynchronous!"

Page 28: Amplexor drupal-high trafficwebsites-2012-03-08

28.!

performance"

Page 29: Amplexor drupal-high trafficwebsites-2012-03-08

29.!

“Drupal does not scale.”""

Drupal generates pages, "it does not serve them!"

Page 30: Amplexor drupal-high trafficwebsites-2012-03-08

30.!

page request handling"no caching"

website visitor" Drupal webserver"

Drupal database"

1. page request" 2. bootstrap Drupal""4. build up the response""5. theme the result"

3. load content from DB"

6. sent response"

Page 31: Amplexor drupal-high trafficwebsites-2012-03-08

31.!

Drupal database"

2. bootstrap Drupal"

3. load cached content" from DB"

Drupal webserver"

1. page request"

4. sent response"

page request handling"Drupal page caching"

website visitor"

Page 32: Amplexor drupal-high trafficwebsites-2012-03-08

32.!

Drupal webserver"

Drupal database"

reverse proxy"

pass request to Drupal if cache is expired or if

request is handled for the first time"

1. page request" 2. sent response"

page request handling"reverse proxy caching"

website visitor"

Page 33: Amplexor drupal-high trafficwebsites-2012-03-08

33.!

Trafic to Drupal & openX

Trafic for Assets(video & images)

Test & DevEnvironment

Load Balancer+ Cache

DatabaseMaster

Application firewall

Monitoring(zabbix?)

SearchDatabaseSlave

OpenXAssets

(Images & Video) Drupal

Load Balancer+ Cache

(stand-by)

Application Firewall(stand-by)

Page 34: Amplexor drupal-high trafficwebsites-2012-03-08

34.!

webserver 1

12GB RAM4 cores 2.4GHz!

webserver 2

12GB RAM4 cores 2.4GHz!

1.5TB!

SAN

Page 35: Amplexor drupal-high trafficwebsites-2012-03-08

35.!

> 12 000 000"pagehits per month"

Page 36: Amplexor drupal-high trafficwebsites-2012-03-08

36.!

> 90"requests per second"

(peak moments)"

Page 37: Amplexor drupal-high trafficwebsites-2012-03-08

37.!

CPU load"

requests/s"

Page 38: Amplexor drupal-high trafficwebsites-2012-03-08

38.!

master/slave database"

Memcached"

APC"

reverse proxy"

asynchronous requests"

static server"

Page 39: Amplexor drupal-high trafficwebsites-2012-03-08

39.!

Future-proof websites!

Page 40: Amplexor drupal-high trafficwebsites-2012-03-08

40.!

the problem"

Page 41: Amplexor drupal-high trafficwebsites-2012-03-08

41.!

640px" 800px" 1024px"

Page 42: Amplexor drupal-high trafficwebsites-2012-03-08

42.!

Page 43: Amplexor drupal-high trafficwebsites-2012-03-08

43.!

Page 44: Amplexor drupal-high trafficwebsites-2012-03-08

44.!

?px"

Page 45: Amplexor drupal-high trafficwebsites-2012-03-08

45.!

3.40%"2.35%"

15.58%"

21.06%"

16.86%"

6.64%"

3.46%"4.01%" 5%"

320" 768" 1024" 1280" 1366" 1440" 1600" 1680" 1920"

screen widths used on the web (February 2012)"

Page 46: Amplexor drupal-high trafficwebsites-2012-03-08

46.!

Page 47: Amplexor drupal-high trafficwebsites-2012-03-08

47.!

low usability"small text, tiny targets, “desktop” UI"

Page 48: Amplexor drupal-high trafficwebsites-2012-03-08

48.!

Page 49: Amplexor drupal-high trafficwebsites-2012-03-08

49.!

phones" tablets" TVs"

Page 50: Amplexor drupal-high trafficwebsites-2012-03-08

50.!

user interface"

viewport"

connection speed and bandwidth"

technology support"

context"

Page 51: Amplexor drupal-high trafficwebsites-2012-03-08

51.!

Page 52: Amplexor drupal-high trafficwebsites-2012-03-08

52.!

Page 53: Amplexor drupal-high trafficwebsites-2012-03-08

53.!

mobile website"

Page 54: Amplexor drupal-high trafficwebsites-2012-03-08

54.!

www.uitinvlaanderen.be" m.uitinvlaanderen.be"

Page 55: Amplexor drupal-high trafficwebsites-2012-03-08

55.!

back-end"

front-end"DB"

raw content"

“full” website"HTML + CSS + Javascript"

templates"

logic" mobile website"HTML + CSS + Javascript"

templates"

Page 56: Amplexor drupal-high trafficwebsites-2012-03-08

56.!

specific content and targeted UI"

no changes to existing website"

optimal experience for targeted device"

device detection for auto-redirect"

scalability"

multiple information architectures"

changes to CMS"

SEO"

mobile website"

Page 57: Amplexor drupal-high trafficwebsites-2012-03-08

57.!

responsive "website"

Page 58: Amplexor drupal-high trafficwebsites-2012-03-08

58.!

www.barackobama.com" www.barackobama.com"

Page 59: Amplexor drupal-high trafficwebsites-2012-03-08

59.!

responsive website"

Page 60: Amplexor drupal-high trafficwebsites-2012-03-08

60.!

HTML + CSS + Javascript

responsive design

back-end"

front-end"DB"

raw content"

logic"

templates"

Page 61: Amplexor drupal-high trafficwebsites-2012-03-08

61.!

1. fluid grid"

Page 62: Amplexor drupal-high trafficwebsites-2012-03-08

62.!

2. CSS3 Media Queries"

Page 63: Amplexor drupal-high trafficwebsites-2012-03-08

63.!

3. fluid images"

Page 64: Amplexor drupal-high trafficwebsites-2012-03-08

64.!

same content for all devices"solid content strategy is crucial!"

Page 65: Amplexor drupal-high trafficwebsites-2012-03-08

65.!

scalable"

no changes CMS"

SEO"

1 single website"

complex for existing websites"

complex wireframing and design"

responsive website"

Page 66: Amplexor drupal-high trafficwebsites-2012-03-08

66.!

apps"

Page 67: Amplexor drupal-high trafficwebsites-2012-03-08

67.!

Page 68: Amplexor drupal-high trafficwebsites-2012-03-08

68.!

rich user interface"

OS integration"

high performance"

app store monetization"

development for each platform"

app store approval and restrictions"

time to update"

apps"

Page 69: Amplexor drupal-high trafficwebsites-2012-03-08

69.!

open standards"

structured data"

scalability"

analytics"

Page 70: Amplexor drupal-high trafficwebsites-2012-03-08

70.!

Drupal references"

vtm.be" jim.be" iwatch.be" vmmtv.be" toerismevlaanderen.be"

capacity4dev.eu" base.be" muntpunt.be" uzleuven.be" serv.be"

ewi-vlaanderen.be" prettiggeleerd.be" m.uitinvlaanderen.be" infrabel.be" kinepolis.be/fr/es/ch"

Page 71: Amplexor drupal-high trafficwebsites-2012-03-08

71.!

Follow us"

@amplexorbelgium"

http://www.facebook.com/AmplexorBelgium"

http://www.slideshare.net/amplexor"

Page 72: Amplexor drupal-high trafficwebsites-2012-03-08