SlideShare a Scribd company logo
Developer Meetup #27
LINE Elasticsearch
Kotaro WATANABE, Development Support 2018/01/30
Developer Meetup #27
l (Kotaro WATANABE)
l (Development Support)
l Infra Engineer (2016/04~)
l
l LINE
l LINE LIVE
l LINE
l LINE
l LINE
l Clova
l Etc.
Developer Meetup #27
l LINE
l Elasticsearch
l Elasticsearch
l
l
Developer Meetup #27
l LINE Elasticsearch
LINE
ˆLINE
Developer Meetup #27
l LINE
l
l 2017 7 26
l LINE : @linedelima
l 1100
l Elasticsearch
LINE
Developer Meetup #27
LINE ( )
Developer Meetup #27
LINE ( )
Developer Meetup #27
LINE
Developer Meetup #27
l Java Client
l Transport Client
l Indices
l block ( )
l item ( )
l shop ( )
l Dashboard
l Imenezes/cerebro
ˆElasticsearch
Developer Meetup #27
LINE
l Topics
1.
2. Admin Elasticsearch
3.
Developer Meetup #27
1.
l
l Elasticsearch
l 1 4000rps
l 2
Developer Meetup #27
Developer Meetup #27
l
l Master node
l
l VM 3
l discovery.zen.minimum_master_nodes: 2
l Primary shard Replica shard
l Primary shard: 5 (Data node )
l Replica shard: 1
l 1node 2 shard
Developer Meetup #27
Developer Meetup #27
l 20
l Master node
l Master node Data node
l discovery.zen.minimum_master_nodes
l (master_eligible_nodes / 2) + 1 = 2
l batch indexing rebalance allocation
l
l Shard Allocation Settings
l 5Mbps 20Mbps
Developer Meetup #27
2. Admin Elasticsearch
l Admin Elasticsearch
l Data node
l Forced Awareness
l /path/to/elasticsearch.yml
l e.g. /etc/elasticsearch/elasticsearch.yml
# for service zone
node.attr.zone: service
cluster.routing.allocation.awareness.force.zone.values: service,admin
cluster.routing.allocation.awareness.attributes: zone
# for admin zone
node.attr.zone: admin
cluster.routing.allocation.awareness.force.zone.values: service,admin
cluster.routing.allocation.awareness.attributes: zone
Developer Meetup #27
zone
Developer Meetup #27
zone
l zone index
l zone shard replica
l Primary shard Replica shard
l shard rebalance
l zone index
l zone Elasticsearch zone
l admin
Developer Meetup #27
3.
l
l
l 4000qps
l search Thread queue
Developer Meetup #27
l
l Thread Pool
l int((available processors * 3) / 2) + 1
l available processors 32
l (32 * 3 / 2) + 1 = 49 ( Thread Pool )
l processors (PM : 40)
l (40 * 3) / 2 + 1 = 61
l Queue (1000 → 3000)
l thread_pool.search.queue_size: 3000
l ES5 ES6
Developer Meetup #27
Developer Meetup #27
(2018/1/2 21:00~23:00)
Developer Meetup #27
(2018/1/9 21:00~23:00)
Developer Meetup #27
l Master node Data node
l service admin zone
l Data Node(PM)
l
ˆElasticsearch
Developer Meetup #27
l
l
l
l IMON (Monitoring + Alerting)
l Java
l PMC
Developer Meetup #27
l Prometheus (Alerting) + Grafana (Monitoring) ← NEW
l line/promgen
l LINE Prometheus
l
l
l
l IMON (Monitoring + Alerting)
l Java
l PMC
Developer Meetup #27
Prometheus Architecture
: https://prometheus.io/docs/introduction/overview/#architecture
Developer Meetup #27
Prometheus + Grafana + Promgen
l Prometheus
l Pull
l agent
l *_exporter
l http
l EXPORTERS AND INTEGRATIONS
l Grafana
l Prometheus DataSource
l exporter Overview Dashboard
l Promgen
l line/promgen
l LINE Prometheus
Developer Meetup #27
Elasticsearch Prometheus
l elasticsearch_exporter
l justwatchcom/elasticsearch_exporter
l GET /_nodes/stats Prometheus
exporter
l Promgen
Prometheus
l Alertmanager
push post
l
l e.g. elaseticsearch_cluster_health_status{color=“red”} == 1
Developer Meetup #27
Developer Meetup #27
Promgen( )
Developer Meetup #27
l Prometheus + Grafana
l
l line/promgen
l LINE Engineering Blog
l PromCon 2017: Prometheus as an (internal) Service
l Prometheus Casual Talks
ˆ
Developer Meetup #27
l Client
l Transport Client High Revel REST Client
l Elasticsearch
l 5 6
l
ˆ
Developer Meetup #27
THANK YOU

More Related Content

PDF
ログ収集プラットフォーム開発におけるElasticsearchの運用
LINE Corporation
 
PPTX
Reactive Extensions for .NET
Andrei Marukovich
 
PPTX
Apache Airflow overview
NikolayGrishchenkov
 
PDF
All About GRAND Stack: GraphQL, React, Apollo, and Neo4j (Mark Needham) - Gre...
GreeceJS
 
PDF
Mylyn Task connector for Tuleap
Stéphane Bégaudeau
 
PDF
How I learned to time travel, or, data pipelining and scheduling with Airflow
PyData
 
PDF
Data Pipelines with Python - NWA TechFest 2017
Casey Kinsey
 
PDF
Airflow introduction
Chandler Huang
 
ログ収集プラットフォーム開発におけるElasticsearchの運用
LINE Corporation
 
Reactive Extensions for .NET
Andrei Marukovich
 
Apache Airflow overview
NikolayGrishchenkov
 
All About GRAND Stack: GraphQL, React, Apollo, and Neo4j (Mark Needham) - Gre...
GreeceJS
 
Mylyn Task connector for Tuleap
Stéphane Bégaudeau
 
How I learned to time travel, or, data pipelining and scheduling with Airflow
PyData
 
Data Pipelines with Python - NWA TechFest 2017
Casey Kinsey
 
Airflow introduction
Chandler Huang
 

What's hot (20)

PDF
Akka Streams
Diego Pacheco
 
PDF
Introducing the openCypher Implementers Group
openCypher
 
PPTX
Flink Forward Berlin 2017: Ruben Casado Tejedor - Flink-Kudu connector: an op...
Flink Forward
 
PDF
Fast and Reliable Apache Spark SQL Engine
Databricks
 
PDF
React meets o OCalm
Michał Załęcki
 
PPTX
Airflow - a data flow engine
Walter Liu
 
PDF
Spark Workflow Management
Romi Kuntsman
 
PPTX
Getting to Know Airflow
Rosanne Hoyem
 
PDF
Luigi future
Erik Bernhardsson
 
PPTX
Jug Marche: Meeting June 2014. Java 8 hands on
Onofrio Panzarino
 
PPTX
Apache HBase at Airbnb
HBaseCon
 
PDF
Contributing to Apache Airflow | Journey to becoming Airflow's leading contri...
Kaxil Naik
 
PDF
Building an analytics workflow using Apache Airflow
Yohei Onishi
 
PDF
Intro to Airflow: Goodbye Cron, Welcome scheduled workflow management
Burasakorn Sabyeying
 
PDF
News from Git in Eclipse - EclipseCon 2015 Europe
msohn
 
PPTX
Apache Airflow Introduction
Liangjun Jiang
 
PDF
Correctness and Performance of Apache Spark SQL
Nicolas Poggi
 
PDF
Introduction to RethinkDB and Horizon.js
chuck h
 
PPTX
Connect S3 with Kafka using Akka Streams
Seiya Mizuno
 
PDF
Workflow Engines for Hadoop
Joe Crobak
 
Akka Streams
Diego Pacheco
 
Introducing the openCypher Implementers Group
openCypher
 
Flink Forward Berlin 2017: Ruben Casado Tejedor - Flink-Kudu connector: an op...
Flink Forward
 
Fast and Reliable Apache Spark SQL Engine
Databricks
 
React meets o OCalm
Michał Załęcki
 
Airflow - a data flow engine
Walter Liu
 
Spark Workflow Management
Romi Kuntsman
 
Getting to Know Airflow
Rosanne Hoyem
 
Luigi future
Erik Bernhardsson
 
Jug Marche: Meeting June 2014. Java 8 hands on
Onofrio Panzarino
 
Apache HBase at Airbnb
HBaseCon
 
Contributing to Apache Airflow | Journey to becoming Airflow's leading contri...
Kaxil Naik
 
Building an analytics workflow using Apache Airflow
Yohei Onishi
 
Intro to Airflow: Goodbye Cron, Welcome scheduled workflow management
Burasakorn Sabyeying
 
News from Git in Eclipse - EclipseCon 2015 Europe
msohn
 
Apache Airflow Introduction
Liangjun Jiang
 
Correctness and Performance of Apache Spark SQL
Nicolas Poggi
 
Introduction to RethinkDB and Horizon.js
chuck h
 
Connect S3 with Kafka using Akka Streams
Seiya Mizuno
 
Workflow Engines for Hadoop
Joe Crobak
 
Ad

Similar to LINEデリマでのElasticsearchの運用と監視の話 (20)

PDF
LINEデリマでのElasticsearchの運用と監視の話
LINE Corporation
 
PDF
ソフトウェアでのパケット処理あれこれ〜何故我々はロードバランサを自作するに至ったのか〜
LINE Corporation
 
PDF
MLflow with R
Databricks
 
PDF
AngularJS 2.0: A natural evolvement or a new beginning - Boyan Mihaylov - Cod...
Codemotion
 
PPTX
MWLUG 2014: Modern Domino (workshop)
Peter Presnell
 
PDF
Hierarchical free monads and software design in fp
Alexander Granin
 
PDF
Kubecon SIG Apps December 2017 Update
Matthew Farina
 
PDF
Servi sMART - Servi.ca - Smart Market Platform for Microservices
Stefan Ianta
 
PDF
Orchestrating microservices like a ninja
Apigee | Google Cloud
 
PDF
NYC Titanium User's Group - 2/18 Organizer Topics
John Oliva
 
PPTX
#CNX14 - Building Killer Apps - Moving Beyond Transactions to Experiences
Salesforce Marketing Cloud
 
PPT
​Fully Reactive - from Data to UI with OrientDB + Node.js + Socket.io
Luigi Dell'Aquila
 
PDF
Introduction to interactive data visualisation using R Shiny
anamarisaguedes
 
PDF
NYC Titanium User's Group - tiConf US Revisited
John Oliva
 
PDF
Webinar about Spring Data Neo4j 4
GraphAware
 
PDF
A Journey into Databricks' Pipelines: Journey and Lessons Learned
Databricks
 
PDF
NYC Titanium User's Group - 12/13 Organizer Topics + Presentation Video
John Oliva
 
PDF
ITCamp 2013 - Cristian Lefter - Transact-SQL from 0 to SQL Server 2012
ITCamp
 
PPTX
New Features in Neo4j 3.4 / 3.3 - Graph Algorithms, Spatial, Date-Time & Visu...
jexp
 
PPT
Fully Reactive - from Data to UI with OrientDB + Node.js + Socket.io - Luigi ...
Codemotion
 
LINEデリマでのElasticsearchの運用と監視の話
LINE Corporation
 
ソフトウェアでのパケット処理あれこれ〜何故我々はロードバランサを自作するに至ったのか〜
LINE Corporation
 
MLflow with R
Databricks
 
AngularJS 2.0: A natural evolvement or a new beginning - Boyan Mihaylov - Cod...
Codemotion
 
MWLUG 2014: Modern Domino (workshop)
Peter Presnell
 
Hierarchical free monads and software design in fp
Alexander Granin
 
Kubecon SIG Apps December 2017 Update
Matthew Farina
 
Servi sMART - Servi.ca - Smart Market Platform for Microservices
Stefan Ianta
 
Orchestrating microservices like a ninja
Apigee | Google Cloud
 
NYC Titanium User's Group - 2/18 Organizer Topics
John Oliva
 
#CNX14 - Building Killer Apps - Moving Beyond Transactions to Experiences
Salesforce Marketing Cloud
 
​Fully Reactive - from Data to UI with OrientDB + Node.js + Socket.io
Luigi Dell'Aquila
 
Introduction to interactive data visualisation using R Shiny
anamarisaguedes
 
NYC Titanium User's Group - tiConf US Revisited
John Oliva
 
Webinar about Spring Data Neo4j 4
GraphAware
 
A Journey into Databricks' Pipelines: Journey and Lessons Learned
Databricks
 
NYC Titanium User's Group - 12/13 Organizer Topics + Presentation Video
John Oliva
 
ITCamp 2013 - Cristian Lefter - Transact-SQL from 0 to SQL Server 2012
ITCamp
 
New Features in Neo4j 3.4 / 3.3 - Graph Algorithms, Spatial, Date-Time & Visu...
jexp
 
Fully Reactive - from Data to UI with OrientDB + Node.js + Socket.io - Luigi ...
Codemotion
 
Ad

More from LINE Corporation (20)

PDF
JJUG CCC 2018 Fall 懇親会LT
LINE Corporation
 
PDF
Reduce dependency on Rx with Kotlin Coroutines
LINE Corporation
 
PDF
Kotlin/NativeでAndroidのNativeメソッドを実装してみた
LINE Corporation
 
PDF
Use Kotlin scripts and Clova SDK to build your Clova extension
LINE Corporation
 
PDF
The Magic of LINE 購物 Testing
LINE Corporation
 
PPTX
GA Test Automation
LINE Corporation
 
PDF
UI Automation Test with JUnit5
LINE Corporation
 
PDF
Feature Detection for UI Testing
LINE Corporation
 
PDF
LINE 新星計劃介紹與新創團隊分享
LINE Corporation
 
PDF
​LINE 技術合作夥伴與應用分享
LINE Corporation
 
PDF
LINE 開發者社群經營與技術推廣
LINE Corporation
 
PDF
日本開發者大會短講分享
LINE Corporation
 
PDF
LINE Chatbot - 活動報名報到設計分享
LINE Corporation
 
PDF
在 LINE 私有雲中使用 Managed Kubernetes
LINE Corporation
 
PDF
LINE TODAY高效率的敏捷測試開發技巧
LINE Corporation
 
PDF
LINE 區塊鏈平台及代幣經濟 - LINK Chain及LINK介紹
LINE Corporation
 
PDF
LINE Things - LINE IoT平台新技術分享
LINE Corporation
 
PDF
LINE Pay - 一卡通支付新體驗
LINE Corporation
 
PDF
LINE Platform API Update - 打造一個更好的Chatbot服務
LINE Corporation
 
PDF
Keynote - ​LINE 的技術策略佈局與跨國產品開發
LINE Corporation
 
JJUG CCC 2018 Fall 懇親会LT
LINE Corporation
 
Reduce dependency on Rx with Kotlin Coroutines
LINE Corporation
 
Kotlin/NativeでAndroidのNativeメソッドを実装してみた
LINE Corporation
 
Use Kotlin scripts and Clova SDK to build your Clova extension
LINE Corporation
 
The Magic of LINE 購物 Testing
LINE Corporation
 
GA Test Automation
LINE Corporation
 
UI Automation Test with JUnit5
LINE Corporation
 
Feature Detection for UI Testing
LINE Corporation
 
LINE 新星計劃介紹與新創團隊分享
LINE Corporation
 
​LINE 技術合作夥伴與應用分享
LINE Corporation
 
LINE 開發者社群經營與技術推廣
LINE Corporation
 
日本開發者大會短講分享
LINE Corporation
 
LINE Chatbot - 活動報名報到設計分享
LINE Corporation
 
在 LINE 私有雲中使用 Managed Kubernetes
LINE Corporation
 
LINE TODAY高效率的敏捷測試開發技巧
LINE Corporation
 
LINE 區塊鏈平台及代幣經濟 - LINK Chain及LINK介紹
LINE Corporation
 
LINE Things - LINE IoT平台新技術分享
LINE Corporation
 
LINE Pay - 一卡通支付新體驗
LINE Corporation
 
LINE Platform API Update - 打造一個更好的Chatbot服務
LINE Corporation
 
Keynote - ​LINE 的技術策略佈局與跨國產品開發
LINE Corporation
 

Recently uploaded (20)

PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
AbdullahSani29
 
PPTX
C Programming Basics concept krnppt.pptx
Karan Prajapat
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
Captain IT
 
PDF
CIFDAQ's Token Spotlight: SKY - A Forgotten Giant's Comeback?
CIFDAQ
 
PDF
Software Development Company | KodekX
KodekX
 
PDF
madgavkar20181017ppt McKinsey Presentation.pdf
georgschmitzdoerner
 
PDF
This slide provides an overview Technology
mineshkharadi333
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
CIFDAQ'S Market Insight: BTC to ETH money in motion
CIFDAQ
 
PDF
REPORT: Heating appliances market in Poland 2024
SPIUG
 
PDF
Software Development Methodologies in 2025
KodekX
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PDF
Google’s NotebookLM Unveils Video Overviews
SOFTTECHHUB
 
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
AVTRON Technologies LLC
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PPTX
Smart Infrastructure and Automation through IoT Sensors
Rejig Digital
 
PDF
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
AbdullahSani29
 
C Programming Basics concept krnppt.pptx
Karan Prajapat
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
Captain IT
 
CIFDAQ's Token Spotlight: SKY - A Forgotten Giant's Comeback?
CIFDAQ
 
Software Development Company | KodekX
KodekX
 
madgavkar20181017ppt McKinsey Presentation.pdf
georgschmitzdoerner
 
This slide provides an overview Technology
mineshkharadi333
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
CIFDAQ'S Market Insight: BTC to ETH money in motion
CIFDAQ
 
REPORT: Heating appliances market in Poland 2024
SPIUG
 
Software Development Methodologies in 2025
KodekX
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
Google’s NotebookLM Unveils Video Overviews
SOFTTECHHUB
 
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
AVTRON Technologies LLC
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
Smart Infrastructure and Automation through IoT Sensors
Rejig Digital
 
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 

LINEデリマでのElasticsearchの運用と監視の話