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
430
HTML5 Editor - LightningTalk at Paris JS
sgruhier
3
100
Other Decks in Technology
See All in Technology
DevOpsメトリクスとアウトカムの接続にトライ!開発プロセスを通して計測できるメトリクスの活用方法
ham0215
2
240
データベース02: データベースの概念
trycycle
0
160
JSON攻略法.pdf
miyakemito
8
5.1k
アクセス制御にまつわる改善 / Improving access control
itkq
0
550
アクセシビリティを考慮したUI/CSSフレームワーク・ライブラリ選定
yajihum
2
1k
障害対応をちょっとずつよくしていくための 演習の作りかた
heleeen
0
230
[新卒向け研修資料] テスト文字列に「うんこ」と入れるな(2024年版)
infiniteloop_inc
4
16k
Gitlab本から学んだこと - そーだいなるプレイバック / gitlab-book
soudai
4
440
ワールドカフェI /チューターを改良する / World Café I and Improving the Tutors
ks91
PRO
0
120
推しは推せるときに推せ! プロダクトにフィードバックしていこう
nakasho
0
320
ServiceNow Knowledge 24の歩き方 EYストラテジー・アンド・コンサルティング
manarobot
0
200
本当のAWS基礎
toru_kubota
0
520
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
121
39k
RailsConf 2023
tenderlove
4
540
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
2
1.3k
Designing Experiences People Love
moore
136
23k
Docker and Python
trallard
34
2.7k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
125
32k
What's in a price? How to price your products and services
michaelherold
237
11k
The Straight Up "How To Draw Better" Workshop
denniskardys
227
130k
Why Our Code Smells
bkeepers
PRO
331
56k
Thoughts on Productivity
jonyablonski
58
3.8k
The Language of Interfaces
destraynor
151
23k
Web Components: a chance to create the future
zenorocha
305
41k
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