Embracing Serverless: reengineering a real-estate digital marketplace

BATbern
BATbernBATbern
Embracing Serverless:
reengineering a real-estate
digital marketplace
The journey of transitioning an on-premises monolithic real estate
application to a fully serverless, event-driven microservices stack on AWS.
BATBern 10.11.2023
Guido Trüeb
Principal Cloud Engineer @ SMG real-estate
Building and breaking software since 2005, I've embraced serverless architectures at homegate.ch since
2019. A firm believer in simplicity and compassionate teamwork, I relish optimizing software and
collaboration - particularly fondly of removing code.
About me
About us
Real Estate
Automotive General
Marketplaces
Finance &
Insurance
Real Estate
Automotive General
Marketplaces
Finance &
Insurance
We empower
everyone to
make the best decisions
for Swiss real estate,
digital and simple
We empower
everyone to
make the best decisions
for Swiss real estate,
digital and simple
Embracing Serverless: reengineering a real-estate digital marketplace
1 2 3
Attract talents
(culture + tech stack)
Scale the team
(event-driven microservices)
Focus on core business
(serverless)
Pressure from competition…
…let's bring value faster!
4 years later…
5 years later…
We are a team of over 90 people,
divided into 13 teams, managing
around 50 services and
applications. Out of these, 15 are
critical for maintaining the core user
journeys.
~2 million page views per day
~1 million active search subscriptions
generating ~2 million notifications
daily
Seasonal peaks on March and
October, besides the daily and
weekly fluctuations.
* numbers from homegate.ch only
Disclaimers
Serverless in our context
"Build and run applications without thinking about servers."
Serverless in our context
"Build and run applications without thinking about servers."
● running code
● managing data
● integrating applications
Serverless in our context
"Build and run applications without thinking about servers."
● running code
● managing data
● integrating applications
● automatic scaling
● built-in high availability
● pay-for-use billing model
Highly-distributed
solutions expose
complexity and
limitations
For example
DynamoDB query capabilities
● Data distributed by partition keys
● Indexes characteristics/limitations
SNS/SQS at-least-once out-of-order delivery
● Listeners must handle events idempotently
S3 eventual consistency and storage classes
Serverless scales, but…
Downstream systems do not scale endlessly.
● AWS services have requests limits or other quotas
● 3rd party services have requests limits
Be aware of service characteristics and its limitations.
Vast portfolio of services
A lot of building blocks ready to be assembled
to solve your problems
Every service has useful and capable features
Features and services introduced weekly
Freshly released features solving real problems
A lot of building blocks to choose from in your
design (analysis paralysis)
Every service has limitations
Features and services to be learned weekly
Freshly released features sometimes
unpolished
Steep learning
curve: education and
support
Documentation and
tooling improved a
lot since 5 years ago
Cost-benefit of serverless…
Search Alerts
Search Alerts
Volume:
~2 million notifications per day
< $0.14 per 1000 notifications
General costs
perspective
Fairly predictable and easy
possible to calculate
Lambda: ~5% of the total costs
Step Functions: ~8% of the total costs
Other main costs drivers:
● RDS & DynamoDB
● Cloudwatch
● S3
Stable pricing (sometimes get
cheaper)
Multi-Account Setup
SSO
PROVISIONING
BILLING
Special
Purpose
Accounts
Assume
Login
Developers
Service A Test
Service B Test
Test Stage
Accounts
Service A Test
Service B Test
Service A Test
Accounts
Service A
Accounts
Service B
Production
Stage
Accounts
API Prod
Authentication Prod
Shared Services
Assume
Read Only
Assume
Admin
Creates
Updates
GITLAB
runners
Domain
Management
AWS
Cognito
Budget alarms and
cost-effective design
Undeniable advantages
● Security and cost-effectiveness.
Shared responsibility model and pay-as-you-go model
● Real-time scalability and reliability.
Happiest on-call team in town
● Nearly infinite development boxes.
No surprises on production
Server-side rendered listing page
Business impact
● Availability and traffic management.
State-of-the-art bot control and latency improvements (w/ SEO benefits)
● Shift in observability focus.
More business-centric, less infrastructure-centric
● User-centric design mindset with faster iterations.
Worry less about tech, more about impact
Business impact
● Faster and scalable processes.
Listings take seconds to be available online and notifications sent
● Time to market.
Many new features released while reengineering (including hackathons)
● Developer experience.
Time dedicated to infrastructure is shifted to relevant improvements
Serverless is not a
hammer
● We're not snowflakes: many are going through
similar challenges.
● When you start tinkering too much, look for
alternatives.
● Infrastructure as Code is crucial: choose wisely.
● Carefully handle back pressure in event-driven
services.
Questions?
1 of 35

Recommended

WSO2 ITALIA SMART TALK #4 - Telefonica Use Case by
WSO2 ITALIA SMART TALK #4 - Telefonica Use CaseWSO2 ITALIA SMART TALK #4 - Telefonica Use Case
WSO2 ITALIA SMART TALK #4 - Telefonica Use CaseProfesia Srl, Lynx Group
8 views42 slides
IBM Z for the Digital Enterprise - IBM Z Software Keynote by
IBM Z for the Digital Enterprise - IBM Z Software KeynoteIBM Z for the Digital Enterprise - IBM Z Software Keynote
IBM Z for the Digital Enterprise - IBM Z Software KeynoteDevOps for Enterprise Systems
472 views38 slides
2011.02. Ecosystème SaaS et Cloud 2011 - Enjeux et Perspectives - Point de Vu... by
2011.02. Ecosystème SaaS et Cloud 2011 - Enjeux et Perspectives - Point de Vu...2011.02. Ecosystème SaaS et Cloud 2011 - Enjeux et Perspectives - Point de Vu...
2011.02. Ecosystème SaaS et Cloud 2011 - Enjeux et Perspectives - Point de Vu...Club Alliances
1.5K views55 slides
Builder: A human-assisted AI platform that lets you build, run, and scale sof... by
Builder: A human-assisted AI platform that lets you build, run, and scale sof...Builder: A human-assisted AI platform that lets you build, run, and scale sof...
Builder: A human-assisted AI platform that lets you build, run, and scale sof...Amazon Web Services
1K views30 slides
digat3 by
digat3digat3
digat3Tareq Saleh
196 views22 slides
Secure, Strengthen, Automate, and Scale Modern Workloads with Red Hat & NGINX by
Secure, Strengthen, Automate, and Scale Modern Workloads with Red Hat & NGINXSecure, Strengthen, Automate, and Scale Modern Workloads with Red Hat & NGINX
Secure, Strengthen, Automate, and Scale Modern Workloads with Red Hat & NGINXNGINX, Inc.
288 views40 slides

More Related Content

Similar to Embracing Serverless: reengineering a real-estate digital marketplace

Insurance - Open Source Analytics Dashboards for Real Time Business Overview by
Insurance - Open Source Analytics Dashboards for Real Time Business OverviewInsurance - Open Source Analytics Dashboards for Real Time Business Overview
Insurance - Open Source Analytics Dashboards for Real Time Business OverviewEuro IT Group
1.4K views21 slides
AWS AWSome Day London July 2015 by
AWS AWSome Day London July 2015 AWS AWSome Day London July 2015
AWS AWSome Day London July 2015 Ian Massingham
1.1K views50 slides
Come costruire un'architettura Serverless nel Cloud AWS by
Come costruire un'architettura Serverless nel Cloud AWSCome costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWSAmazon Web Services
764 views155 slides
[WSO2Con EU 2018] Implementing a Zero Downtime WSO2 API Manager with an API C... by
[WSO2Con EU 2018] Implementing a Zero Downtime WSO2 API Manager with an API C...[WSO2Con EU 2018] Implementing a Zero Downtime WSO2 API Manager with an API C...
[WSO2Con EU 2018] Implementing a Zero Downtime WSO2 API Manager with an API C...WSO2
435 views26 slides
Swot Analysis Of It Industry by
Swot Analysis Of It IndustrySwot Analysis Of It Industry
Swot Analysis Of It IndustryYolanda Jenkins
2 views42 slides
AWS Summit Berlin 2013 - Realtech - How to Determine the Economic Value of SA... by
AWS Summit Berlin 2013 - Realtech - How to Determine the Economic Value of SA...AWS Summit Berlin 2013 - Realtech - How to Determine the Economic Value of SA...
AWS Summit Berlin 2013 - Realtech - How to Determine the Economic Value of SA...AWS Germany
2.3K views33 slides

Similar to Embracing Serverless: reengineering a real-estate digital marketplace(20)

Insurance - Open Source Analytics Dashboards for Real Time Business Overview by Euro IT Group
Insurance - Open Source Analytics Dashboards for Real Time Business OverviewInsurance - Open Source Analytics Dashboards for Real Time Business Overview
Insurance - Open Source Analytics Dashboards for Real Time Business Overview
Euro IT Group1.4K views
AWS AWSome Day London July 2015 by Ian Massingham
AWS AWSome Day London July 2015 AWS AWSome Day London July 2015
AWS AWSome Day London July 2015
Ian Massingham1.1K views
Come costruire un'architettura Serverless nel Cloud AWS by Amazon Web Services
Come costruire un'architettura Serverless nel Cloud AWSCome costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWS
[WSO2Con EU 2018] Implementing a Zero Downtime WSO2 API Manager with an API C... by WSO2
[WSO2Con EU 2018] Implementing a Zero Downtime WSO2 API Manager with an API C...[WSO2Con EU 2018] Implementing a Zero Downtime WSO2 API Manager with an API C...
[WSO2Con EU 2018] Implementing a Zero Downtime WSO2 API Manager with an API C...
WSO2435 views
AWS Summit Berlin 2013 - Realtech - How to Determine the Economic Value of SA... by AWS Germany
AWS Summit Berlin 2013 - Realtech - How to Determine the Economic Value of SA...AWS Summit Berlin 2013 - Realtech - How to Determine the Economic Value of SA...
AWS Summit Berlin 2013 - Realtech - How to Determine the Economic Value of SA...
AWS Germany2.3K views
MindSphere: The cloud-based, open IoT operating system. Damiano Manocchia by Data Driven Innovation
MindSphere: The cloud-based, open IoT operating system. Damiano ManocchiaMindSphere: The cloud-based, open IoT operating system. Damiano Manocchia
MindSphere: The cloud-based, open IoT operating system. Damiano Manocchia
HRSeminar F&O Ulrich Penzkofer NRB by HRmagazine
HRSeminar F&O Ulrich Penzkofer NRBHRSeminar F&O Ulrich Penzkofer NRB
HRSeminar F&O Ulrich Penzkofer NRB
HRmagazine1.1K views
FDSeminar F&O Ulrich Penzkofer NRB by FDMagazine
FDSeminar F&O Ulrich Penzkofer NRBFDSeminar F&O Ulrich Penzkofer NRB
FDSeminar F&O Ulrich Penzkofer NRB
FDMagazine1.2K views
Keynote, Intergen Dynamics Day '10 by Intergen
Keynote, Intergen Dynamics Day '10Keynote, Intergen Dynamics Day '10
Keynote, Intergen Dynamics Day '10
Intergen976 views
2011.11.22 - Cloud Infrastructure Provider - 8ème Forum du Club Cloud des Par... by Club Cloud des Partenaires
2011.11.22 - Cloud Infrastructure Provider - 8ème Forum du Club Cloud des Par...2011.11.22 - Cloud Infrastructure Provider - 8ème Forum du Club Cloud des Par...
2011.11.22 - Cloud Infrastructure Provider - 8ème Forum du Club Cloud des Par...
DevOps as a Service - our own true story with a happy ending (JuCParis 2018) by Philippe Ensarguet
DevOps as a Service - our own true story with a happy ending (JuCParis 2018)DevOps as a Service - our own true story with a happy ending (JuCParis 2018)
DevOps as a Service - our own true story with a happy ending (JuCParis 2018)
Philippe Ensarguet325 views
Cut Costs On Your Licence Based IT services by Ben Thompson
Cut Costs On Your Licence Based IT servicesCut Costs On Your Licence Based IT services
Cut Costs On Your Licence Based IT services
Ben Thompson59 views
Team Topologies in Action: early results from industry @ DevOps Enterprise Su... by Manuel Pais
Team Topologies in Action: early results from industry @ DevOps Enterprise Su...Team Topologies in Action: early results from industry @ DevOps Enterprise Su...
Team Topologies in Action: early results from industry @ DevOps Enterprise Su...
Manuel Pais251 views

More from BATbern

Serverless und Event-Driven Architecture by
Serverless und Event-Driven ArchitectureServerless und Event-Driven Architecture
Serverless und Event-Driven ArchitectureBATbern
30 views11 slides
Serverless Dev(Ops) in der Praxis by
Serverless Dev(Ops) in der PraxisServerless Dev(Ops) in der Praxis
Serverless Dev(Ops) in der PraxisBATbern
25 views23 slides
Serverless at Lifestage by
Serverless at LifestageServerless at Lifestage
Serverless at LifestageBATbern
32 views22 slides
BATbern51 Serverless?! by
BATbern51 Serverless?!BATbern51 Serverless?!
BATbern51 Serverless?!BATbern
12 views9 slides
Ein Rückblick anlässlich des 50. BAT aus Sicht eines treuen Partners by
Ein Rückblick anlässlich des 50. BAT aus Sicht eines treuen PartnersEin Rückblick anlässlich des 50. BAT aus Sicht eines treuen Partners
Ein Rückblick anlässlich des 50. BAT aus Sicht eines treuen PartnersBATbern
20 views9 slides
MLOps journey at Swisscom: AI Use Cases, Architecture and Future Vision by
MLOps journey at Swisscom: AI Use Cases, Architecture and Future VisionMLOps journey at Swisscom: AI Use Cases, Architecture and Future Vision
MLOps journey at Swisscom: AI Use Cases, Architecture and Future VisionBATbern
218 views35 slides

More from BATbern(20)

Serverless und Event-Driven Architecture by BATbern
Serverless und Event-Driven ArchitectureServerless und Event-Driven Architecture
Serverless und Event-Driven Architecture
BATbern30 views
Serverless Dev(Ops) in der Praxis by BATbern
Serverless Dev(Ops) in der PraxisServerless Dev(Ops) in der Praxis
Serverless Dev(Ops) in der Praxis
BATbern25 views
Serverless at Lifestage by BATbern
Serverless at LifestageServerless at Lifestage
Serverless at Lifestage
BATbern32 views
BATbern51 Serverless?! by BATbern
BATbern51 Serverless?!BATbern51 Serverless?!
BATbern51 Serverless?!
BATbern12 views
Ein Rückblick anlässlich des 50. BAT aus Sicht eines treuen Partners by BATbern
Ein Rückblick anlässlich des 50. BAT aus Sicht eines treuen PartnersEin Rückblick anlässlich des 50. BAT aus Sicht eines treuen Partners
Ein Rückblick anlässlich des 50. BAT aus Sicht eines treuen Partners
BATbern20 views
MLOps journey at Swisscom: AI Use Cases, Architecture and Future Vision by BATbern
MLOps journey at Swisscom: AI Use Cases, Architecture and Future VisionMLOps journey at Swisscom: AI Use Cases, Architecture and Future Vision
MLOps journey at Swisscom: AI Use Cases, Architecture and Future Vision
BATbern218 views
From Ideation to Production in 7 days: The Scoring Factory at Raiffeisen by BATbern
From Ideation to Production in 7 days: The Scoring Factory at RaiffeisenFrom Ideation to Production in 7 days: The Scoring Factory at Raiffeisen
From Ideation to Production in 7 days: The Scoring Factory at Raiffeisen
BATbern65 views
The Future of Coaching in Sport with AI/ML by BATbern
The Future of Coaching in Sport with AI/MLThe Future of Coaching in Sport with AI/ML
The Future of Coaching in Sport with AI/ML
BATbern49 views
Klassifizierung von Versicherungsschäden – AI und MLOps bei der Mobiliar by BATbern
Klassifizierung von Versicherungsschäden – AI und MLOps bei der MobiliarKlassifizierung von Versicherungsschäden – AI und MLOps bei der Mobiliar
Klassifizierung von Versicherungsschäden – AI und MLOps bei der Mobiliar
BATbern98 views
BATbern48_ZeroTrust-Konzept und Realität.pdf by BATbern
BATbern48_ZeroTrust-Konzept und Realität.pdfBATbern48_ZeroTrust-Konzept und Realität.pdf
BATbern48_ZeroTrust-Konzept und Realität.pdf
BATbern390 views
BATbern48_How Zero Trust can help your organisation keep safe.pdf by BATbern
BATbern48_How Zero Trust can help your organisation keep safe.pdfBATbern48_How Zero Trust can help your organisation keep safe.pdf
BATbern48_How Zero Trust can help your organisation keep safe.pdf
BATbern320 views
BATbern48_Zero Trust Architektur des ISC-EJPD.pdf by BATbern
BATbern48_Zero Trust Architektur des ISC-EJPD.pdfBATbern48_Zero Trust Architektur des ISC-EJPD.pdf
BATbern48_Zero Trust Architektur des ISC-EJPD.pdf
BATbern158 views
Why did the shift-left end up in the cloud for Bank Julius Baer? by BATbern
Why did the shift-left end up in the cloud for Bank Julius Baer?Why did the shift-left end up in the cloud for Bank Julius Baer?
Why did the shift-left end up in the cloud for Bank Julius Baer?
BATbern402 views
Creating a Product through DevOps: The Story of APPUiO Cloud by BATbern
Creating a Product through DevOps: The Story of APPUiO CloudCreating a Product through DevOps: The Story of APPUiO Cloud
Creating a Product through DevOps: The Story of APPUiO Cloud
BATbern116 views
Zeitnahe Reaktion auf Verordnungsänderungen mit Feature Toggles by BATbern
Zeitnahe Reaktion auf Verordnungsänderungen mit Feature TogglesZeitnahe Reaktion auf Verordnungsänderungen mit Feature Toggles
Zeitnahe Reaktion auf Verordnungsänderungen mit Feature Toggles
BATbern66 views
DevSecOps-Teams das Security-Steuer überlassen by BATbern
DevSecOps-Teams das Security-Steuer überlassenDevSecOps-Teams das Security-Steuer überlassen
DevSecOps-Teams das Security-Steuer überlassen
BATbern59 views
Compliance und Governance in der DevOps-Acht by BATbern
Compliance und Governance in der DevOps-AchtCompliance und Governance in der DevOps-Acht
Compliance und Governance in der DevOps-Acht
BATbern249 views
Shift Left Security by BATbern
Shift Left SecurityShift Left Security
Shift Left Security
BATbern241 views
Erfolgreich scheitern mit Shift Left und DevOps by BATbern
Erfolgreich scheitern mit Shift Left und DevOpsErfolgreich scheitern mit Shift Left und DevOps
Erfolgreich scheitern mit Shift Left und DevOps
BATbern35 views
Shift Left fängt ganz links an by BATbern
Shift Left fängt ganz links anShift Left fängt ganz links an
Shift Left fängt ganz links an
BATbern107 views

Recently uploaded

MemVerge: Memory Viewer Software by
MemVerge: Memory Viewer SoftwareMemVerge: Memory Viewer Software
MemVerge: Memory Viewer SoftwareCXL Forum
118 views10 slides
PharoJS - Zürich Smalltalk Group Meetup November 2023 by
PharoJS - Zürich Smalltalk Group Meetup November 2023PharoJS - Zürich Smalltalk Group Meetup November 2023
PharoJS - Zürich Smalltalk Group Meetup November 2023Noury Bouraqadi
113 views17 slides
MemVerge: Past Present and Future of CXL by
MemVerge: Past Present and Future of CXLMemVerge: Past Present and Future of CXL
MemVerge: Past Present and Future of CXLCXL Forum
110 views26 slides
Java Platform Approach 1.0 - Picnic Meetup by
Java Platform Approach 1.0 - Picnic MeetupJava Platform Approach 1.0 - Picnic Meetup
Java Platform Approach 1.0 - Picnic MeetupRick Ossendrijver
25 views39 slides
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV by
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTVSplunk
86 views20 slides
AI: mind, matter, meaning, metaphors, being, becoming, life values by
AI: mind, matter, meaning, metaphors, being, becoming, life valuesAI: mind, matter, meaning, metaphors, being, becoming, life values
AI: mind, matter, meaning, metaphors, being, becoming, life valuesTwain Liu 刘秋艳
34 views16 slides

Recently uploaded(20)

MemVerge: Memory Viewer Software by CXL Forum
MemVerge: Memory Viewer SoftwareMemVerge: Memory Viewer Software
MemVerge: Memory Viewer Software
CXL Forum118 views
PharoJS - Zürich Smalltalk Group Meetup November 2023 by Noury Bouraqadi
PharoJS - Zürich Smalltalk Group Meetup November 2023PharoJS - Zürich Smalltalk Group Meetup November 2023
PharoJS - Zürich Smalltalk Group Meetup November 2023
Noury Bouraqadi113 views
MemVerge: Past Present and Future of CXL by CXL Forum
MemVerge: Past Present and Future of CXLMemVerge: Past Present and Future of CXL
MemVerge: Past Present and Future of CXL
CXL Forum110 views
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV by Splunk
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV
Splunk86 views
AI: mind, matter, meaning, metaphors, being, becoming, life values by Twain Liu 刘秋艳
AI: mind, matter, meaning, metaphors, being, becoming, life valuesAI: mind, matter, meaning, metaphors, being, becoming, life values
AI: mind, matter, meaning, metaphors, being, becoming, life values
"Ukrainian Mobile Banking Scaling in Practice. From 0 to 100 and beyond", Vad... by Fwdays
"Ukrainian Mobile Banking Scaling in Practice. From 0 to 100 and beyond", Vad..."Ukrainian Mobile Banking Scaling in Practice. From 0 to 100 and beyond", Vad...
"Ukrainian Mobile Banking Scaling in Practice. From 0 to 100 and beyond", Vad...
Fwdays40 views
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum... by NUS-ISS
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...
NUS-ISS28 views
How to reduce cold starts for Java Serverless applications in AWS at JCON Wor... by Vadym Kazulkin
How to reduce cold starts for Java Serverless applications in AWS at JCON Wor...How to reduce cold starts for Java Serverless applications in AWS at JCON Wor...
How to reduce cold starts for Java Serverless applications in AWS at JCON Wor...
Vadym Kazulkin70 views
Liqid: Composable CXL Preview by CXL Forum
Liqid: Composable CXL PreviewLiqid: Composable CXL Preview
Liqid: Composable CXL Preview
CXL Forum121 views
Data-centric AI and the convergence of data and model engineering: opportunit... by Paolo Missier
Data-centric AI and the convergence of data and model engineering:opportunit...Data-centric AI and the convergence of data and model engineering:opportunit...
Data-centric AI and the convergence of data and model engineering: opportunit...
Paolo Missier29 views
"Thriving Culture in a Product Company — Practical Story", Volodymyr Tsukur by Fwdays
"Thriving Culture in a Product Company — Practical Story", Volodymyr Tsukur"Thriving Culture in a Product Company — Practical Story", Volodymyr Tsukur
"Thriving Culture in a Product Company — Practical Story", Volodymyr Tsukur
Fwdays40 views
Combining Orchestration and Choreography for a Clean Architecture by ThomasHeinrichs1
Combining Orchestration and Choreography for a Clean ArchitectureCombining Orchestration and Choreography for a Clean Architecture
Combining Orchestration and Choreography for a Clean Architecture
ThomasHeinrichs168 views
MemVerge: Gismo (Global IO-free Shared Memory Objects) by CXL Forum
MemVerge: Gismo (Global IO-free Shared Memory Objects)MemVerge: Gismo (Global IO-free Shared Memory Objects)
MemVerge: Gismo (Global IO-free Shared Memory Objects)
CXL Forum112 views
Empathic Computing: Delivering the Potential of the Metaverse by Mark Billinghurst
Empathic Computing: Delivering  the Potential of the MetaverseEmpathic Computing: Delivering  the Potential of the Metaverse
Empathic Computing: Delivering the Potential of the Metaverse
Mark Billinghurst449 views
AMD: 4th Generation EPYC CXL Demo by CXL Forum
AMD: 4th Generation EPYC CXL DemoAMD: 4th Generation EPYC CXL Demo
AMD: 4th Generation EPYC CXL Demo
CXL Forum126 views
"How we switched to Kanban and how it integrates with product planning", Vady... by Fwdays
"How we switched to Kanban and how it integrates with product planning", Vady..."How we switched to Kanban and how it integrates with product planning", Vady...
"How we switched to Kanban and how it integrates with product planning", Vady...
Fwdays61 views
GigaIO: The March of Composability Onward to Memory with CXL by CXL Forum
GigaIO: The March of Composability Onward to Memory with CXLGigaIO: The March of Composability Onward to Memory with CXL
GigaIO: The March of Composability Onward to Memory with CXL
CXL Forum126 views
Business Analyst Series 2023 - Week 3 Session 5 by DianaGray10
Business Analyst Series 2023 -  Week 3 Session 5Business Analyst Series 2023 -  Week 3 Session 5
Business Analyst Series 2023 - Week 3 Session 5
DianaGray10165 views

Embracing Serverless: reengineering a real-estate digital marketplace

  • 1. Embracing Serverless: reengineering a real-estate digital marketplace The journey of transitioning an on-premises monolithic real estate application to a fully serverless, event-driven microservices stack on AWS. BATBern 10.11.2023
  • 2. Guido Trüeb Principal Cloud Engineer @ SMG real-estate Building and breaking software since 2005, I've embraced serverless architectures at homegate.ch since 2019. A firm believer in simplicity and compassionate teamwork, I relish optimizing software and collaboration - particularly fondly of removing code. About me
  • 3. About us Real Estate Automotive General Marketplaces Finance & Insurance
  • 5. We empower everyone to make the best decisions for Swiss real estate, digital and simple
  • 6. We empower everyone to make the best decisions for Swiss real estate, digital and simple
  • 8. 1 2 3 Attract talents (culture + tech stack) Scale the team (event-driven microservices) Focus on core business (serverless) Pressure from competition… …let's bring value faster!
  • 11. We are a team of over 90 people, divided into 13 teams, managing around 50 services and applications. Out of these, 15 are critical for maintaining the core user journeys.
  • 12. ~2 million page views per day ~1 million active search subscriptions generating ~2 million notifications daily Seasonal peaks on March and October, besides the daily and weekly fluctuations. * numbers from homegate.ch only
  • 14. Serverless in our context "Build and run applications without thinking about servers."
  • 15. Serverless in our context "Build and run applications without thinking about servers." ● running code ● managing data ● integrating applications
  • 16. Serverless in our context "Build and run applications without thinking about servers." ● running code ● managing data ● integrating applications ● automatic scaling ● built-in high availability ● pay-for-use billing model
  • 18. For example DynamoDB query capabilities ● Data distributed by partition keys ● Indexes characteristics/limitations SNS/SQS at-least-once out-of-order delivery ● Listeners must handle events idempotently S3 eventual consistency and storage classes
  • 19. Serverless scales, but… Downstream systems do not scale endlessly. ● AWS services have requests limits or other quotas ● 3rd party services have requests limits Be aware of service characteristics and its limitations.
  • 20. Vast portfolio of services A lot of building blocks ready to be assembled to solve your problems Every service has useful and capable features Features and services introduced weekly Freshly released features solving real problems A lot of building blocks to choose from in your design (analysis paralysis) Every service has limitations Features and services to be learned weekly Freshly released features sometimes unpolished
  • 22. Documentation and tooling improved a lot since 5 years ago
  • 25. Search Alerts Volume: ~2 million notifications per day < $0.14 per 1000 notifications
  • 26. General costs perspective Fairly predictable and easy possible to calculate Lambda: ~5% of the total costs Step Functions: ~8% of the total costs Other main costs drivers: ● RDS & DynamoDB ● Cloudwatch ● S3 Stable pricing (sometimes get cheaper)
  • 27. Multi-Account Setup SSO PROVISIONING BILLING Special Purpose Accounts Assume Login Developers Service A Test Service B Test Test Stage Accounts Service A Test Service B Test Service A Test Accounts Service A Accounts Service B Production Stage Accounts API Prod Authentication Prod Shared Services Assume Read Only Assume Admin Creates Updates GITLAB runners Domain Management AWS Cognito
  • 29. Undeniable advantages ● Security and cost-effectiveness. Shared responsibility model and pay-as-you-go model ● Real-time scalability and reliability. Happiest on-call team in town ● Nearly infinite development boxes. No surprises on production
  • 31. Business impact ● Availability and traffic management. State-of-the-art bot control and latency improvements (w/ SEO benefits) ● Shift in observability focus. More business-centric, less infrastructure-centric ● User-centric design mindset with faster iterations. Worry less about tech, more about impact
  • 32. Business impact ● Faster and scalable processes. Listings take seconds to be available online and notifications sent ● Time to market. Many new features released while reengineering (including hackathons) ● Developer experience. Time dedicated to infrastructure is shifted to relevant improvements
  • 33. Serverless is not a hammer
  • 34. ● We're not snowflakes: many are going through similar challenges. ● When you start tinkering too much, look for alternatives. ● Infrastructure as Code is crucial: choose wisely. ● Carefully handle back pressure in event-driven services.

Editor's Notes

  1. Our mission. What we do.
  2. How we do it: partner integrations, web pages and mobile apps
  3. Synergy and operational efficiency. IS24 infrastructure costs, with less traffic, higher than HG.
  4. Expect an increase of 60-80% in the load. No worries.
  5. Reduce security blast radius and empower teams with full ownership, including costs, ops and security.