SlideShare una empresa de Scribd logo
1 de 28
The Ultimate Event for Small Business Success.
Demystified: OAuth2,
DataService & Performance
Matthew Lewter
Engineering Manager, Infusionsoft
@matthew_lewter
The Ultimate Event for Small Business Success.
Agenda
• Infusionsoft API
• OAuth2.0
• Data Service & API Best Practices
• Q & A
The Ultimate Event for Small Business Success.
Introduction
• Software Engineer - 9 years (Java)
• Joined Infusionsoft in 2012
• Currently managing two engineering teams
that are focused on the creation of a next-gen
platform that supports small business
The Ultimate Event for Small Business Success.
The Ultimate Event for Small Business Success.
The Ultimate Event for Small Business Success.
Infusionsoft: The API
Let’s talk about it…
The Ultimate Event for Small Business Success.
Infusionsoft: The API
• XMLRPC
• Accounts for approximately 50% of all
Infusionsoft traffic!
• 65% of that traffic is handled via Data Service
The Ultimate Event for Small Business Success.
Infusionsoft: The API
Data Service Traffic (4 weeks)
The Ultimate Event for Small Business Success.
The Ultimate Event for Small Business Success.
Infusionsoft: The API
Authentication
•Legacy: Infusionsoft API Key
•New: OAuth2.0 Standard
The Ultimate Event for Small Business Success.
Infusionsoft: The API
OAuth2.0 (Beta)
•Provides a standard, tried-and-true means of
authenticating API consumers
•API Rate Limiting
– Consumers are throttled based on their own
usage, not the usage of others!
The Ultimate Event for Small Business Success.
“OAuth2 is rapidly becoming a preferred
authorization protocol, and is used by major
service providers such as Facebook and Github.”
-SpringSource
The Ultimate Event for Small Business Success.
Infusionsoft: The API
The Ultimate Event for Small Business Success.
…To the developer center!
The Ultimate Event for Small Business Success.
Infusionsoft: The API
OAuth2.0 Client Libraries (oauth.net/2)
•PHP
•Java
•Python
•.NET
•Ruby
•Javascript
The Ultimate Event for Small Business Success.
Get the most out of the API
Best Practices
The Ultimate Event for Small Business Success.
Use an SDK today!
• PHP (Infusionsoft Supported)
– help.infusionsoft.com/developers/api-basics
• iOS (Infusionsoft Supported)
– On its way!
• Java
– bitbucket.org/dietsoda/yail
The Ultimate Event for Small Business Success.
Data Service
• Favor the specific interface over Data Service
– Upgrade Path
– Performance
– Implementation improvements
– Help us, help you
The Ultimate Event for Small Business Success.
Data Service
• Limit Results (default is 1000)
• Leverage new DataService.count
• I/O Docs!
• https://developer.infusionsoft.com/docs/tabl
e_documentation
The Ultimate Event for Small Business Success.
Exception Handling
• Just do it!
• Look for exceptions
• Provide reasonable fallbacks
• Fail gracefully
The Ultimate Event for Small Business Success.
Exception Handling
“Applications in complex distributed
architectures have dozens of dependencies, each
of which will inevitably fail at some point. If not
isolated from these external failures, the host
application is at risk of being taken down with
them.”
-Netflix (Hystrix)
The Ultimate Event for Small Business Success.
Manage API Traffic
• Limit API Queries
• Questions to ask
– Do I absolutely have to make this call?
– Can I pull from a cache?
– How up to date does my data have to be?
• Leverage API Count
– Provides number of results
– Paging
The Ultimate Event for Small Business Success.
Cache Results
• Caching Libraries/Services
– Memcached
– APC (Alternative PHP Cache)
– Redis
– EhCache
– AngularJS ($cacheFactory)
– EmberJS (Ember Data)
The Ultimate Event for Small Business Success.
Throttling
• Plan for it
• Provide reasonable fallbacks
• Current
– Timeout (fail fast) – don’t block
• Future
– Watch for 403 Exception
The Ultimate Event for Small Business Success.
Avoid
• Assuming that everything is available at all
times
• Unhandled throttling
• Pulling the same, static data too many times
(Cache it!)
• Not reading the documentation
The Ultimate Event for Small Business Success.
The Ultimate Event for Small Business Success.
Examples can be found here:
https://github.com/mlewter
The Ultimate Event for Small Business Success.
Q & A

Más contenido relacionado

La actualidad más candente

Building with JIRA REST APIs and Webhooks
Building with JIRA REST APIs and WebhooksBuilding with JIRA REST APIs and Webhooks
Building with JIRA REST APIs and Webhooks
colleenfry
 

La actualidad más candente (20)

Self-Serve Marketing at VMware with Request Portals
Self-Serve Marketing at VMware with Request PortalsSelf-Serve Marketing at VMware with Request Portals
Self-Serve Marketing at VMware with Request Portals
 
Making Microservices work at Netflix
Making Microservices  work at NetflixMaking Microservices  work at Netflix
Making Microservices work at Netflix
 
Humana digitally transforming health and well-being with Pivotal cloud foundr...
Humana digitally transforming health and well-being with Pivotal cloud foundr...Humana digitally transforming health and well-being with Pivotal cloud foundr...
Humana digitally transforming health and well-being with Pivotal cloud foundr...
 
Practical DMD Scripting
Practical DMD Scripting Practical DMD Scripting
Practical DMD Scripting
 
5 Admins for 60,000 Users: Creating a High-Clearance Growth Strategy for the ...
5 Admins for 60,000 Users: Creating a High-Clearance Growth Strategy for the ...5 Admins for 60,000 Users: Creating a High-Clearance Growth Strategy for the ...
5 Admins for 60,000 Users: Creating a High-Clearance Growth Strategy for the ...
 
Atlas Desk Team – A Year With JIRA Service Desk - Dan Horsfall and Nikki Nguyen
Atlas Desk Team – A Year With JIRA Service Desk - Dan Horsfall and Nikki NguyenAtlas Desk Team – A Year With JIRA Service Desk - Dan Horsfall and Nikki Nguyen
Atlas Desk Team – A Year With JIRA Service Desk - Dan Horsfall and Nikki Nguyen
 
PayPal's Private Cloud @ Scale
PayPal's Private Cloud @ ScalePayPal's Private Cloud @ Scale
PayPal's Private Cloud @ Scale
 
Engineering Manager, Edge Insights @Netflix
Engineering Manager, Edge Insights @NetflixEngineering Manager, Edge Insights @Netflix
Engineering Manager, Edge Insights @Netflix
 
Building with JIRA REST APIs and Webhooks
Building with JIRA REST APIs and WebhooksBuilding with JIRA REST APIs and Webhooks
Building with JIRA REST APIs and Webhooks
 
AppSphere 15 - Expedia Lessons from the Trenches: Managing AppDynamics at Scale
AppSphere 15 - Expedia Lessons from the Trenches: Managing AppDynamics at ScaleAppSphere 15 - Expedia Lessons from the Trenches: Managing AppDynamics at Scale
AppSphere 15 - Expedia Lessons from the Trenches: Managing AppDynamics at Scale
 
Lean Change Management with JIRA Service Desk
Lean Change Management with JIRA Service DeskLean Change Management with JIRA Service Desk
Lean Change Management with JIRA Service Desk
 
Service fabric demo
Service fabric demoService fabric demo
Service fabric demo
 
AppSphere 15 - Process, Culture and Tools: The Transformation of Gannett and ...
AppSphere 15 - Process, Culture and Tools: The Transformation of Gannett and ...AppSphere 15 - Process, Culture and Tools: The Transformation of Gannett and ...
AppSphere 15 - Process, Culture and Tools: The Transformation of Gannett and ...
 
APIdays Paris 2018 - Make a building smart with API and serverless microservi...
APIdays Paris 2018 - Make a building smart with API and serverless microservi...APIdays Paris 2018 - Make a building smart with API and serverless microservi...
APIdays Paris 2018 - Make a building smart with API and serverless microservi...
 
ThousandEyes EMEA - Salesforce Monitoring Best Practices
ThousandEyes EMEA - Salesforce Monitoring Best PracticesThousandEyes EMEA - Salesforce Monitoring Best Practices
ThousandEyes EMEA - Salesforce Monitoring Best Practices
 
Transform Fearlessly to Serverless with Dynatrace 2 - DEM07 - Toronto AWS Summit
Transform Fearlessly to Serverless with Dynatrace 2 - DEM07 - Toronto AWS SummitTransform Fearlessly to Serverless with Dynatrace 2 - DEM07 - Toronto AWS Summit
Transform Fearlessly to Serverless with Dynatrace 2 - DEM07 - Toronto AWS Summit
 
Become the Master of Your DNS
Become the Master of Your DNSBecome the Master of Your DNS
Become the Master of Your DNS
 
Building & sustaining a monitoring team in a multi-application landscape
Building & sustaining a monitoring team in a multi-application landscapeBuilding & sustaining a monitoring team in a multi-application landscape
Building & sustaining a monitoring team in a multi-application landscape
 
AppSphere 15 - Preparing for System Failure: How Pearson used AppDynamics to ...
AppSphere 15 - Preparing for System Failure: How Pearson used AppDynamics to ...AppSphere 15 - Preparing for System Failure: How Pearson used AppDynamics to ...
AppSphere 15 - Preparing for System Failure: How Pearson used AppDynamics to ...
 
Hidden Costs of Chasing the Mythical 'Five Nines'
Hidden Costs of Chasing the Mythical 'Five Nines'Hidden Costs of Chasing the Mythical 'Five Nines'
Hidden Costs of Chasing the Mythical 'Five Nines'
 

Similar a Matthew Lewter - Demystified

Wendel Schultz & Michael Fairchild - Live Q&A on Advanced Infusionsoft API To...
Wendel Schultz & Michael Fairchild - Live Q&A on Advanced Infusionsoft API To...Wendel Schultz & Michael Fairchild - Live Q&A on Advanced Infusionsoft API To...
Wendel Schultz & Michael Fairchild - Live Q&A on Advanced Infusionsoft API To...
Infusionsoft
 
How to stop fingerpointing when your application is down
How to stop fingerpointing when your application is downHow to stop fingerpointing when your application is down
How to stop fingerpointing when your application is down
Compuware ASEAN
 
ActiveEon - Automate, Accelerate, Scale
ActiveEon - Automate, Accelerate, ScaleActiveEon - Automate, Accelerate, Scale
ActiveEon - Automate, Accelerate, Scale
Activeeon
 

Similar a Matthew Lewter - Demystified (20)

Wendel Schultz & Michael Fairchild - Live Q&A on Advanced Infusionsoft API To...
Wendel Schultz & Michael Fairchild - Live Q&A on Advanced Infusionsoft API To...Wendel Schultz & Michael Fairchild - Live Q&A on Advanced Infusionsoft API To...
Wendel Schultz & Michael Fairchild - Live Q&A on Advanced Infusionsoft API To...
 
How to stop fingerpointing when your application is down
How to stop fingerpointing when your application is downHow to stop fingerpointing when your application is down
How to stop fingerpointing when your application is down
 
Cloud Service Management: Why Machine Learning is Now Essential
Cloud Service Management: Why Machine Learning is Now EssentialCloud Service Management: Why Machine Learning is Now Essential
Cloud Service Management: Why Machine Learning is Now Essential
 
Guiding Principles for the Low Code Revolution – Intuit QuickBase EMPOWER2015...
Guiding Principles for the Low Code Revolution – Intuit QuickBase EMPOWER2015...Guiding Principles for the Low Code Revolution – Intuit QuickBase EMPOWER2015...
Guiding Principles for the Low Code Revolution – Intuit QuickBase EMPOWER2015...
 
The Business Case for Node.js
The Business Case for Node.jsThe Business Case for Node.js
The Business Case for Node.js
 
The Business Justification for APM
The Business Justification for APMThe Business Justification for APM
The Business Justification for APM
 
AppSphere 15 - AppDynamics: Beyond APM - Building an Operations Center
AppSphere 15 - AppDynamics: Beyond APM - Building an Operations CenterAppSphere 15 - AppDynamics: Beyond APM - Building an Operations Center
AppSphere 15 - AppDynamics: Beyond APM - Building an Operations Center
 
apidays LIVE Australia 2020 - Events are Cool Again! by Nelson Petracek
apidays LIVE Australia 2020 -  Events are Cool Again! by Nelson Petracekapidays LIVE Australia 2020 -  Events are Cool Again! by Nelson Petracek
apidays LIVE Australia 2020 - Events are Cool Again! by Nelson Petracek
 
Accenture Java meetup
Accenture Java meetupAccenture Java meetup
Accenture Java meetup
 
How to consolidate Citrix Monitoring in a Single Pane of Glass
How to consolidate Citrix Monitoring in a Single Pane of GlassHow to consolidate Citrix Monitoring in a Single Pane of Glass
How to consolidate Citrix Monitoring in a Single Pane of Glass
 
Managin business process in microservice architecture
Managin business process in microservice architectureManagin business process in microservice architecture
Managin business process in microservice architecture
 
MuleSoft Surat Meetup#51 - API Monitoring - Through a New Lens
MuleSoft Surat Meetup#51 - API Monitoring - Through a New LensMuleSoft Surat Meetup#51 - API Monitoring - Through a New Lens
MuleSoft Surat Meetup#51 - API Monitoring - Through a New Lens
 
Webinar: Explore REST API Integration, Process Flow Management and AI-based E...
Webinar: Explore REST API Integration, Process Flow Management and AI-based E...Webinar: Explore REST API Integration, Process Flow Management and AI-based E...
Webinar: Explore REST API Integration, Process Flow Management and AI-based E...
 
Enabling a Real-Time, Agile, Event-Driven Enterprise
Enabling a Real-Time, Agile, Event-Driven EnterpriseEnabling a Real-Time, Agile, Event-Driven Enterprise
Enabling a Real-Time, Agile, Event-Driven Enterprise
 
ActiveEon - Automate, Accelerate, Scale
ActiveEon - Automate, Accelerate, ScaleActiveEon - Automate, Accelerate, Scale
ActiveEon - Automate, Accelerate, Scale
 
A DevOps adoption playbook- achieving business value at scale
A DevOps adoption playbook- achieving business value at scaleA DevOps adoption playbook- achieving business value at scale
A DevOps adoption playbook- achieving business value at scale
 
The Role of Enterprise Integration in Digital Transformation
The Role of Enterprise Integration in Digital TransformationThe Role of Enterprise Integration in Digital Transformation
The Role of Enterprise Integration in Digital Transformation
 
WSO2Con USA 2017: The Role of Enterprise Integration in Digital Transformation
WSO2Con USA 2017: The Role of Enterprise Integration in Digital TransformationWSO2Con USA 2017: The Role of Enterprise Integration in Digital Transformation
WSO2Con USA 2017: The Role of Enterprise Integration in Digital Transformation
 
Hewlett Packard Enterprise View on Going Big with API Management - Applicatio...
Hewlett Packard Enterprise View on Going Big with API Management - Applicatio...Hewlett Packard Enterprise View on Going Big with API Management - Applicatio...
Hewlett Packard Enterprise View on Going Big with API Management - Applicatio...
 
Em.key
Em.keyEm.key
Em.key
 

Más de Infusionsoft

JJ Ramberg - Keynote
JJ Ramberg - KeynoteJJ Ramberg - Keynote
JJ Ramberg - Keynote
Infusionsoft
 
Clate Mask & Scott Martineau - Elite Forum Keynote
Clate Mask & Scott Martineau - Elite Forum Keynote Clate Mask & Scott Martineau - Elite Forum Keynote
Clate Mask & Scott Martineau - Elite Forum Keynote
Infusionsoft
 

Más de Infusionsoft (20)

How Small Businesses Define and Achieve Success
How Small Businesses Define and Achieve SuccessHow Small Businesses Define and Achieve Success
How Small Businesses Define and Achieve Success
 
Lifecycle Marketing for Nonprofit organizations to drive donations and volunt...
Lifecycle Marketing for Nonprofit organizations to drive donations and volunt...Lifecycle Marketing for Nonprofit organizations to drive donations and volunt...
Lifecycle Marketing for Nonprofit organizations to drive donations and volunt...
 
Marketplace Overview (Infusionsoft Mastermind Webinar)
Marketplace Overview (Infusionsoft Mastermind Webinar)Marketplace Overview (Infusionsoft Mastermind Webinar)
Marketplace Overview (Infusionsoft Mastermind Webinar)
 
Alex Houg - Facebook Ads
Alex Houg - Facebook AdsAlex Houg - Facebook Ads
Alex Houg - Facebook Ads
 
Danny Iny - Copywriting
Danny Iny - CopywritingDanny Iny - Copywriting
Danny Iny - Copywriting
 
Scott Martineau - Delivering Beyond Expectation
Scott Martineau - Delivering Beyond ExpectationScott Martineau - Delivering Beyond Expectation
Scott Martineau - Delivering Beyond Expectation
 
Michael Goodman - Secrets for Converting Sales
Michael Goodman - Secrets for Converting SalesMichael Goodman - Secrets for Converting Sales
Michael Goodman - Secrets for Converting Sales
 
Dave Sherman - Stop Wasting Your Best Leads
Dave Sherman - Stop Wasting Your Best LeadsDave Sherman - Stop Wasting Your Best Leads
Dave Sherman - Stop Wasting Your Best Leads
 
Ramon Ray - Date Your Leads and Marry Your Customers
Ramon Ray - Date Your Leads and Marry Your CustomersRamon Ray - Date Your Leads and Marry Your Customers
Ramon Ray - Date Your Leads and Marry Your Customers
 
Bobby Edelman & Melissa Rein - Attract
Bobby Edelman & Melissa Rein - AttractBobby Edelman & Melissa Rein - Attract
Bobby Edelman & Melissa Rein - Attract
 
Darcy Juarez - Magnetic Marketing
Darcy Juarez - Magnetic MarketingDarcy Juarez - Magnetic Marketing
Darcy Juarez - Magnetic Marketing
 
Small Business ICON Competition 2014
Small Business ICON Competition 2014Small Business ICON Competition 2014
Small Business ICON Competition 2014
 
Small Business ICON Awards 2014
Small Business ICON Awards 2014Small Business ICON Awards 2014
Small Business ICON Awards 2014
 
JJ Ramberg - Keynote
JJ Ramberg - KeynoteJJ Ramberg - Keynote
JJ Ramberg - Keynote
 
Clate Mask & Scott Martineau - Elite Forum Keynote
Clate Mask & Scott Martineau - Elite Forum Keynote Clate Mask & Scott Martineau - Elite Forum Keynote
Clate Mask & Scott Martineau - Elite Forum Keynote
 
Mario Guerrero - Automating the Sales Cycle
Mario Guerrero - Automating the Sales CycleMario Guerrero - Automating the Sales Cycle
Mario Guerrero - Automating the Sales Cycle
 
Nadine Larder - Printer Bees
Nadine Larder - Printer BeesNadine Larder - Printer Bees
Nadine Larder - Printer Bees
 
Andy Michaels & Gonz Medina - Blue Chip
Andy Michaels & Gonz Medina - Blue Chip Andy Michaels & Gonz Medina - Blue Chip
Andy Michaels & Gonz Medina - Blue Chip
 
Tyler & Don Smith - Select Photo Graphics
Tyler & Don Smith - Select Photo GraphicsTyler & Don Smith - Select Photo Graphics
Tyler & Don Smith - Select Photo Graphics
 
Janette Gleason - Marketing = top of mind awareness
Janette Gleason - Marketing = top of mind awarenessJanette Gleason - Marketing = top of mind awareness
Janette Gleason - Marketing = top of mind awareness
 

Último

Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al MizharAl Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
allensay1
 

Último (20)

Berhampur Call Girl Just Call 8084732287 Top Class Call Girl Service Available
Berhampur Call Girl Just Call 8084732287 Top Class Call Girl Service AvailableBerhampur Call Girl Just Call 8084732287 Top Class Call Girl Service Available
Berhampur Call Girl Just Call 8084732287 Top Class Call Girl Service Available
 
Pre Engineered Building Manufacturers Hyderabad.pptx
Pre Engineered  Building Manufacturers Hyderabad.pptxPre Engineered  Building Manufacturers Hyderabad.pptx
Pre Engineered Building Manufacturers Hyderabad.pptx
 
Berhampur 70918*19311 CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Berhampur 70918*19311 CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDINGBerhampur 70918*19311 CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Berhampur 70918*19311 CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
 
PARK STREET 💋 Call Girl 9827461493 Call Girls in Escort service book now
PARK STREET 💋 Call Girl 9827461493 Call Girls in  Escort service book nowPARK STREET 💋 Call Girl 9827461493 Call Girls in  Escort service book now
PARK STREET 💋 Call Girl 9827461493 Call Girls in Escort service book now
 
Durg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTS
Durg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTSDurg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTS
Durg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTS
 
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
 
PHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation FinalPHX May 2024 Corporate Presentation Final
PHX May 2024 Corporate Presentation Final
 
GUWAHATI 💋 Call Girl 9827461493 Call Girls in Escort service book now
GUWAHATI 💋 Call Girl 9827461493 Call Girls in  Escort service book nowGUWAHATI 💋 Call Girl 9827461493 Call Girls in  Escort service book now
GUWAHATI 💋 Call Girl 9827461493 Call Girls in Escort service book now
 
Paradip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Paradip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDINGParadip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Paradip CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
 
Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024
 
Falcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investorsFalcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investors
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
 
UAE Bur Dubai Call Girls ☏ 0564401582 Call Girl in Bur Dubai
UAE Bur Dubai Call Girls ☏ 0564401582 Call Girl in Bur DubaiUAE Bur Dubai Call Girls ☏ 0564401582 Call Girl in Bur Dubai
UAE Bur Dubai Call Girls ☏ 0564401582 Call Girl in Bur Dubai
 
Ooty Call Gril 80022//12248 Only For Sex And High Profile Best Gril Sex Avail...
Ooty Call Gril 80022//12248 Only For Sex And High Profile Best Gril Sex Avail...Ooty Call Gril 80022//12248 Only For Sex And High Profile Best Gril Sex Avail...
Ooty Call Gril 80022//12248 Only For Sex And High Profile Best Gril Sex Avail...
 
Cannabis Legalization World Map: 2024 Updated
Cannabis Legalization World Map: 2024 UpdatedCannabis Legalization World Map: 2024 Updated
Cannabis Legalization World Map: 2024 Updated
 
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al MizharAl Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
Al Mizhar Dubai Escorts +971561403006 Escorts Service In Al Mizhar
 
Berhampur 70918*19311 CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Berhampur 70918*19311 CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDINGBerhampur 70918*19311 CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Berhampur 70918*19311 CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
 
Falcon Invoice Discounting: Empowering Your Business Growth
Falcon Invoice Discounting: Empowering Your Business GrowthFalcon Invoice Discounting: Empowering Your Business Growth
Falcon Invoice Discounting: Empowering Your Business Growth
 
Escorts in Nungambakkam Phone 8250092165 Enjoy 24/7 Escort Service Enjoy Your...
Escorts in Nungambakkam Phone 8250092165 Enjoy 24/7 Escort Service Enjoy Your...Escorts in Nungambakkam Phone 8250092165 Enjoy 24/7 Escort Service Enjoy Your...
Escorts in Nungambakkam Phone 8250092165 Enjoy 24/7 Escort Service Enjoy Your...
 
Falcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business PotentialFalcon Invoice Discounting: Unlock Your Business Potential
Falcon Invoice Discounting: Unlock Your Business Potential
 

Matthew Lewter - Demystified

  • 1. The Ultimate Event for Small Business Success. Demystified: OAuth2, DataService & Performance Matthew Lewter Engineering Manager, Infusionsoft @matthew_lewter
  • 2. The Ultimate Event for Small Business Success. Agenda • Infusionsoft API • OAuth2.0 • Data Service & API Best Practices • Q & A
  • 3. The Ultimate Event for Small Business Success. Introduction • Software Engineer - 9 years (Java) • Joined Infusionsoft in 2012 • Currently managing two engineering teams that are focused on the creation of a next-gen platform that supports small business
  • 4. The Ultimate Event for Small Business Success.
  • 5. The Ultimate Event for Small Business Success.
  • 6. The Ultimate Event for Small Business Success. Infusionsoft: The API Let’s talk about it…
  • 7. The Ultimate Event for Small Business Success. Infusionsoft: The API • XMLRPC • Accounts for approximately 50% of all Infusionsoft traffic! • 65% of that traffic is handled via Data Service
  • 8. The Ultimate Event for Small Business Success. Infusionsoft: The API Data Service Traffic (4 weeks)
  • 9. The Ultimate Event for Small Business Success.
  • 10. The Ultimate Event for Small Business Success. Infusionsoft: The API Authentication •Legacy: Infusionsoft API Key •New: OAuth2.0 Standard
  • 11. The Ultimate Event for Small Business Success. Infusionsoft: The API OAuth2.0 (Beta) •Provides a standard, tried-and-true means of authenticating API consumers •API Rate Limiting – Consumers are throttled based on their own usage, not the usage of others!
  • 12. The Ultimate Event for Small Business Success. “OAuth2 is rapidly becoming a preferred authorization protocol, and is used by major service providers such as Facebook and Github.” -SpringSource
  • 13. The Ultimate Event for Small Business Success. Infusionsoft: The API
  • 14. The Ultimate Event for Small Business Success. …To the developer center!
  • 15. The Ultimate Event for Small Business Success. Infusionsoft: The API OAuth2.0 Client Libraries (oauth.net/2) •PHP •Java •Python •.NET •Ruby •Javascript
  • 16. The Ultimate Event for Small Business Success. Get the most out of the API Best Practices
  • 17. The Ultimate Event for Small Business Success. Use an SDK today! • PHP (Infusionsoft Supported) – help.infusionsoft.com/developers/api-basics • iOS (Infusionsoft Supported) – On its way! • Java – bitbucket.org/dietsoda/yail
  • 18. The Ultimate Event for Small Business Success. Data Service • Favor the specific interface over Data Service – Upgrade Path – Performance – Implementation improvements – Help us, help you
  • 19. The Ultimate Event for Small Business Success. Data Service • Limit Results (default is 1000) • Leverage new DataService.count • I/O Docs! • https://developer.infusionsoft.com/docs/tabl e_documentation
  • 20. The Ultimate Event for Small Business Success. Exception Handling • Just do it! • Look for exceptions • Provide reasonable fallbacks • Fail gracefully
  • 21. The Ultimate Event for Small Business Success. Exception Handling “Applications in complex distributed architectures have dozens of dependencies, each of which will inevitably fail at some point. If not isolated from these external failures, the host application is at risk of being taken down with them.” -Netflix (Hystrix)
  • 22. The Ultimate Event for Small Business Success. Manage API Traffic • Limit API Queries • Questions to ask – Do I absolutely have to make this call? – Can I pull from a cache? – How up to date does my data have to be? • Leverage API Count – Provides number of results – Paging
  • 23. The Ultimate Event for Small Business Success. Cache Results • Caching Libraries/Services – Memcached – APC (Alternative PHP Cache) – Redis – EhCache – AngularJS ($cacheFactory) – EmberJS (Ember Data)
  • 24. The Ultimate Event for Small Business Success. Throttling • Plan for it • Provide reasonable fallbacks • Current – Timeout (fail fast) – don’t block • Future – Watch for 403 Exception
  • 25. The Ultimate Event for Small Business Success. Avoid • Assuming that everything is available at all times • Unhandled throttling • Pulling the same, static data too many times (Cache it!) • Not reading the documentation
  • 26. The Ultimate Event for Small Business Success.
  • 27. The Ultimate Event for Small Business Success. Examples can be found here: https://github.com/mlewter
  • 28. The Ultimate Event for Small Business Success. Q & A

Notas del editor

  1. ** A square-shaped photo will work best in this circle-photo layout. To add photo inside the circle shape: click the icon inside the photo Navigate to the location of desired photo on your computer and select the file Click ‘insert’ and your photo will be inserted