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
Maptimize - ElasticSearch
Search
sgruhier
June 19, 2013
Technology
2
190
Maptimize - ElasticSearch
Presentation of maptimize at ElasticSearch meetup in Paris - May 22th, 2013
sgruhier
June 19, 2013
Tweet
Share
More Decks by sgruhier
See All by sgruhier
coffeescript.pdf
sgruhier
2
450
HTML5 Editor - LightningTalk at Paris JS
sgruhier
3
100
Other Decks in Technology
See All in Technology
RailsのPostgreSQL 18対応
yahonda
0
170
Kafkaを利用したIcebergへのデータストリーミング
shmza
0
190
AIがコード書きすぎ問題にはAIで立ち向かえ
jyoshise
14
10k
今改めてServiceクラスについて考える 〜あるRails開発者の10年〜
joker1007
5
2.7k
Rust In Python
lycorptech_jp
PRO
3
320
論文紹介「Evaluation gaps in machine learning practice」と、効果検証入門に関する昔話
stakaya
0
430
AI時代に活躍できるエンジニアとは #弁護士ドットコム
bengo4com
0
210
Goのビルドシステムの変遷 / The history of Go's build system
ymotongpoo
5
160
「技術負債にならない・間違えない」 権限管理の設計と実装
naro143
13
4.2k
中間管理職をなくしたら何が起きたか 〜AI時代の組織変革と3つの失敗〜
staka121
PRO
2
290
わいわいClaude Code アイスブレイクLT iOSDC2025 Day2 アンカンファレンス
hiragram
0
100
避けられないI/O待ちに対処する: Rails アプリにおけるSSEとasync gemの活用 / Tackling Inevitable I/O Latency in Rails Apps with SSE and the async gem
moznion
0
350
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
45
7.7k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
30
2.9k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Being A Developer After 40
akosma
90
590k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Gamification - CAS2011
davidbonilla
81
5.4k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
The Cult of Friendly URLs
andyhume
79
6.6k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.1k
The Invisible Side of Design
smashingmag
301
51k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
127
53k
The World Runs on Bad Software
bkeepers
PRO
71
11k
Transcript
Maptimize Sébastien Gruhier Paris - 22/05/2013 Wednesday, June 19, 13
About Sébastien Gruhier http://xilinus.com - http://v3.maptimize.com twitter : @sgruhier skype:
sebgruhier email:
[email protected]
Wednesday, June 19, 13
Maptimize Wednesday, June 19, 13
Maptimize Clustering engine pour carte en ligne SASS Filtrage/Recherche en
temps-réel Supporte Google Map, OpenStreetMap (leaflet.js), Bing Maps, ... Wednesday, June 19, 13
Idée originale http://who-s-web.com algorithme simple pur ruby Wednesday, June 19,
13
Idée originale Avantages Rapidité de développement Test en live sur
un site => Feedback des utilisateurs Inconvénients Nb points très limités (~ 5000 points) Pas DU TOUT scalable Wednesday, June 19, 13
Maptimize V1 http://maptimize.com algorithme plus complexe mysql + ruby Wednesday,
June 19, 13
Maptimize V1 Avantages Implémentation simple SASS Inconvénients Nb points limités
(~ 50000 points) Performance linéaire en fonction du nombre de points Bulk update Wednesday, June 19, 13
Maptimize V2 http://v2.maptimize.com java (code propriétaire + spring, hibernate, ehcache)
version actuelle Wednesday, June 19, 13
Maptimize V2 Avantages Performance “scalabilité” WAR: installable chez le client
Inconvénients Nb points encore limités (~ 300000 points) Bulk update Wednesday, June 19, 13
Maptimize lab Tentative en différents langages MongoDB NodeJS ... Wednesday,
June 19, 13
maptimize V3 http://v3.maptimize.com Demo http://onemilliontweetmap.com Plugin ElasticSearch + [ruby] Wednesday,
June 19, 13
Maptimize V3 maptimize mapping curl -‐XPUT localhost:9200/maptitest/tweet/_mapping -‐d '
{ "tweet": { "properties": { "coordinates": { "type" : "multi_field", "fields" : { "coordinates" : {"type" : "geo_point"}, "maptimize" : {"type" : "maptimize" } } } } } } ' curl -‐XPUT localhost:9200/maptitest/tweet/1 -‐d ' { "coordinates": "37.41009903,-‐5.99576998", "text": "Another tweet in the wall!" } ' Wednesday, June 19, 13
Maptimize V3 response { "points":[ {
"lat":30.080961775000002, "lng":-‐85.630064475, "count":4, "sw_lat":30.0334303, "sw_lng":-‐85.8917727, "ne_lat":30.2235562, "ne_lng":-‐85.5428284 }, { "lat":30.352137, "lng":-‐87.281595, "count":1 }, { "lat":30.357684222736708, "lng":-‐86.19574103569968, "count":972, "sw_lat":30.2568577, "sw_lng":-‐86.3207397, "ne_lat":30.422594, "ne_lng":-‐85.9100089 }, { "lat":30.4591621, "lng":-‐84.3590897, "count":1 } ], "success":true } Wednesday, June 19, 13
Maptimize V3 Avantages Performance (non linéaire en fonction du nombre
de points) scalabilité Limite du nombre de points: inconnue :) Ajouts de fonctionnalités (facets, recherche/filtrage avancé) Wednesday, June 19, 13
Maptimize V3 Avantages API REST temps-réel ... Contraintes Certaines fonctionnalités
de la v2 difficiles à implémenter Maitriser le développement de plugins Wednesday, June 19, 13
Maptimize V3 Wednesday, June 19, 13
Maptimize V3 Wednesday, June 19, 13