SlideShare a Scribd company logo
1 of 30
Download to read offline
Scalable Salesforce
Integrations
on a Shoestring Budget
Giuseppe Cardace
@gcardax
• Context: Acrotec use-case scenario
• Technical Solution (and new exciting options!)
• Demo
• Q&A
Agenda
Giuseppe Cardace
Group Head of IT,
Acrotec
@gcardax
Acrotec Use-Case: 1 Group | 3 Divisions | 25+ Companies
Watchmaking &
Jewellery
51% of turnover
Movement Components
Machines & Tooling
Surface Treatment & Decoration
Jewellery
Medtech
21% of turnover
Implants, Instruments, Pumps
Precision
High-Tech
28% of turnover
Connectivity, Automotive,
Aerospace & Defence
Acrotec Group History
2009
2001 2006 2015 2016 2017 2018
Creation of
2014
ACQUISITIONS OF THE ACROTEC GROUP
ORGANIC DEVELOPMENT
Extension
Merger
Additional plant
2019
New plant
New plant
2021
New plant
2020
Creation of
New Swiss plant
Technical Side – Context
Single Salesforce org for all subsidiaries
(~ 120 Salesforce Users)
Need to cooperate but also to keep data segregated by company
on most objects
(=Private Org-Wide Defaults + Sharing Settings)
Very limited number of IT employees
<10 IT FTEs for 1300+ employees
(sometimes external providers only)
No on-premise infrastructure
Low IT budget
15+ Legacy & non-mainstream ERP systems
Got it! Let’s talk cheap
real-time integrations,
now!
“We need to transfer data from
Salesforce to our ERPs in real-time…
we can’t wait 5 minutes!
- Any End-User
• Why do you need it?
• How many ERPs?
• Data Volumes?
• Data change frequency?
Heroku Connect with
ERPs reading
PostgreSQL DB?
Which skills and system
capabilities do we have
on both ends?
Architect
Point-to-Point,
Hub & Spoke,
Service Bus
Scheduled ETL?
Full-fledged ESB?
Wait a minute! What’s the
available budget?
Architecting the solution in 2018…
Business Sponsor
So… What was the available budget?
Technical Architect
Technical Solution
A sustainable low-code & low-budget architecture
Integration from Salesforce to ERPs via shared DB
High-level Architecture
Could also be
done with
Flows now!
Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace
Integration from Salesforce to ERPs via shared DB
Detailed Architecture
Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace
Salesforce: Outbound Messaging
Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace
Ø Declarative: Admins can configure it
Ø Contract-First: Uses WSDL, SOAP & XML
Ø Sends asynchronous notifications from
workflow rules or approval processes
Ø Bulkified: up to 100 notifications /msg
Ø Automatic retries for 24 hours
Ø Monitoring tool
Ø Independent retries:
Message order not guaranteed
Ø Because a message may be delivered
more than once, your listener client
should check the notification IDs
delivered in the notification before
processing.
Ø Since it’s Workflow-based, it’s limited
to Inserts and Updates
Benefits Concerns / Tradeoffs
Unfortunately, for the time being, «Before Delete» Flows
cannot use Outbound Messages…
AWS: API Gateway
Ø Declarative or Programmatic
Ø Integrates with other services, e.g.:
■ run AWS Lambda
■ pass payload to SQS, SNS, etc.
■ start AWS Step Functions
Ø Autoscale & Configurable Resiliency
Ø Authentication
Ø Optimized for REST services with
JSON payloads
Ø Workaround: wrap SOAP XML
message as a String into a JSON
object
Benefits Concerns / Tradeoffs
Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace
AWS: SQS – «Standard» or «FIFO»
Ø At-Least-Once Delivery (Standard):
A message is delivered at least once,
but occasionally more than one copy
of a message is delivered.
Ø Best-effort ordering (Standard):
Queue triggers are not supported by
FIFO queues
Ø Message size: max 256 KB/message
(invoiced in 64 KB-chunks)
→ Save by message bulkification
Standard Queue with Triggers à now you can use FIFO!
Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace
Ø Declarative or Programmatic
Ø Configurable retention period:
default 4 days [1 min to 14 days]
Ø Unlimited Throughput (Standard)
Ø No upfront costs → Pay per use
Ø Server Side Encryption
Ø Dead Letter Queues (DLQ)
Benefits Concerns / Tradeoffs
AWS SQS FIFO queues are now
supporting triggers, so order of
messages is guaranteed!
AWS: Lambda
Ø Requires some coding skills
💡 Save implementation and
maintenance time by using some
graphical tool that generates robust
code!
Serverless compute
Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace
Ø Auto-scaled serverless functions
Ø Built-in multi AZ fault tolerance:
no maintenance windows or downtimes
Ø No upfront costs → charged by 100ms
Ø Reusable: pass Context in Env variables
Ø Flexible resources: config memory &
timeout period→ proportional CPU,
network, disk I/O
Benefits Concerns / Tradeoffs
«Write» your code faster
Ø Free, open source, Apache license
Ø Graphical design environment
(Eclipse-based)
Ø Hundreds of connectors: Salesforce,
SAP, Marketo, Oracle, MS SQL server,
PostgreSQL, MySQL, AWS, Azure,
Dropbox, Box, SMTP, FTP/SFTP, etc.
Ø File management: open, move, zip
Ø Control and orchestrate data flows
Ø Map, aggregate, sort, enrich, and merge
data
Ø The executable JAR produced by
Talend cannot run as-is in AWS
Lambda
Ø Use Amazon SDK in a small wrapper
Java application; add the JAR to the
build path and execute the Talend
job’s runJob method
Talend Open Studio for Data Integration
Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace
Benefits Concerns / Tradeoffs
What does it look like? (1/3)
Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace
Talend Open Studio for Data Integration
What does it look like? (2/3)
Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace
Talend Open Studio for Data Integration
What does it look like? (3/3)
Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace
Talend Open Studio for Data Integration
AWS: RDS PostgreSQL
Ø Requires some PostgreSQL-
specific knowledge to create users,
tables, views, triggers, and
especially to
configure row-level security
policies
Serverless Database
Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace
Ø Fault-tolerant: Multi-AZ deployments
with automatic switch in case of issues
Ø Automatic software patching
Ø Scalable:
• Push-button compute scaling:
up to 32 vCPUs and 244 GiB RAM
• Easy storage scaling: no downtimes
Benefits Concerns / Tradeoffs
AWS: CloudWatch (Logs & Monitoring)
Unified Log Collection and Analysis
Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace
Ø Custom Log Retention Periods
by service and lambda function
Ø Built-In Metrics for the main services
Ø Set Alert thresholds on key metrics
Ø Create your own dashboards!
Benefits
What about costs?
Service Avg Monthly
Cost
Amazon API Gateway ~ 0.5 USD
AWS SQS
(1M requests/month are free)
~ 5 USD
AWS Lambda
(1M requests/month are free)
~ 1 USD
AWS RDS PostgreSQL
(64 GB SSD)
~ 75 USD
AWS CloudWatch Logs
*(incl. several metrics, alerts & logs from
other solutions we have on AWS)
~ 25 USD*
Total < 120 USD
Ø Low volume of transactions →
shift from very high fixed recurring costs
to a “pay per transaction” model
Ø Pay only for what you use
(RDS runs 24/7)
Ø Keep budget under control with
configurable alerts
Ø Free tiers available
Ø Cost Simulation Tool:
https://calculator.s3.amazonaws.com/index.html
Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace
Benefits
Demo-time!
Real-time
integration
Recorded Demo… just in case (~3 min)
Sharing is caring!
Adapt the presented architecture to
your own needs, follow the step-by-
step instructions on my blog to
reproduce the demo and share your
experience!
Now it’s your turn!
https://bit.ly/sfdcarchitect
dreamOlé 2022 - Giuseppe Cardace - Scalable Salesforce Integrations in a Shoestring Budget
dreamOlé 2022 - Giuseppe Cardace - Scalable Salesforce Integrations in a Shoestring Budget

More Related Content

Similar to dreamOlé 2022 - Giuseppe Cardace - Scalable Salesforce Integrations in a Shoestring Budget

Similar to dreamOlé 2022 - Giuseppe Cardace - Scalable Salesforce Integrations in a Shoestring Budget (20)

Customer Sharing: Trend Micro - Analytic Engine - A common Big Data computati...
Customer Sharing: Trend Micro - Analytic Engine - A common Big Data computati...Customer Sharing: Trend Micro - Analytic Engine - A common Big Data computati...
Customer Sharing: Trend Micro - Analytic Engine - A common Big Data computati...
 
analytic engine - a common big data computation service on the aws
analytic engine - a common big data computation service on the awsanalytic engine - a common big data computation service on the aws
analytic engine - a common big data computation service on the aws
 
Building a Global Multi-Tenant Monitoring Platform
Building a Global Multi-Tenant Monitoring PlatformBuilding a Global Multi-Tenant Monitoring Platform
Building a Global Multi-Tenant Monitoring Platform
 
AMF304-Optimizing Design and Engineering Performance in the Cloud for Manufac...
AMF304-Optimizing Design and Engineering Performance in the Cloud for Manufac...AMF304-Optimizing Design and Engineering Performance in the Cloud for Manufac...
AMF304-Optimizing Design and Engineering Performance in the Cloud for Manufac...
 
Webinar How to Achieve True Scalability in SaaS Applications
Webinar How to Achieve True Scalability in SaaS ApplicationsWebinar How to Achieve True Scalability in SaaS Applications
Webinar How to Achieve True Scalability in SaaS Applications
 
Serverless Architecture 101 ⚡
Serverless Architecture 101 ⚡Serverless Architecture 101 ⚡
Serverless Architecture 101 ⚡
 
OK, I Need an IoT Service. Now What??
OK, I Need an IoT Service. Now What??OK, I Need an IoT Service. Now What??
OK, I Need an IoT Service. Now What??
 
Migrating Enterprise Applications to AWS: Best Practices & Techniques (ENT303...
Migrating Enterprise Applications to AWS: Best Practices & Techniques (ENT303...Migrating Enterprise Applications to AWS: Best Practices & Techniques (ENT303...
Migrating Enterprise Applications to AWS: Best Practices & Techniques (ENT303...
 
AWS Summit Stockholm 2014 – B2 – Migrating enterprise applications to AWS
AWS Summit Stockholm 2014 – B2 – Migrating enterprise applications to AWSAWS Summit Stockholm 2014 – B2 – Migrating enterprise applications to AWS
AWS Summit Stockholm 2014 – B2 – Migrating enterprise applications to AWS
 
Aws 101 A walk-through the aws cloud (2013)
Aws 101  A walk-through the aws cloud (2013)Aws 101  A walk-through the aws cloud (2013)
Aws 101 A walk-through the aws cloud (2013)
 
AWS Big Data Solution Days
AWS Big Data Solution DaysAWS Big Data Solution Days
AWS Big Data Solution Days
 
Cloudy in Indonesia: Java and Cloud
Cloudy in Indonesia: Java and CloudCloudy in Indonesia: Java and Cloud
Cloudy in Indonesia: Java and Cloud
 
Amf304 optimizing-design-and-e-660cc73d-5c4c-4331-8f59-48cccdc1b7f4-135588426...
Amf304 optimizing-design-and-e-660cc73d-5c4c-4331-8f59-48cccdc1b7f4-135588426...Amf304 optimizing-design-and-e-660cc73d-5c4c-4331-8f59-48cccdc1b7f4-135588426...
Amf304 optimizing-design-and-e-660cc73d-5c4c-4331-8f59-48cccdc1b7f4-135588426...
 
Running SAP All-in-One ERP production system deployment on the AWS cloud
Running SAP All-in-One ERP production system deployment on the AWS cloudRunning SAP All-in-One ERP production system deployment on the AWS cloud
Running SAP All-in-One ERP production system deployment on the AWS cloud
 
Connect Bridge
Connect BridgeConnect Bridge
Connect Bridge
 
1 App,
1 App, 1 App,
1 App,
 
AWS Enterprise Day | Running Critical Business Applications on AWS
AWS Enterprise Day | Running Critical Business Applications on AWSAWS Enterprise Day | Running Critical Business Applications on AWS
AWS Enterprise Day | Running Critical Business Applications on AWS
 
Ml ops on AWS
Ml ops on AWSMl ops on AWS
Ml ops on AWS
 
Moving Legacy Apps to Cloud: How to Avoid Risk
Moving Legacy Apps to Cloud: How to Avoid RiskMoving Legacy Apps to Cloud: How to Avoid Risk
Moving Legacy Apps to Cloud: How to Avoid Risk
 
Lessons from Building Large-Scale, Multi-Cloud, SaaS Software at Databricks
Lessons from Building Large-Scale, Multi-Cloud, SaaS Software at DatabricksLessons from Building Large-Scale, Multi-Cloud, SaaS Software at Databricks
Lessons from Building Large-Scale, Multi-Cloud, SaaS Software at Databricks
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

dreamOlé 2022 - Giuseppe Cardace - Scalable Salesforce Integrations in a Shoestring Budget

  • 1.
  • 2. Scalable Salesforce Integrations on a Shoestring Budget Giuseppe Cardace @gcardax
  • 3. • Context: Acrotec use-case scenario • Technical Solution (and new exciting options!) • Demo • Q&A Agenda
  • 4. Giuseppe Cardace Group Head of IT, Acrotec @gcardax
  • 5. Acrotec Use-Case: 1 Group | 3 Divisions | 25+ Companies Watchmaking & Jewellery 51% of turnover Movement Components Machines & Tooling Surface Treatment & Decoration Jewellery Medtech 21% of turnover Implants, Instruments, Pumps Precision High-Tech 28% of turnover Connectivity, Automotive, Aerospace & Defence
  • 6. Acrotec Group History 2009 2001 2006 2015 2016 2017 2018 Creation of 2014 ACQUISITIONS OF THE ACROTEC GROUP ORGANIC DEVELOPMENT Extension Merger Additional plant 2019 New plant New plant 2021 New plant 2020 Creation of New Swiss plant
  • 7. Technical Side – Context Single Salesforce org for all subsidiaries (~ 120 Salesforce Users) Need to cooperate but also to keep data segregated by company on most objects (=Private Org-Wide Defaults + Sharing Settings) Very limited number of IT employees <10 IT FTEs for 1300+ employees (sometimes external providers only) No on-premise infrastructure Low IT budget 15+ Legacy & non-mainstream ERP systems
  • 8. Got it! Let’s talk cheap real-time integrations, now!
  • 9. “We need to transfer data from Salesforce to our ERPs in real-time… we can’t wait 5 minutes! - Any End-User
  • 10. • Why do you need it? • How many ERPs? • Data Volumes? • Data change frequency? Heroku Connect with ERPs reading PostgreSQL DB? Which skills and system capabilities do we have on both ends? Architect Point-to-Point, Hub & Spoke, Service Bus Scheduled ETL? Full-fledged ESB? Wait a minute! What’s the available budget? Architecting the solution in 2018…
  • 11. Business Sponsor So… What was the available budget? Technical Architect
  • 12. Technical Solution A sustainable low-code & low-budget architecture
  • 13. Integration from Salesforce to ERPs via shared DB High-level Architecture Could also be done with Flows now! Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace
  • 14. Integration from Salesforce to ERPs via shared DB Detailed Architecture Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace
  • 15. Salesforce: Outbound Messaging Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace Ø Declarative: Admins can configure it Ø Contract-First: Uses WSDL, SOAP & XML Ø Sends asynchronous notifications from workflow rules or approval processes Ø Bulkified: up to 100 notifications /msg Ø Automatic retries for 24 hours Ø Monitoring tool Ø Independent retries: Message order not guaranteed Ø Because a message may be delivered more than once, your listener client should check the notification IDs delivered in the notification before processing. Ø Since it’s Workflow-based, it’s limited to Inserts and Updates Benefits Concerns / Tradeoffs Unfortunately, for the time being, «Before Delete» Flows cannot use Outbound Messages…
  • 16. AWS: API Gateway Ø Declarative or Programmatic Ø Integrates with other services, e.g.: ■ run AWS Lambda ■ pass payload to SQS, SNS, etc. ■ start AWS Step Functions Ø Autoscale & Configurable Resiliency Ø Authentication Ø Optimized for REST services with JSON payloads Ø Workaround: wrap SOAP XML message as a String into a JSON object Benefits Concerns / Tradeoffs Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace
  • 17. AWS: SQS – «Standard» or «FIFO» Ø At-Least-Once Delivery (Standard): A message is delivered at least once, but occasionally more than one copy of a message is delivered. Ø Best-effort ordering (Standard): Queue triggers are not supported by FIFO queues Ø Message size: max 256 KB/message (invoiced in 64 KB-chunks) → Save by message bulkification Standard Queue with Triggers à now you can use FIFO! Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace Ø Declarative or Programmatic Ø Configurable retention period: default 4 days [1 min to 14 days] Ø Unlimited Throughput (Standard) Ø No upfront costs → Pay per use Ø Server Side Encryption Ø Dead Letter Queues (DLQ) Benefits Concerns / Tradeoffs AWS SQS FIFO queues are now supporting triggers, so order of messages is guaranteed!
  • 18. AWS: Lambda Ø Requires some coding skills 💡 Save implementation and maintenance time by using some graphical tool that generates robust code! Serverless compute Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace Ø Auto-scaled serverless functions Ø Built-in multi AZ fault tolerance: no maintenance windows or downtimes Ø No upfront costs → charged by 100ms Ø Reusable: pass Context in Env variables Ø Flexible resources: config memory & timeout period→ proportional CPU, network, disk I/O Benefits Concerns / Tradeoffs
  • 19. «Write» your code faster Ø Free, open source, Apache license Ø Graphical design environment (Eclipse-based) Ø Hundreds of connectors: Salesforce, SAP, Marketo, Oracle, MS SQL server, PostgreSQL, MySQL, AWS, Azure, Dropbox, Box, SMTP, FTP/SFTP, etc. Ø File management: open, move, zip Ø Control and orchestrate data flows Ø Map, aggregate, sort, enrich, and merge data Ø The executable JAR produced by Talend cannot run as-is in AWS Lambda Ø Use Amazon SDK in a small wrapper Java application; add the JAR to the build path and execute the Talend job’s runJob method Talend Open Studio for Data Integration Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace Benefits Concerns / Tradeoffs
  • 20. What does it look like? (1/3) Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace Talend Open Studio for Data Integration
  • 21. What does it look like? (2/3) Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace Talend Open Studio for Data Integration
  • 22. What does it look like? (3/3) Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace Talend Open Studio for Data Integration
  • 23. AWS: RDS PostgreSQL Ø Requires some PostgreSQL- specific knowledge to create users, tables, views, triggers, and especially to configure row-level security policies Serverless Database Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace Ø Fault-tolerant: Multi-AZ deployments with automatic switch in case of issues Ø Automatic software patching Ø Scalable: • Push-button compute scaling: up to 32 vCPUs and 244 GiB RAM • Easy storage scaling: no downtimes Benefits Concerns / Tradeoffs
  • 24. AWS: CloudWatch (Logs & Monitoring) Unified Log Collection and Analysis Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace Ø Custom Log Retention Periods by service and lambda function Ø Built-In Metrics for the main services Ø Set Alert thresholds on key metrics Ø Create your own dashboards! Benefits
  • 25. What about costs? Service Avg Monthly Cost Amazon API Gateway ~ 0.5 USD AWS SQS (1M requests/month are free) ~ 5 USD AWS Lambda (1M requests/month are free) ~ 1 USD AWS RDS PostgreSQL (64 GB SSD) ~ 75 USD AWS CloudWatch Logs *(incl. several metrics, alerts & logs from other solutions we have on AWS) ~ 25 USD* Total < 120 USD Ø Low volume of transactions → shift from very high fixed recurring costs to a “pay per transaction” model Ø Pay only for what you use (RDS runs 24/7) Ø Keep budget under control with configurable alerts Ø Free tiers available Ø Cost Simulation Tool: https://calculator.s3.amazonaws.com/index.html Scalable Salesforce Integrations on a Shoestring Budget – Giuseppe Cardace Benefits
  • 27. Recorded Demo… just in case (~3 min)
  • 28. Sharing is caring! Adapt the presented architecture to your own needs, follow the step-by- step instructions on my blog to reproduce the demo and share your experience! Now it’s your turn! https://bit.ly/sfdcarchitect