elasticsearch at crowdworks

Download Elasticsearch at CrowdWorks

Post on 02-Jul-2015

5.566 views

Category:

Technology

0 download

Embed Size (px)

DESCRIPTION

第7回 Elasticsearch勉強会(http://elasticsearch.doorkeeper.jp/events/16837)の登壇資料です。 http://engineer.crowdworks.jp/

TRANSCRIPT

  • 1. Elasticsearch at!@mumoshu

2. ~https://www.wantedly.com/users/392910 3. @mumoshu 2008~ NEC 2010~ 2013~ 2014~ Scala Ruby/ 4. 5. http://crowdworks.jp/ 6. 7. 8. 188 9. http://crowdworks.jp/adviser 10. @mumoshu 11. http://crowdworks.co.jp/ 12. 13. Elasticsearchat CrowdWorks 14. 15. 16. Elasticsearch(db.m3.large) Completed 200 OK in 7096.3ms (Views: 217.5ms| ActiveRecord: 6794.6ms | Elasticsearch: 0.0ms)Completed 200 OK in 1676.2ms (Views: 211.3ms| ActiveRecord: 1409.3ms | Elasticsearch: 0.0ms)Completed 200 OK in 1657.5ms (Views: 210.7ms| ActiveRecord: 1405.8ms | Elasticsearch: 0.0ms) 17. Elasticsearch(Found 4GB) Completed 200 OK in 648.7ms (Views: 355.5ms| ActiveRecord: 77.6ms | Elasticsearch: 194.5ms)Completed 200 OK in 580.4ms (Views: 372.7ms| ActiveRecord: 67.4ms | Elasticsearch: 118.6ms)Completed 200 OK in 626.9ms (Views: 367.8ms| ActiveRecord: 71.1ms | Elasticsearch: 152.2ms) 18. 19. ElasticsearchInnoDB FTS(Full-textsearch) (Graceful Degradation) Elasticsearch(Feature Toggle) 20. Dynamic Scripting Object Type/Nested Objects Parent/ChildNested Type/Documents Elasticsearch http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/partial-updates.html 21. Mapping83 22. Elasticsearch Elasticsearch 1.3.4 Found 2GB 16GB 23. Gems elasticsearch-rails elasticsearch-model crowdworks/gracefully crowdworks/elasticsearch-model-extensions delayed_job 24. Gracefully https://github.com/crowdworks/gracefully Graceful Degradation (Fail-fast) ProcGraceful Degradation 25. *-extensions https://github.com/crowdworks/elasticsearch-model-extensions elasticsearch-model Mappingas_indexed_json 1 (ActiveRecord::DirtyElasticsearchPartial Update) 26. FoundElasticsearch as a servicehttp://found.no/ 27. Elasticsearch as a service Elasticsearch : 256MB2GB : 32GB256GB SSD HA(2DC) 28. Elasticsearch as a service Elasticsearch Web UI httpsBasicACL readread/write 29. RailsElasticsearch1 Elasticsearch as a serviceFound Elasticsearch OSSElasticsearch 30. TODO Elasticsearch100% Elasticsearch 31. :bow:! 32. We are hiring!https://crowdworks.co.jp/recruit/engineer/ 33. 34. 1. Elasticsearch100%2. 13. Elasticsearch10%4. 5. 35. Wantedly http://www.elasticsearch.org/guide/ https://www.found.no/foundation/ 36. : 8(1) Elasticsearch: 1 37. CloudFormationFound+ Gatling