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
KubeConにproposalを送りたい人へのアドバイス
sat
PRO
3
280
いいたいことちゃんという
tkengo
0
250
2024春 注目のWeb系 OSS & SaaS 3選
makies
0
190
ゼロから始めるVue.jsコミュニティ貢献 / first-vuejs-community-contribution-link-and-motivation
lmi
1
150
Building a RAG-poweredAI chat appwith Python and VS Code
pamelafox
0
170
今日からできる!簡単 .NET 高速化 Tips -2024 edition-
xin9le
7
4.5k
Gradle Build Scanを使ってビルドのことを知ろう potatotips #87
tomorrowkey
2
160
自己改善からチームを動かす! 「セルフエンジニアリングマネージャー」のすゝめ
shoota
6
1.1k
データベース03: 関係データモデル
trycycle
0
100
非同期推論システムによるコスト削減と信頼性向上
koki_nishihara
1
380
How to Lead? Testimonial of a Lead Android Engineer
oleur
1
120
EM完全に理解した と思ったけど、 やっぱり何も分からなかった話 / EM Night Fukuoka #1
hirutas
0
300
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
22
1.6k
Making the Leap to Tech Lead
cromwellryan
125
8.5k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
GraphQLの誤解/rethinking-graphql
sonatard
56
9.3k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
104
6.6k
The Power of CSS Pseudo Elements
geoffreycrofte
62
5k
The Brand Is Dead. Long Live the Brand.
mthomps
49
29k
Design by the Numbers
sachag
274
18k
The Language of Interfaces
destraynor
151
23k
GitHub's CSS Performance
jonrohan
1025
450k
Automating Front-end Workflow
addyosmani
1357
200k
The Cult of Friendly URLs
andyhume
74
5.7k
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