2. Rudy Martin
VP of Operations | Trustpilot
rma@trustpilot.com
@Whozfoxy
3. Trustpilot is an online review
community helping consumers choose
with confidence, while enabling
companies to grow their business.
Trustpilot at a glance
● 700,000+ new reviews per month
● 19 million+ online reviews
● 1.1 billion page impressions per month
4. Stack Overview - Old (Early Days)
Stack Overview - Current
Stack Overview - Future plans
Scaling through Media Storms
Our LOVE for AWS.
Topics
5. Stack Overview - Old (Early Days)
Stack Overview - Current
Stack Overview - Future plans
Scaling through Media Storms
Our LOVE for AWS.
Fast, Simple, Flexible, pure SSH & RDP. PAYG model.
No hassle.
Limited resources and cash
EC2 primary.
Few years back
Traditional Web stack - nothing fancy
Web / API - web facing
Robot - push / pull from queue
Old DNS = 24 hours delay,etc
At the time, count was +- 10
Lots of firefighting!!!
Very difficult to scale
Instance count
Not a lot of changes to pic, but BIG changes under the covers.
Replaced Varnish with CDN
Widget : Snippets of code.
Load last.
Less load for us to worry about, as CDN takes care of it.
Static content.
Could we build it : YES
Did we have time or the need to : NO!!!
We could build this ourselves, but didn’t have the need as basic CDN functionality met our requirements straight off the bat.
Count compared to 10 from old stack
why microservice
1:1 relation.
SCALE
Chaos Engineering to test this out.
NO Autoscaling = wasting your time.
NO Autoscaling = wasting your time.
MQ is crucial to us … we needed a scalable service.
Show of hands who’s using LAMBDA ???
Much the same as ECS (DOCKER) being used to replace instances.
Still very early days
Disk storage issues
MongoDB = Increased usage
Redshift = EASY to use.
Still very early days
EU data protection keeps our scope within EU borders for now
DB - to reduce range impact.
The nature of our business
When companies are in media focus - users want to read reviews. Good and bad
Out of our direct control.
significant increased traffic for the day
Local sites
Mortgage providers
Increased their rates
Public were interested in reviews
Are they still offering a good service.
Out of our direct control.
AUTOSCALE
Instantly available. Releasing FAST!!!!
Full time job to keep up
Kick the tyres and test out.
Validate ideas extremely fast.
Play with new tools. We’re all Geeks here.
Cache everything you can.
Pulls you out of problems too. :)
Autoscale everything
Test your autoscaling
Try chaos engineering
Self healing.
Remove any complexities & move fast.
Try Serverless
Try new services out. Kick the tyres.
Validate your idea FAST.