meteor elasticsearch 연동 trial
TRANSCRIPT
Search in Meteor
Mongo Full-text search
Elasticsearch
Elasticsearch
• Real-Time Data & Real-Time Analytics
• Distributed & High Availability
• Multitenancy & Full-Text Search
• Document-Oriented & Schema-Free
• Build on top of Apache Lucene™
Apache Solr• Advance Full-text Search Capabilities
• Optimized for High Volume Traffic
• Standards based Open Interfaces - XML, JSON, HTTP
• Comprehensive Administration Interfaces
• Easy Monitoring
• High Scalable and Fault Tolerant
• Flexible and Adaptable with easy configuration
• Near Real-Time Indexing
• Extensible Plugin Architecture
elasticsearch vs solr
http://www.google.com/trends/explore#q=solr,%20elasticsearch
Meteor 앱 북팔 프리
Slow Query!
Meteor - Elasticsearch 연동
Start!
atmospherejs.com
bigdata:elasticsearch
brishin:meteor-elasticsearch
matteodem:easy-search
MongoDB-Elasticsearch 연동 방법은?
Elasticsearch River Plugin
MongoDB River Plugin
MongoDB 2.6.x, 3.0.0
ElasticSearch 1.4.2
TokuMX 1.5.1
Elasticsearch River Plugin 2.0.9
https://github.com/richardwilly98/elasticsearch-river-mongodb
Elasticsearch 1.4.2
설치 네트워크 차단 서버 포맷
설치
보안강화, hosts.allow/deny, iptables, ssh 접속 제한
Elasticsearch 가 원인
1.4.3 이상을 사용해야
네트워크 차단
불안감 ;;;
아무 일도 안하고 싶다!
Elasticsearch 1.5.0
River deprecated, Use Logstash!
https://github.com/phutchins/logstash-input-mongodb
하지만, 또 실패... 완성도가 부족하다!
직접 만들어 버리자!
하지만, 또 실패... 실력이 부족하다!
좌절감 ;;;
더욱 격렬하게, 아무 일도 안하고 싶다!
Mongo-connector
https://github.com/10gen-labs/mongo-connector
ElasticSearch 1.5.2
연동 성공!!!
Meteor-Elasticsearch
elasticsearch.js + Meteor.methods
matteodem:easy-search
직접 만들자!
Pub/sub? 가능한가?
일단 성공
다음 단계
형태소 분석기
데이터 분석, Kibana 적용
감사합니다그리고...
함께 공부해요
• 공동 스터디
• 공동 프로젝트 : Meteor CMS 프로젝트
• 현재 3명