Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Drupal in the Cloud

Avatar for Stefano Mainardi Stefano Mainardi
March 21, 2012
110

Drupal in the Cloud

Talk @ Phpday 2010 , Corropoli (TE) 13-14-15 Maggio 2010

Avatar for Stefano Mainardi

Stefano Mainardi

March 21, 2012
Tweet

Transcript

  1. Chi siamo? Stefano Mainardi, sviluppatore PHP, CEO di Twinbit e

    fondatore del network italiano ILDN Piacere di conoscervi! [email protected] twitter : stefanomainardi giovedì 22 marzo 12
  2. Chi siamo? Stefano Mainardi, sviluppatore PHP, CEO di Twinbit e

    fondatore del network italiano ILDN Piacere di conoscervi! [email protected] twitter : stefanomainardi Paolo Mainardi, sviluppatore PHP, CTO di Twinbit e fondatore del network italiano ILDN Piacere di conoscervi! [email protected] twitter : paolomainardi giovedì 22 marzo 12
  3. Chi siamo? Stefano Mainardi, sviluppatore PHP, CEO di Twinbit e

    fondatore del network italiano ILDN Piacere di conoscervi! [email protected] twitter : stefanomainardi Paolo Mainardi, sviluppatore PHP, CTO di Twinbit e fondatore del network italiano ILDN Piacere di conoscervi! [email protected] twitter : paolomainardi Piacere, io sono Drupal! :-) giovedì 22 marzo 12
  4. Con cloud computing si intende un insieme di tecnologie informatiche

    che permettono l'utilizzo di risorse hardware (storage, CPU) o software distribuite in remoto. from Wikipedia giovedì 22 marzo 12
  5. Quali sono i benefici del Cloud? On Demand Quando ho

    bisogno di capacità di calcolo (CPU), o di capacità infrastrutturale (Storage), la posso chiedere al volo senza necessità di fare previsioni giovedì 22 marzo 12
  6. Quali sono i benefici del Cloud? Flessibilità Posso gestire le

    risorse verso l'alto aumentandole, oppure diminuirle rilasciandole quando non ne ho più bisogno. Questo si traduce in un abbattimento dei costi giovedì 22 marzo 12
  7. Quali sono i benefici del Cloud? API Ovvero una interfaccia,

    un modo di comunicare, generico, che permette a qualsiasi parte, a qualsiasi pezzo della mia infrastruttura, di dialogare, oppure ad esterni di dialogare con la mia infrastruttura, senza dover necessariamente sapere i dettagli di come è implementato quel singolo componente. giovedì 22 marzo 12
  8. Le performance non sono sempre come ce le aspettiamo Le

    nostre applicazioni devono essere progettate per lavorare sulla Cloud giovedì 22 marzo 12
  9. Le performance non sono sempre come ce le aspettiamo Non

    sappiamo fisicamente dove si trovano i nostri dati (privacy?) Le nostre applicazioni devono essere progettate per lavorare sulla Cloud giovedì 22 marzo 12
  10. Data Storage - Amazon S3 Media Mover • Harvest CCK,

    Uploaded Files, FTP, Email Amazon S3 Storage natively supported. Pluggable API - DIY giovedì 22 marzo 12
  11. Data Storage - Amazon S3 Media Mover • Harvest •

    Processing Media Conversion Compression Transcoding External Processing Server (Cloud) Pluggable API - DIY giovedì 22 marzo 12
  12. Data Storage - Amazon S3 Media Mover • Harvest •

    Processing • Storage Drupal file management Media Provider - Youtube, BlipTV, Vimeo Amazon S3 Storage natively supported. Pluggable API - DIY giovedì 22 marzo 12
  13. Data Storage - Amazon S3 amazon_s3 • Administrative interface to

    S3 • CRUD Operations giovedì 22 marzo 12
  14. Data Storage - Amazon S3 amazon_s3 • Administrative interface to

    S3 • CRUD Operations • S3 ACL Support - Bucket and File giovedì 22 marzo 12
  15. Data Storage - Amazon S3 amazon_s3 • Administrative interface to

    S3 • CRUD Operations • S3 ACL Support - Bucket and File • Only API Methods - No integration with native Drupal File Magement giovedì 22 marzo 12
  16. Data Storage - Generic API Storage API http://drupal.org/project/storage_api “Storage API

    is a framework for enterprise-level file storage and serving / streaming.” giovedì 22 marzo 12
  17. Data Storage - Generic API Storage API http://drupal.org/project/storage_api • Pluggable

    architecture - it can be extended to work with any CDN. giovedì 22 marzo 12
  18. Data Storage - Generic API Storage API http://drupal.org/project/storage_api • Pluggable

    architecture - it can be extended to work with any CDN. • Redundancy - it can be configured to store your files in multiple CDNs and instantaneously change which one is serving. giovedì 22 marzo 12
  19. Data Storage - Generic API Storage API http://drupal.org/project/storage_api • Pluggable

    architecture - it can be extended to work with any CDN. • Redundancy - it can be configured to store your files in multiple CDNs and instantaneously change which one is serving. • Access control API, Containers implemented as modules giovedì 22 marzo 12
  20. Data Storage - Generic API Storage API http://drupal.org/project/storage_api • Pluggable

    architecture - it can be extended to work with any CDN. • Redundancy - it can be configured to store your files in multiple CDNs and instantaneously change which one is serving. • Access control API, Containers Amazon S3/Cloudfront Also supports media streaming giovedì 22 marzo 12
  21. Data Storage - Generic API Storage API http://drupal.org/project/storage_api • Pluggable

    architecture - it can be extended to work with any CDN. • Redundancy - it can be configured to store your files in multiple CDNs and instantaneously change which one is serving. • Access control API, Containers implemented as modules Amazon S3/Cloudfront Also supports media streaming giovedì 22 marzo 12
  22. Data Storage - Generic API CDN - http://drupal.org/project/cdn Supports only

    "Origin Pull" CDNs • Akamai • SimpleCDN • CacheFly • PantherCDN • And so on.... giovedì 22 marzo 12
  23. Data Storage - Generic API CDN - http://drupal.org/project/cdn In Drupal

    6 to function properly require to patching the core.... giovedì 22 marzo 12
  24. Data Storage - Generic API CDN - http://drupal.org/project/cdn In Drupal

    6 to function properly require to patching the core.... Data Storage - Generic API CDN - http://drupal.org/project/cdn In Drupal 7 CDN will be supported by core. giovedì 22 marzo 12
  25. Data Storage - Generic API CDN - http://drupal.org/project/cdn In Drupal

    6 to function properly require to patching the core.... Data Storage - Generic API CDN - http://drupal.org/project/cdn In Drupal 7 CDN will be supported by core. Implementation of PHP Stream wrapper cloudfront://image.jpg s3://image.jpg giovedì 22 marzo 12
  26. Data Storage - Generic API CDN - http://drupal.org/project/cdn In Drupal

    6 to function properly require to patching the core.... Data Storage - Generic API CDN - http://drupal.org/project/cdn In Drupal 7 CDN will be supported by core. Implementation of PHP Stream wrapper cloudfront://image.jpg s3://image.jpg COOL !! giovedì 22 marzo 12
  27. DBMS on the Cloud No supports for Mysql Replication in

    D6 Poorly optimized Mysql Query Drupal 7 gains a new Database Astraction Layer, with a lot of cool stuff. giovedì 22 marzo 12
  28. DBMS on the Cloud • Highly optimized for Mysql, removed

    support for other DBMS • Mysql Replication - In use on Drupal.org • Support for Squid and Varnish reverse proxy caching • Optimization for PHP5 (Removed support for PHP4) giovedì 22 marzo 12