Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Elasticsearch chez BlaBlaCar
Search
Olivier Dolbeau
April 07, 2016
Programming
1
1.8k
Elasticsearch chez BlaBlaCar
Talk given at sfLive Paris 2016
Olivier Dolbeau
April 07, 2016
Tweet
Share
More Decks by Olivier Dolbeau
See All by Olivier Dolbeau
Throw new \Exception(); Oui, mais laquelle ?
odolbeau
1
210
Jane & Webby
odolbeau
0
390
Translating a monolingual application
odolbeau
2
540
DX: Developer eXperience
odolbeau
1
82
DX: Developer eXperience
odolbeau
1
540
EasyAdminBundle introduction
odolbeau
0
170
REX API Platform
odolbeau
0
1.3k
Features flags at BlaBlaCar
odolbeau
5
1k
25+ million members in 22 countries, how to scale with Symfony2
odolbeau
2
500
Other Decks in Programming
See All in Programming
Building an Application with TDD, DDD and Hexagonal Architecture - Isn't it a bit too much?
mufrid
0
370
メモリリークが発生した時にpprofを使用して原因特定した話
zono33lhd
0
100
『Python → TypeScript』オンボーディング奮闘記
takumi_tatsuno
1
140
What Spring Developers Should Know About Jakarta EE
ivargrimstad
1
590
抽象データ型について学んだ
ryounasso
0
210
Efficiency and Rock 'n’ Roll (Really!)
hollycummins
0
590
「兵法」から見る質とスピード
ickx
0
190
Babylon.js 8.0のアプデ情報を 軽率にキャッチアップ / catch-up-babylonjs-8
drumath2237
0
110
DevTalks 25 - Create your own AI-infused Java apps with ease
kdubois
2
120
漸進。
ssssota
0
1.1k
Doma で目指す ORM 最適解
nakamura_to
1
160
❄️ tmux-nixの実装を通して学ぶNixOSモジュール
momeemt
1
120
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
92
6k
Reflections from 52 weeks, 52 projects
jeffersonlam
349
20k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
840
Stop Working from a Prison Cell
hatefulcrawdad
269
20k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.3k
Being A Developer After 40
akosma
91
590k
Adopting Sorbet at Scale
ufuk
76
9.4k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
19k
Typedesign – Prime Four
hannesfritz
41
2.6k
Building a Modern Day E-commerce SEO Strategy
aleyda
40
7.3k
Git: the NoSQL Database
bkeepers
PRO
430
65k
Making the Leap to Tech Lead
cromwellryan
133
9.3k
Transcript
Elasticsearch @ BlaBlaCar
Who am I? Olivier Dolbeau Architect @BlaBlaCar @odolbeau
None
It’s an old logo. Cause we use an old version!
:o
None
None
None
None
None
This is awesome!
None
Told you, it’s REST!
Where to write
JSON
None
None
None
None
More fruits!
None
None
None
Aggregations!
None
None
None
5 clusters
containers 25
None
And it continues... “Magic” search
Alarm creation
Logs
Alerts Favorite Routes
FAQ
Popular axis
Trip search
containers 5
5 millions searches per month
2 millions indexations per month
250 Go
None
Query
PHPTour Clermont 23 & 24 mai 2016
Search results
Aggregations
Aggregations Facets
Let’s build it!
Give me a trip!
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-distance-query.html
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-distance-query.html Match ALL!
Departure https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-distance-query.html
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-distance-query.html Arrival
None
Date
DONE
NEXT
Departure time
None
None
Price range
None
Photo
None
Vehicle comfort
None
DONE?
None
None
None
New query
Not changed
Not changed
Only 1 bucket!
None
None
None
match_all
Post filter
None
Filtered aggregations
Not changed
None
Filtered aggregations
Not filtered!
None
Filtered
Not filtered
DONE!
None
None
None
None
None
None
Percolators
None
None
You know it’s SymfonyLive Dude?
Elasticsearch @ BlaBlaCar We’re hiring! https://joind.in/event/symfonylive-paris-2016 Slides & co!