際際滷

際際滷Share a Scribd company logo
Scaling the gaming platform @Betsson
Journey of the monolith
Roger Johansson
Akka.NET Co-Founder
Twitter: @rogeralsing
Github: rogeralsing
Mail: roger.johansson@betsson.com Github.com/rogeralsing/presentations
All material
from this
presentation
ABOUT BETSSON GROUP
1766Employees (Q2 2016)
+ 500 tech employees
+ 40 nationalities
2121 different brands
Across Europe, Central Asia & Latin America
41%
563,247
Active players
(Q2 2016)
0%
5%
10%
15%
20%
25%
30%
35%
0
500
1,000
1,500
2,000
2,500
3,000
3,500
4,000
2011 2012 2013 2014 2015 H1 2016
SEKm
Profitable Growth
Revenue EBIT margin
1963Company
founded
2014
Revenue
SEK 3,722 m
2015
EBIT
SEK 886 m
73%
Casino
24%
Sportsbook
Share of revenue
Listed on Nasdaq
Large Cap
Share of revenue
(Q2 2016)
Mobile
19.1%
Top line CAGR of 19.1% (2012-2015)
What to expect from this talk
A bit of history on where we came from in terms of architecture
Geekery about microservices, service discovery, Docker and .NET Core
I will not talk about Akka.NET
I am not an Ops guy
The Past
One Brand, One System
Bets10
The Monolith
We acquired more brands
Bets10
The Monolith
NordicBetBetsafe
??
Scaling the monolith
A monolithic application puts all its
functionality into a single process
and scales by replicating the
monolith on multiple servers
-Martin Fowler, James Lewis
Scaling by Instance
Instance 2
Brand C
Instance 3
Brand D
Instance 1
Brand A, B
Introducing SOA
Instance 1 Instance 2 Instance 3
Customer
Gaming
Campaigns

Customer
Gaming
Campaigns

Customer
Gaming
Campaigns

Still pretty
darn big
services
Challenges?
Point to point communication
Single
Message
Producer
Single
Message
Consumer
No
Redundancy
Doesnt
Scale
Shared Servers, Noisy Neighbours
Instance
Customer
Gaming
Campaigns
Instance
Single point of failure
Customer
Gaming
Campaigns
Same issue with deployment
Instance
Customer
Gaming
Campaigns

Down
during
deployment
Challenges!
 Scalability, Elasticity
 Isolation
 Availability
 Deployment
The Current
Adopting Microservices
Customer
Bounded Contexts
Login
Registration
Customer Data
Scaling Microservices
A microservice architecture puts
each element of functionality into a
separate service
and scales by distributing these services
across servers, replicating as needed
-Martin Fowler, James Lewis
Scaling Microservices
Where are
you guys!?
Im over
here!
Service Discovery
Service Registry
Publish I am A Publish I am B
Service A Service B
Service Discovery
Service Registry
Lookup Where is B?
Service A Service B
Service Discovery
Service Registry
CallService A Service B
Service Discovery
Service A3
Service A2
Service A1
Service B2
Service B1
Service B3
Service Registry
Leetspeak 2014, Niklas Gustavsson/Spotify
Service Discovery using DNS
Consul
Demo https://demo.consul.io/ui/
Microphone
.NET Consul
Microphone
Consul
.NET Service A
Microphone
I am A
Are you alive?
Where is X?
Consul enables
 Scalability  Locate service instances
 Availability  Find healthy instances
 Circuit Breakerish
 (Distributed Configuration)
Asp.NET Core
Demo Show Asp.NET Core with
Microphone
The future
Server
Docker
Login
Registration
Customer Data
Isolating
services from
eachother
Demo Docker Compose
Docker Compose
Cluster Schedulers
Cluster Schedulers
Server 2
Docker
Login
Registration
Customer Data
Server 1
Docker
Registration
Registration
.
Server 3
Docker
Login
.
.
Putting it all together
 Show Rancher UI
 Install Consul  Docker Compose
 Install Asp.NET Core services
 Show Consul UI
 Scale Services
 Redeploy Services
 Integrate with legacy services
Leetspeak
Ad

Recommended

PDF
Enabling Googley microservices with HTTP/2 and gRPC.
Alex Borysov
PDF
Digital Marketing: How to Justify Investments & Quantify Returns
Carpathia
PDF
Justifying Investments in Digital Marketing & Social Media
brianwinter
PDF
Justifying Investments in Digital Marketing & Social Media
brianwinter
PDF
Digital Marketing: How to Justify Investments & Quantify Returns
Brian Winter
PPTX
M365 virtual marathon build your first power virtual agents bot
Jenkins NS
PPTX
Automating the Localization Workflow. What Works?
Welocalize
DOCX
Profile
purna987
PDF
Crypto Launchpad Development Company
Mobiloitte Technologies
PDF
Key Industry Trends, M&A Valuation Trends
Schneider Electric
PPTX
Blockchain Development & Services
DJ Joshi
PPTX
Why Developers Care About Cloud Platforms
Sonian
PDF
Pol Vanbiervliet, Cisco: remove the barriers between space and time
Quadrant Communications
PPTX
Techorama 2014 - Azure API management and Service Virtualization
Sam Vanhoutte
PDF
TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver D旦rr - T...
Trivadis
PPTX
Using Oculus Rift and VR to Visualize Data on Salesforce
CodeScience
PPTX
Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices
BizTalk360
PPTX
Future of IT
Matt Deacon
PDF
ICO Development
Mobiloitte Technologies
PPTX
Microsoft Kinect & the Microsoft MIX11 Game Preview
DataLeader.io
PPTX
Juniper Corporate Presentation
mauthay
PPT
S+S Overview
Clint Edmonson
PPTX
Deliver Value to Empowered B2B Customers for Japan TFM&A
Paula Wang
PDF
Microsoft - Qual o segredo do sucesso em seu projeto embedded?
Embarcados
PDF
Microservice 4.0 Journey - From Spring NetFlix OSS to Istio Service Mesh and ...
Daniel Oh
PDF
Using Oculus Rift and Virtual Reality to Visualize Data on Salesforce
Salesforce Developers
PDF
Concurrency presentation
Ted Wentzel
PDF
Concurrency presentation
Ted Wentzel
PDF
Why Every Growing Business Needs a Staff Augmentation Company IN USA.pdf
mary rojas
PDF
Which Hiring Management Tools Offer the Best ROI?
HireME

More Related Content

Similar to Leetspeak (20)

PDF
Crypto Launchpad Development Company
Mobiloitte Technologies
PDF
Key Industry Trends, M&A Valuation Trends
Schneider Electric
PPTX
Blockchain Development & Services
DJ Joshi
PPTX
Why Developers Care About Cloud Platforms
Sonian
PDF
Pol Vanbiervliet, Cisco: remove the barriers between space and time
Quadrant Communications
PPTX
Techorama 2014 - Azure API management and Service Virtualization
Sam Vanhoutte
PDF
TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver D旦rr - T...
Trivadis
PPTX
Using Oculus Rift and VR to Visualize Data on Salesforce
CodeScience
PPTX
Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices
BizTalk360
PPTX
Future of IT
Matt Deacon
PDF
ICO Development
Mobiloitte Technologies
PPTX
Microsoft Kinect & the Microsoft MIX11 Game Preview
DataLeader.io
PPTX
Juniper Corporate Presentation
mauthay
PPT
S+S Overview
Clint Edmonson
PPTX
Deliver Value to Empowered B2B Customers for Japan TFM&A
Paula Wang
PDF
Microsoft - Qual o segredo do sucesso em seu projeto embedded?
Embarcados
PDF
Microservice 4.0 Journey - From Spring NetFlix OSS to Istio Service Mesh and ...
Daniel Oh
PDF
Using Oculus Rift and Virtual Reality to Visualize Data on Salesforce
Salesforce Developers
PDF
Concurrency presentation
Ted Wentzel
PDF
Concurrency presentation
Ted Wentzel
Crypto Launchpad Development Company
Mobiloitte Technologies
Key Industry Trends, M&A Valuation Trends
Schneider Electric
Blockchain Development & Services
DJ Joshi
Why Developers Care About Cloud Platforms
Sonian
Pol Vanbiervliet, Cisco: remove the barriers between space and time
Quadrant Communications
Techorama 2014 - Azure API management and Service Virtualization
Sam Vanhoutte
TechEvent 2019: More Agile, More AI, More Cloud! Less Work?!; Oliver D旦rr - T...
Trivadis
Using Oculus Rift and VR to Visualize Data on Salesforce
CodeScience
Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices
BizTalk360
Future of IT
Matt Deacon
ICO Development
Mobiloitte Technologies
Microsoft Kinect & the Microsoft MIX11 Game Preview
DataLeader.io
Juniper Corporate Presentation
mauthay
S+S Overview
Clint Edmonson
Deliver Value to Empowered B2B Customers for Japan TFM&A
Paula Wang
Microsoft - Qual o segredo do sucesso em seu projeto embedded?
Embarcados
Microservice 4.0 Journey - From Spring NetFlix OSS to Istio Service Mesh and ...
Daniel Oh
Using Oculus Rift and Virtual Reality to Visualize Data on Salesforce
Salesforce Developers
Concurrency presentation
Ted Wentzel
Concurrency presentation
Ted Wentzel

Recently uploaded (20)

PDF
Why Every Growing Business Needs a Staff Augmentation Company IN USA.pdf
mary rojas
PDF
Which Hiring Management Tools Offer the Best ROI?
HireME
PPTX
From Code to Commerce, a Backend Java Developer's Galactic Journey into Ecomm...
Jamie Coleman
PDF
Best Software Development at Best Prices
softechies7
PPTX
arctitecture application system design os dsa
za241967
PDF
Introduction to Agile Frameworks for Product Managers.pdf
Ali Vahed
PDF
Azure AI Foundry: The AI app and agent factory
Maxim Salnikov
DOCX
Enable Your Cloud Journey With Microsoft Trusted Partner | IFI Tech
IFI Techsolutions
PDF
A Guide to Telemedicine Software Development.pdf
Olivero Bozzelli
PDF
University Campus Navigation for All - Peak of Data & AI
Safe Software
PDF
CodeCleaner: Mitigating Data Contamination for LLM Benchmarking
arabelatso
PDF
Humans vs AI Call Agents - Qcall.ai's Special Report
Udit Goenka
PDF
Sysinfo OST to PST Converter Infographic
SysInfo Tools
PDF
Decipher SEO Solutions for your startup needs.
mathai2
PPT
Complete Guideliness to Build an Effective Maintenance Plan.ppt
QualityzeInc1
PPTX
AI for PV: Development and Governance for a Regulated Industry
Biologit
PDF
Best Practice for LLM Serving in the Cloud
Alluxio, Inc.
PDF
CodeCleaner: Mitigating Data Contamination for LLM Benchmarking
arabelatso
PDF
Simplify Task, Team, and Project Management with Orangescrum Work
Orangescrum
PDF
Modern Platform Engineering with Choreo - The AI-Native Internal Developer Pl...
WSO2
Why Every Growing Business Needs a Staff Augmentation Company IN USA.pdf
mary rojas
Which Hiring Management Tools Offer the Best ROI?
HireME
From Code to Commerce, a Backend Java Developer's Galactic Journey into Ecomm...
Jamie Coleman
Best Software Development at Best Prices
softechies7
arctitecture application system design os dsa
za241967
Introduction to Agile Frameworks for Product Managers.pdf
Ali Vahed
Azure AI Foundry: The AI app and agent factory
Maxim Salnikov
Enable Your Cloud Journey With Microsoft Trusted Partner | IFI Tech
IFI Techsolutions
A Guide to Telemedicine Software Development.pdf
Olivero Bozzelli
University Campus Navigation for All - Peak of Data & AI
Safe Software
CodeCleaner: Mitigating Data Contamination for LLM Benchmarking
arabelatso
Humans vs AI Call Agents - Qcall.ai's Special Report
Udit Goenka
Sysinfo OST to PST Converter Infographic
SysInfo Tools
Decipher SEO Solutions for your startup needs.
mathai2
Complete Guideliness to Build an Effective Maintenance Plan.ppt
QualityzeInc1
AI for PV: Development and Governance for a Regulated Industry
Biologit
Best Practice for LLM Serving in the Cloud
Alluxio, Inc.
CodeCleaner: Mitigating Data Contamination for LLM Benchmarking
arabelatso
Simplify Task, Team, and Project Management with Orangescrum Work
Orangescrum
Modern Platform Engineering with Choreo - The AI-Native Internal Developer Pl...
WSO2
Ad

Leetspeak

Editor's Notes

  • #3: Founded in 1963 -strong history -we know what were doing Strong growth of approx 10% annually and strong EBIT margins at around 25%. Q2 was a disappointment, but we have taken action and Q3 has started well. Despite Q2 revenue was less than we hoped for, we have a strong underlying activity with an all time high of active players during Q2. Betsson is listed at Nasdaq Stockholm large cap. Betssons board believes in return to shareholders and the direct yield is 5-5.5%. We employ close to 1800 people across Europe. Our largest site, where I am based, is Malta with some 800 employees