Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Elasticon recap for Gotonight

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →

Elasticon recap for Gotonight

In March 2015 I went to San Francisco to attend Elasticon 2015. In this presentation I give a summary of the presentations I watched. This presentation took place at Bol.com for the Gotonight.

Avatar for Jettro Coenradie

Jettro Coenradie

March 25, 2015

Other Decks in Technology

Transcript

  1. Announcements For the past few years, Found has been busy

    building the best "Elasticsearch as a Service" out there.
  2. “We are thrilled and honoured to take our long-standing friendship

    with Elastic to the next level” – Alex Brasetvik
  3. Customer cases: Verizon https://speakerdeck.com/bhaskarvk/elastic-on-15-500-billion-documents-and-counting “We offer technology products and solutions

    that transform the way our customers connect, collaborate and innovate” Store massive logging data Store in high rate Query in acceptable rate
  4. Customer cases: Verizon 128 Nodes 8 cores - 64 Gb

    RAM - 6 x 1TB disk 10+ Bilion documents a day Over 500 Billion documents total
  5. Customer cases: Verizon • For write performance use JBOD •

    Use Dedicated Master, Data and Client nodes • Use these nodes the right way • Number of nodes should not exceed 150 • To many indexes and types impact performance • Disable _all field by default Tips
  6. Customer cases: Wikimedia Free text search through 888 wiki’s Near

    real time indexing Acceptable query performance
  7. Customer cases: Wikimedia 31 Nodes 1800 indexes - 6500 shards

    (5 Mb - 50 Gb) 200+ Million documents (bigger than logs) 870 million searches in december 2014
  8. Customer cases: Wikimedia • Don’t expose query-string query • Use

    instrumentation to monitor your queries • Use our plugins :-) • Swift • Experimental highlighter • Monitoring and alerting Tips https://github.com/wikimedia
  9. Customer cases: Microsoft MSN 54 Nodes - 42 data /

    3 master / 9 clients x 4 for each region 24k hits/s response within 30-50 ms
  10. Customer cases: Microsoft MS Dynamics CRM - Social Listening 42

    Nodes - 30 data / 3 master / 9 clients Running Ubuntu on Azure After filtering ~ 2 Million items a day
  11. Customer cases: Microsoft Microsoft Azure Search PAAS - Search as

    a service Use Azure Portal to start 600 Clusters ~ 1000 nodes http://azure.microsoft.com/en-us/services/search/
  12. Customer cases: NASA http://www.jpl.nasa.gov “Examples of JPL's missions: from the

    Mars Curiosity rover to Cassini at Saturn, the Spitzer Space Telescope and the fleet of satellites that monitor our home planet” Store measurements Analysing these measurement
  13. Customer cases: NASA SMAP - Soil Moisture Active Passive http://smap.jpl.nasa.gov/mission/why-it-matters/

    Monitor Drought Predict Floods Assist Crop Productivity Weather Forecasting
  14. Roadmap: Kibana • Formatting output: numbers, currency, urls, video •

    Edit and save or pin filters • Choose your own colours in charts • Visualisation builder for non elastic experts • Create API for custom plugins
  15. Roadmap: Logstash • Implement internal queues that survive a crash

    • Dead letter queue for problem messages • Use Bulk api to send messages to elasticsearch • Create a logstash cluster • Provide API for pipeline configuration • Provide API to monitor pipeline
  16. Roadmap: Elasticsearch • 1.4 -> 1.5 : Preventing you from

    hurting yourself • stricter field-type mappings • Two fields same name different type: same type • 1.5 has less lines of code without lost features. • Improving performance doc_values • Better error responses
  17. Roadmap: Elasticsearch • Queries and Filters are merging • query

    = filter + scoring • Cluster state communication improvement • Only send diffs instead of full state • Reindex API • copy old index to new index • Changes API • copy changes to other cluster
  18. Resilience The power or ability to return to the original

    form, position, etc., after being bent, compressed, or stretched; elasticity. http://dictionary.reference.com A design objective for buildings and infrastructure. It is the ability to absorb or avoid damage without suffering complete failure. http://en.wikipedia.org
  19. Resilience • [Data corruption] Using checksums for segments improvements •

    [Data corruption] Check for problematic java versions • [Data corruption] Better shard allocation with multi disk setup • [Data corruption] Disk space aware allocation decider • [Out Of Memory] Circuit breaker improvement, better estimations • [Network] Refuse revived master • [external pressure] Time out long running queries
  20. Shield Leave elasticsearch as it is Lots of changes in

    elasticsearch to make it possible
  21. Shield 1. Authentication - custom, ldap, active directory 2. Authorisation

    - Every endpoint is a configurable action 3. Securing the wire - SSL/TLS between nodes 4. Cluster fencing - client certificates and transport profiles 5. Audit trails - Log who did what
  22. Shield 1.1 • Load balancing between ldap servers • Enable

    anonymous user • Update IP filters dynamically at runtime https://www.elastic.co/blog/shield-1-1-and-1-2-released
  23. Shield x.x • Additional realms • Kerberos and SSO mechanisms

    • New native realm managed using API • Additional Authentication methods • Token/key authentication • Better Kibana integration