SlideShare uma empresa Scribd logo
1 de 18
Presented by James Purser // 06-03-2015
Drupal – At the centre of the
web
In the beginning...
There was Drupal and it was good
Drupal provides all...
A Framework
• Flexible content management system
• Core set of libraries
• User management
• Comprehensive API
• Large third party module set
Sometimes Drupal needs to play with
others...
The horde... (but shhh the users don’t
know)
We built a Learning Platform out of different moving parts
• CMS (Drupal) - For content
• LMS (Moodle) - Learning Materials
• Student Management System - Student and course
metadata
• Payment Gateways (x2) - e-commerce functionality
• CRM (Salesforce) - Lead management
• Identity Provider (SAML)
• Amazon Web Services - Queues and Mail services
The spider at the heart of the web...
Why Drupal?
Because of these bits
• Core set of libraries
• User management
• Comprehensive API
• Large third party module set
• Flexible content management system
Why Drupal?
And these things:
• Webservices support out of the box
• hooks - ie: module_user_save allows us to ensure that all
systems are updated when a user is updated in drupal.
• PHP is a mature and flexible language and library set.
• Drush is incredibly useful not only for development but
bespoke cli and devops
• Drupal framework features make developing new
functionality easier
A Real Time Comms Story...
Creating a User (as part of module_user_save):
• New user registers with Drupal
• Drupal then does the following via real time webservices
– Register the new user with the LMS
– Register the new user with the Student Management System
– Register the new user with the CRM
– Updates its own user information with identifiers from each of
the above.
Queueing for an Invoice...
Generating an invoice after enrollment:
• User decides to enrol, goes through e-commerce process
• If all good (as in they have the money)
– Student Management System completes enrollment with LMS
– Then puts a message onto a payment queue for Drupal to
process on a schedule
– Drupal (via cron) pops the message, processes information
and emails invoice to new student.
Which would you pick?
– Do you need to process in real time or can you wear a delay?
– How much information are you trying to process at one time?
– What resources do you have available (CPU, RAM etc)?
– How will the service affect your applications operation?
– What is your tolerance failure?
– What data governance requirements do you have?
– What are you comfortable with?
Webservice vs Queue deathmatch...
Webservices
• Real time
• Part of the page build
• Widely supported
• Multiple Protocols
• Heavy on the resources
• Load spikes can be
dangerous
• Not failure tolerant
• Potential attack vector
• A bit fiddly to test
Queues
• Delayed processing on a
schedule
• Light weight
• Queue’s are more highly
available than webservices
• They buffer comms between
system components
• More tolerant to outages and
peak load issues
Monitoring your Integration Hub...
• Having so many different system can make keeping track of the
state of things difficult
• With Drupal as our hub, we can leverage that to build a series of
webservices that allow remote monitoring services to keep a
close eye on the health of the system
• Each check is an independent webservice/function. The response
object is JSON
Some lessons learnt...
Where possible go batch...
• The problem with realtime is that if one part of the process goes
down then everything goes down
• Batch processing allows you to schedule how and when you
process the requests, much better management of resources
• Debugging is easier (trying to catch a live webservice call vs
checking a packet on a queue)
About Catalyst
Catalyst Clients
Open Source Technologies

Mais conteúdo relacionado

Mais procurados

2-3-98 Presentation: Moodle Soup: Many Uses for Many Tastes
2-3-98 Presentation: Moodle Soup: Many Uses for Many Tastes2-3-98 Presentation: Moodle Soup: Many Uses for Many Tastes
2-3-98 Presentation: Moodle Soup: Many Uses for Many Tastesclarkshahnelson
 
Open Source Learning Management System - Canvas
Open Source Learning Management System - CanvasOpen Source Learning Management System - Canvas
Open Source Learning Management System - CanvasEbizon
 
Breaking down the barriers to learning technology imoot 2012 keynote
Breaking down the barriers to learning technology   imoot 2012 keynote Breaking down the barriers to learning technology   imoot 2012 keynote
Breaking down the barriers to learning technology imoot 2012 keynote Gavin Henrick
 
Nercomp08 Shah-Nelson - Open Source LMS
Nercomp08 Shah-Nelson - Open Source LMSNercomp08 Shah-Nelson - Open Source LMS
Nercomp08 Shah-Nelson - Open Source LMSdelhionlineeducation
 
LMS-LEARNING MANAGEMENT SYSTEM
LMS-LEARNING MANAGEMENT SYSTEMLMS-LEARNING MANAGEMENT SYSTEM
LMS-LEARNING MANAGEMENT SYSTEMJatin Chauhan
 
Moodle student orientation
Moodle student orientationMoodle student orientation
Moodle student orientationMatteo E. Isyaga
 
Learning Management System | ATUM-LMS
Learning Management System | ATUM-LMSLearning Management System | ATUM-LMS
Learning Management System | ATUM-LMSStratbeans
 
Crum introtomoodle
Crum introtomoodleCrum introtomoodle
Crum introtomoodlecrum_greg
 
10 more reasons to move to moodle2 from moodle 1.9 (part2)
10 more reasons to move to moodle2 from moodle 1.9 (part2)10 more reasons to move to moodle2 from moodle 1.9 (part2)
10 more reasons to move to moodle2 from moodle 1.9 (part2)Gavin Henrick
 
learning Management system
learning Management systemlearning Management system
learning Management systemZahida Pervaiz
 
Future of eLearning with Valamis
Future of eLearning with ValamisFuture of eLearning with Valamis
Future of eLearning with ValamisRedTreeECM
 

Mais procurados (17)

2-3-98 Presentation: Moodle Soup: Many Uses for Many Tastes
2-3-98 Presentation: Moodle Soup: Many Uses for Many Tastes2-3-98 Presentation: Moodle Soup: Many Uses for Many Tastes
2-3-98 Presentation: Moodle Soup: Many Uses for Many Tastes
 
Intro Moodle
Intro MoodleIntro Moodle
Intro Moodle
 
Lms, cms, lcms
Lms, cms, lcmsLms, cms, lcms
Lms, cms, lcms
 
Open Source Learning Management System - Canvas
Open Source Learning Management System - CanvasOpen Source Learning Management System - Canvas
Open Source Learning Management System - Canvas
 
CMS, LMS & LCMS
CMS, LMS & LCMSCMS, LMS & LCMS
CMS, LMS & LCMS
 
Breaking down the barriers to learning technology imoot 2012 keynote
Breaking down the barriers to learning technology   imoot 2012 keynote Breaking down the barriers to learning technology   imoot 2012 keynote
Breaking down the barriers to learning technology imoot 2012 keynote
 
Nercomp08 Shah-Nelson - Open Source LMS
Nercomp08 Shah-Nelson - Open Source LMSNercomp08 Shah-Nelson - Open Source LMS
Nercomp08 Shah-Nelson - Open Source LMS
 
LMS-LEARNING MANAGEMENT SYSTEM
LMS-LEARNING MANAGEMENT SYSTEMLMS-LEARNING MANAGEMENT SYSTEM
LMS-LEARNING MANAGEMENT SYSTEM
 
Moodle student orientation
Moodle student orientationMoodle student orientation
Moodle student orientation
 
Learning Management System | ATUM-LMS
Learning Management System | ATUM-LMSLearning Management System | ATUM-LMS
Learning Management System | ATUM-LMS
 
Hyper edu
Hyper eduHyper edu
Hyper edu
 
Crum introtomoodle
Crum introtomoodleCrum introtomoodle
Crum introtomoodle
 
EvdekiKurs
EvdekiKursEvdekiKurs
EvdekiKurs
 
10 more reasons to move to moodle2 from moodle 1.9 (part2)
10 more reasons to move to moodle2 from moodle 1.9 (part2)10 more reasons to move to moodle2 from moodle 1.9 (part2)
10 more reasons to move to moodle2 from moodle 1.9 (part2)
 
learning Management system
learning Management systemlearning Management system
learning Management system
 
Future of eLearning with Valamis
Future of eLearning with ValamisFuture of eLearning with Valamis
Future of eLearning with Valamis
 
Nercomp08 LMS Migration
Nercomp08 LMS MigrationNercomp08 LMS Migration
Nercomp08 LMS Migration
 

Semelhante a Drupal as integration hub.odp

Managing Exchange 2016 - Paul Robichaux
Managing Exchange 2016 - Paul RobichauxManaging Exchange 2016 - Paul Robichaux
Managing Exchange 2016 - Paul RobichauxSummit 7 Systems
 
Power Your Mobile Applications On The Cloud [IndicThreads Mobile Application ...
Power Your Mobile Applications On The Cloud [IndicThreads Mobile Application ...Power Your Mobile Applications On The Cloud [IndicThreads Mobile Application ...
Power Your Mobile Applications On The Cloud [IndicThreads Mobile Application ...IndicThreads
 
Cloud ID Management of North Carolina Department of Public Instruction (SEC10...
Cloud ID Management of North Carolina Department of Public Instruction (SEC10...Cloud ID Management of North Carolina Department of Public Instruction (SEC10...
Cloud ID Management of North Carolina Department of Public Instruction (SEC10...Amazon Web Services
 
Introduction to Microservices
Introduction to MicroservicesIntroduction to Microservices
Introduction to MicroservicesMahmoudZidan41
 
JavaOne: Efficiently building and deploying microservices
JavaOne: Efficiently building and deploying microservicesJavaOne: Efficiently building and deploying microservices
JavaOne: Efficiently building and deploying microservicesBart Blommaerts
 
e-Learning Delivery System : The Challenges
e-Learning Delivery System : The Challengese-Learning Delivery System : The Challenges
e-Learning Delivery System : The ChallengesDenpong Soodphakdee
 
Microservices: Yes or not?
Microservices: Yes or not?Microservices: Yes or not?
Microservices: Yes or not?Eduard Tomàs
 
IWMW 2002: Portals and CMS:" Why You Need Them Both
IWMW 2002: Portals and CMS:" Why You Need Them BothIWMW 2002: Portals and CMS:" Why You Need Them Both
IWMW 2002: Portals and CMS:" Why You Need Them BothIWMW
 
A Public Cloud Based SOA Workflow for Machine Learning Based Recommendation A...
A Public Cloud Based SOA Workflow for Machine Learning Based Recommendation A...A Public Cloud Based SOA Workflow for Machine Learning Based Recommendation A...
A Public Cloud Based SOA Workflow for Machine Learning Based Recommendation A...Ram G Athreya
 
MuleSoft Surat Virtual Meetup#27 - MuleSoft Runtime 4.4, Transit Gateway and ...
MuleSoft Surat Virtual Meetup#27 - MuleSoft Runtime 4.4, Transit Gateway and ...MuleSoft Surat Virtual Meetup#27 - MuleSoft Runtime 4.4, Transit Gateway and ...
MuleSoft Surat Virtual Meetup#27 - MuleSoft Runtime 4.4, Transit Gateway and ...Jitendra Bafna
 
crud+slides+show.ppsx
crud+slides+show.ppsxcrud+slides+show.ppsx
crud+slides+show.ppsxKalsoomTahir2
 
Architectural Decisions: Smoothly and Consistently
Architectural Decisions: Smoothly and ConsistentlyArchitectural Decisions: Smoothly and Consistently
Architectural Decisions: Smoothly and ConsistentlyComsysto Reply GmbH
 
Architectural Decisions: Smoothly and Consistently
Architectural Decisions: Smoothly and ConsistentlyArchitectural Decisions: Smoothly and Consistently
Architectural Decisions: Smoothly and ConsistentlyComsysto Reply GmbH
 
Monitoring Oracle SOA Suite
Monitoring Oracle SOA SuiteMonitoring Oracle SOA Suite
Monitoring Oracle SOA SuiteC2B2 Consulting
 
The Overview of Microservices Architecture
The Overview of Microservices ArchitectureThe Overview of Microservices Architecture
The Overview of Microservices ArchitectureParia Heidari
 
IMCSummit 2015 - Day 1 Developer Track - In-memory Computing for Iterative CP...
IMCSummit 2015 - Day 1 Developer Track - In-memory Computing for Iterative CP...IMCSummit 2015 - Day 1 Developer Track - In-memory Computing for Iterative CP...
IMCSummit 2015 - Day 1 Developer Track - In-memory Computing for Iterative CP...In-Memory Computing Summit
 
Fontys Lecture - The Evolution of the Oracle Database 2016
Fontys Lecture -  The Evolution of the Oracle Database 2016Fontys Lecture -  The Evolution of the Oracle Database 2016
Fontys Lecture - The Evolution of the Oracle Database 2016Lucas Jellema
 

Semelhante a Drupal as integration hub.odp (20)

Managing Exchange 2016 - Paul Robichaux
Managing Exchange 2016 - Paul RobichauxManaging Exchange 2016 - Paul Robichaux
Managing Exchange 2016 - Paul Robichaux
 
Power Your Mobile Applications On The Cloud [IndicThreads Mobile Application ...
Power Your Mobile Applications On The Cloud [IndicThreads Mobile Application ...Power Your Mobile Applications On The Cloud [IndicThreads Mobile Application ...
Power Your Mobile Applications On The Cloud [IndicThreads Mobile Application ...
 
Microservices vs monolithics betabeers
Microservices vs monolithics   betabeersMicroservices vs monolithics   betabeers
Microservices vs monolithics betabeers
 
Cloud ID Management of North Carolina Department of Public Instruction (SEC10...
Cloud ID Management of North Carolina Department of Public Instruction (SEC10...Cloud ID Management of North Carolina Department of Public Instruction (SEC10...
Cloud ID Management of North Carolina Department of Public Instruction (SEC10...
 
Introduction to Microservices
Introduction to MicroservicesIntroduction to Microservices
Introduction to Microservices
 
JavaOne: Efficiently building and deploying microservices
JavaOne: Efficiently building and deploying microservicesJavaOne: Efficiently building and deploying microservices
JavaOne: Efficiently building and deploying microservices
 
e-Learning Delivery System : The Challenges
e-Learning Delivery System : The Challengese-Learning Delivery System : The Challenges
e-Learning Delivery System : The Challenges
 
Microservices: Yes or not?
Microservices: Yes or not?Microservices: Yes or not?
Microservices: Yes or not?
 
IWMW 2002: Portals and CMS:" Why You Need Them Both
IWMW 2002: Portals and CMS:" Why You Need Them BothIWMW 2002: Portals and CMS:" Why You Need Them Both
IWMW 2002: Portals and CMS:" Why You Need Them Both
 
A Public Cloud Based SOA Workflow for Machine Learning Based Recommendation A...
A Public Cloud Based SOA Workflow for Machine Learning Based Recommendation A...A Public Cloud Based SOA Workflow for Machine Learning Based Recommendation A...
A Public Cloud Based SOA Workflow for Machine Learning Based Recommendation A...
 
MuleSoft Surat Virtual Meetup#27 - MuleSoft Runtime 4.4, Transit Gateway and ...
MuleSoft Surat Virtual Meetup#27 - MuleSoft Runtime 4.4, Transit Gateway and ...MuleSoft Surat Virtual Meetup#27 - MuleSoft Runtime 4.4, Transit Gateway and ...
MuleSoft Surat Virtual Meetup#27 - MuleSoft Runtime 4.4, Transit Gateway and ...
 
crud+slides+show.ppsx
crud+slides+show.ppsxcrud+slides+show.ppsx
crud+slides+show.ppsx
 
Distributed Systems in Data Engineering
Distributed Systems in Data EngineeringDistributed Systems in Data Engineering
Distributed Systems in Data Engineering
 
Architectural Decisions: Smoothly and Consistently
Architectural Decisions: Smoothly and ConsistentlyArchitectural Decisions: Smoothly and Consistently
Architectural Decisions: Smoothly and Consistently
 
Architectural Decisions: Smoothly and Consistently
Architectural Decisions: Smoothly and ConsistentlyArchitectural Decisions: Smoothly and Consistently
Architectural Decisions: Smoothly and Consistently
 
Monitoring Oracle SOA Suite
Monitoring Oracle SOA SuiteMonitoring Oracle SOA Suite
Monitoring Oracle SOA Suite
 
The Overview of Microservices Architecture
The Overview of Microservices ArchitectureThe Overview of Microservices Architecture
The Overview of Microservices Architecture
 
IMCSummit 2015 - Day 1 Developer Track - In-memory Computing for Iterative CP...
IMCSummit 2015 - Day 1 Developer Track - In-memory Computing for Iterative CP...IMCSummit 2015 - Day 1 Developer Track - In-memory Computing for Iterative CP...
IMCSummit 2015 - Day 1 Developer Track - In-memory Computing for Iterative CP...
 
Cloud Orchestration is Broken
Cloud Orchestration is BrokenCloud Orchestration is Broken
Cloud Orchestration is Broken
 
Fontys Lecture - The Evolution of the Oracle Database 2016
Fontys Lecture -  The Evolution of the Oracle Database 2016Fontys Lecture -  The Evolution of the Oracle Database 2016
Fontys Lecture - The Evolution of the Oracle Database 2016
 

Mais de James Purser

How, what and what else
How, what and what else How, what and what else
How, what and what else James Purser
 
Building The Independent Wave
Building The Independent WaveBuilding The Independent Wave
Building The Independent WaveJames Purser
 
Government Procurement - Let's Shake It Up A Bit
Government Procurement - Let's Shake It Up A BitGovernment Procurement - Let's Shake It Up A Bit
Government Procurement - Let's Shake It Up A BitJames Purser
 
Thinkubating - Or How Local Government Came To Love Plone
Thinkubating - Or How Local Government Came To Love PloneThinkubating - Or How Local Government Came To Love Plone
Thinkubating - Or How Local Government Came To Love PloneJames Purser
 
Knowledge Management And Small Business
Knowledge Management And Small BusinessKnowledge Management And Small Business
Knowledge Management And Small BusinessJames Purser
 

Mais de James Purser (7)

Glass wear
Glass wearGlass wear
Glass wear
 
How, what and what else
How, what and what else How, what and what else
How, what and what else
 
Building The Independent Wave
Building The Independent WaveBuilding The Independent Wave
Building The Independent Wave
 
Government Procurement - Let's Shake It Up A Bit
Government Procurement - Let's Shake It Up A BitGovernment Procurement - Let's Shake It Up A Bit
Government Procurement - Let's Shake It Up A Bit
 
OOOG
OOOGOOOG
OOOG
 
Thinkubating - Or How Local Government Came To Love Plone
Thinkubating - Or How Local Government Came To Love PloneThinkubating - Or How Local Government Came To Love Plone
Thinkubating - Or How Local Government Came To Love Plone
 
Knowledge Management And Small Business
Knowledge Management And Small BusinessKnowledge Management And Small Business
Knowledge Management And Small Business
 

Último

lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lodhisaajjda
 
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...amilabibi1
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxraffaeleoman
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoKayode Fayemi
 
My Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle BaileyMy Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle Baileyhlharris
 
Causes of poverty in France presentation.pptx
Causes of poverty in France presentation.pptxCauses of poverty in France presentation.pptx
Causes of poverty in France presentation.pptxCamilleBoulbin1
 
Digital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of DrupalDigital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of DrupalFabian de Rijk
 
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...Delhi Call girls
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaKayode Fayemi
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Vipesco
 
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfAWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfSkillCertProExams
 
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdfThe workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdfSenaatti-kiinteistöt
 
Dreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio IIIDreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio IIINhPhngng3
 
Dreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video TreatmentDreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video Treatmentnswingard
 
Sector 62, Noida Call girls :8448380779 Noida Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Noida Escorts | 100% verifiedSector 62, Noida Call girls :8448380779 Noida Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Noida Escorts | 100% verifiedDelhi Call girls
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar TrainingKylaCullinane
 
Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...
Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...
Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...Pooja Nehwal
 

Último (18)

lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.
 
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
 
My Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle BaileyMy Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle Bailey
 
Causes of poverty in France presentation.pptx
Causes of poverty in France presentation.pptxCauses of poverty in France presentation.pptx
Causes of poverty in France presentation.pptx
 
Digital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of DrupalDigital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of Drupal
 
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
Busty Desi⚡Call Girls in Sector 51 Noida Escorts >༒8448380779 Escort Service-...
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510
 
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfAWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
 
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdfThe workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
The workplace ecosystem of the future 24.4.2024 Fabritius_share ii.pdf
 
Dreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio IIIDreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio III
 
Dreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video TreatmentDreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video Treatment
 
Sector 62, Noida Call girls :8448380779 Noida Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Noida Escorts | 100% verifiedSector 62, Noida Call girls :8448380779 Noida Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Noida Escorts | 100% verified
 
ICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdfICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdf
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar Training
 
Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...
Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...
Aesthetic Colaba Mumbai Cst Call girls 📞 7738631006 Grant road Call Girls ❤️-...
 

Drupal as integration hub.odp

  • 1. Presented by James Purser // 06-03-2015 Drupal – At the centre of the web
  • 2. In the beginning... There was Drupal and it was good
  • 3. Drupal provides all... A Framework • Flexible content management system • Core set of libraries • User management • Comprehensive API • Large third party module set
  • 4. Sometimes Drupal needs to play with others...
  • 5. The horde... (but shhh the users don’t know) We built a Learning Platform out of different moving parts • CMS (Drupal) - For content • LMS (Moodle) - Learning Materials • Student Management System - Student and course metadata • Payment Gateways (x2) - e-commerce functionality • CRM (Salesforce) - Lead management • Identity Provider (SAML) • Amazon Web Services - Queues and Mail services
  • 6. The spider at the heart of the web...
  • 7. Why Drupal? Because of these bits • Core set of libraries • User management • Comprehensive API • Large third party module set • Flexible content management system
  • 8. Why Drupal? And these things: • Webservices support out of the box • hooks - ie: module_user_save allows us to ensure that all systems are updated when a user is updated in drupal. • PHP is a mature and flexible language and library set. • Drush is incredibly useful not only for development but bespoke cli and devops • Drupal framework features make developing new functionality easier
  • 9. A Real Time Comms Story... Creating a User (as part of module_user_save): • New user registers with Drupal • Drupal then does the following via real time webservices – Register the new user with the LMS – Register the new user with the Student Management System – Register the new user with the CRM – Updates its own user information with identifiers from each of the above.
  • 10. Queueing for an Invoice... Generating an invoice after enrollment: • User decides to enrol, goes through e-commerce process • If all good (as in they have the money) – Student Management System completes enrollment with LMS – Then puts a message onto a payment queue for Drupal to process on a schedule – Drupal (via cron) pops the message, processes information and emails invoice to new student.
  • 11. Which would you pick? – Do you need to process in real time or can you wear a delay? – How much information are you trying to process at one time? – What resources do you have available (CPU, RAM etc)? – How will the service affect your applications operation? – What is your tolerance failure? – What data governance requirements do you have? – What are you comfortable with?
  • 12. Webservice vs Queue deathmatch... Webservices • Real time • Part of the page build • Widely supported • Multiple Protocols • Heavy on the resources • Load spikes can be dangerous • Not failure tolerant • Potential attack vector • A bit fiddly to test Queues • Delayed processing on a schedule • Light weight • Queue’s are more highly available than webservices • They buffer comms between system components • More tolerant to outages and peak load issues
  • 13. Monitoring your Integration Hub... • Having so many different system can make keeping track of the state of things difficult • With Drupal as our hub, we can leverage that to build a series of webservices that allow remote monitoring services to keep a close eye on the health of the system • Each check is an independent webservice/function. The response object is JSON
  • 15. Where possible go batch... • The problem with realtime is that if one part of the process goes down then everything goes down • Batch processing allows you to schedule how and when you process the requests, much better management of resources • Debugging is easier (trying to catch a live webservice call vs checking a packet on a queue)