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

Tasty, Tasty Dogfood: How We Use the Elastic Stack at Elastic

Elastic Co
February 19, 2016

Tasty, Tasty Dogfood: How We Use the Elastic Stack at Elastic

Learn how Elastic uses the Elastic Stack throughout the company — from how and where its data stores are built to best practices for production clusters, as well as what is built on premise and when it leverages its Cloud service.

Elastic Co

February 19, 2016
Tweet

More Decks by Elastic Co

Other Decks in Technology

Transcript

  1. ‹#› Morgan Goeller Solution Architect Tasty, Tasty Dogfood: How We

    Use the Elastic Stack at Elastic Tyler Langlois Infrastructure Engineer
  2. Prelude: Why Dogfood? 2 • We run into bugs before

    you have to • Discover needs we can work towards before they’re more widely needed • Some bugs surface through use, not tests Test Monkeys • Insights into machine data has been extremely helpful • Simplifies application datastores • Makes infra scaling much easier It’s Useful! • Keep skills sharp • Uncover tool needs • Learn what pieces of software need usability improvements Be a User
  3. Overview 3 Application Datastores Analytics and Visualization for a Worldwide

    Team Lessons Learned Infrastructure Monitoring and Tracking
  4. Application Datastore: Licensing Portal Commercial Licensing Tool Built on Elasticsearch

    5 Elastic Cloud cluster (basic snapshotting, access control, etc.) 3 Ruby on Rails with Elasticsearch persistence backend Web application
  5. Application Datastore: Implementation 6 Access Control Backups Lifecycle • Cloud

    + Shield • High-level Rails abstractions make this transparent to dev • Elastic Cloud snapshots • Additional snapshot repositories • Extra: Rails json dumps • Standard Rails app practices • Gemfiles, native models, etc.
  6. Application Datastore: Licensing Portal Benefits & Caveats 7 Search is

    a first-class citizen Highly-available backend Dovetails with Kibana, Shield, etc. Schema changes require reindexing Subtle behavior when mappings go awry
  7. 26 Elasticsearch As a Service • Significantly eases operational complexity

    • Lower barrier for upgrades/backups • Baked-in usability across teams • Additional access (extra snapshot repositories, etc.) useful for operational customization • Be mindful of latency • Take time with permissions An Infrastructure Perspective
  8. 27 From a Devops Perspective • Design with maintenance/failover in

    mind (aliases, node types, etc.) • Design with fault-tolerance in mind (backpressure, etc.) • Little tools make things easier (use the _cat apis, plugins, etc.) • People will love and use information! Give them dashboards and data
  9. ‹#› Please attribute Elastic with a link to elastic.co Except

    where otherwise noted, this work is licensed under http://creativecommons.org/licenses/by-nd/4.0/ Creative Commons and the double C in a circle are registered trademarks of Creative Commons in the United States and other countries. Third party marks and brands are the property of their respective holders. 29