Drupal - it all comes down to performance
Upcoming SlideShare
Loading in...5
×
 

Drupal - it all comes down to performance

on

  • 1,067 views

Combined presentation of 2 talks I gave on DrupalCamp Birghton and DrupalCamp Baltics.

Combined presentation of 2 talks I gave on DrupalCamp Birghton and DrupalCamp Baltics.

Statistics

Views

Total Views
1,067
Views on SlideShare
1,036
Embed Views
31

Actions

Likes
1
Downloads
6
Comments
0

3 Embeds 31

http://passivemanagement.net 26
https://twitter.com 4
https://si0.twimg.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Drupal - it all comes down to performance Drupal - it all comes down to performance Presentation Transcript

  • DrupalCamps 2012 Drupalit all comes down to performance Janis Janovskis @PASSIVUS http://passivemanagement.net
  • Drupalit all comes down to performance ?
  • Drupalit all comes down to performance WHY? WHERE? HOW? :)
  • Drupal it all comes down to performance Database level – wt … is cache?✔ cache_block✔ cache_bootstrap✔ cache_field✔ cache_form✔ cache_.....
  • Drupal it all comes down to performance Database → cache_your_???();✔ cache_set✔ cache_get✔ ctools_include(object-cache);✔ ctools_object_cache_set(my_module, $id, $object);✔ ctools_include(object-cache);✔ ctools_object_cache_clear(my_module, $id);
  • Drupal it all comes down to performance Database → caching();✔ Query caching – query_cache_type=1✔ table caching – memcache✔ noSQL ➔ MongoDB ➔ CouchDB ➔ Reddis ➔ ….
  • Drupal it all comes down to performance PHP✔ APC✔ XCACHE✔ Remove redundant modules(code)✔ Profiling (Xhprof)
  • Drupal it all comes down to performance PHP - Modules✔ entity_cache✔ boost (best on shared environments)✔ block_cache_alter✔ memcache api integration✔ apc integration✔ elysia cron (better cron job management)✔ ajax blocks
  • Drupal it all comes down to performance Filesystem - backend✔ File size limitations (file field configuration✔ aggregate css✔ aggregate js✔ remove redundant css/js✔ cdn
  • Drupal it all comes down to performance Files –> front end();✔ Build in css/js architecture (“clearfix”)✔ Built in js framework (jQuery, + jQuery UI(D7✔ Image preloads ADMIN CONTENT MODULE THEME THEME
  • Drupal it all comes down to performance Performance → Web servers();✔ Load balancing✔ Apache mod_proxy✔ Ningx vs Apache✔ Varnish proxy caching
  • Drupal it all comes down to performance TESTING YOUR BUILT✔ DrupalWebTestCase✔ devel module → query information✔ views statistics✔ performance tests(jmeter)
  • Drupal it all comes down to performance www.bounty.com✔ ~1.5 milj. users✔ Affiliate marketing solutions✔ Embed community✔ “Crapped” (not fresh) backend✔ Almost no documentation✔ Offline db integration
  • Drupal it all comes down to performanceArchitecture APACHE1 MEMCACHE1 LOADBALANCER FILE SERVER MYSQL MYSQL MYSQL MYSQL APACHE2 MEMCACHE1
  • Drupal it all comes down to performance Bounty → Improvements();✔ No panels✔ Block instances✔ By, by boot :)✔ Education – tutoring✔ Micro-sites✔ Code improvements(Documentation)✔ Removing redundancies (profile module)
  • Drupal it all comes down to performance www.savethechildren.org.uk✔ 25 editors✔ UI friendly configuration ➔ Panels ➔ Context ➔ Views ➔ Pages
  • Drupal it all comes down to performance Architecture varnish1 apache1 memcache1 MYSQL LOAD filesBALANCER MYSQL MYSQL varnish1 apache2 memcache2
  • Drupal it all comes down to performance Save the Children → improvements();✔ Memcache✔ Profiling with xhprof, devel✔ Contributing to community✔ Education✔ … I am still on this role …..
  • Drupal it all comes down to performance Improvements → personal();✔ Analysing✔ Contributing✔ Training✔ Sharing
  • Drupal it all comes down to performance Thanks http://passivemanagement.netjanis.janovskis@passivemanagement.net @PASSIVUS