Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Advanced search for your Legacy application - Ncrafts
Elastic Co
May 13, 2016
Programming
0
110
Advanced search for your Legacy application - Ncrafts
Talk given at NCrafts 2016, Paris
http://ncrafts.io/speaker/dadoonet#nc16-dpi01
Elastic Co
May 13, 2016
Tweet
Share
More Decks by Elastic Co
See All by Elastic Co
Les Vendredis noirs : même pas peur ! - Breizhcamp
elastic
15
650
Confoo Montreal: Ingest node: enriching documents within Elasticsearch
elastic
16
720
Elastic{ON} 2018 - Sipping from the Firehose: Scalable Endpoint Data for Incident Response
elastic
6
4.2k
Elastic{ON} 2018 - A Security Analytics Platform for Today
elastic
3
11k
Elastic{ON} 2018 - The State of Geo in Elasticsearch
elastic
7
11k
Elastic{ON} 2018 - Reliable by design - Applying formal methods to distributed systems
elastic
5
4.7k
Elastic{ON} 2018 - Bigger, Faster, Stronger - Leveling Up Enterprise Logging
elastic
1
4.9k
Elastic{ON} 2018: Latest in Logstash
elastic
1
4.4k
Elastic{ON} 2018 - Lessons Learned from Workday's Search Application Journey from POC to Production
elastic
2
2.3k
Other Decks in Programming
See All in Programming
既存画面の Jetpack Composeでの書き換え: FAANSでの事例紹介 / Case study of rewriting existing screens with Jetpack Compose
horie1024
0
350
モデリングの費用対効果
masuda220
PRO
4
970
heyにおけるSREの大切さ~マルチプロダクト運用の「楽しさ」と「難しさ」および今後の展望~
fufuhu
3
2.2k
TextPruner による大規模言語モデルの軽量化 / Large language model pruning using TextPruner
misawann
0
330
Node.js 最新動向 TFCon 2022
yosuke_furukawa
PRO
6
3k
競プロへの誘 -いざな-
u76ner
0
380
質とスピード(2022春版、質疑応答用資料付き) / Quality and Speed 2022 Spring Edition
twada
PRO
30
19k
あなたの会社の古いシステム、なんとかしませんか?~システム刷新から考えるDX化への道筋とバリエーション~/webinar20220420-grapecity
grapecity_dev
0
140
Git Rebase
bkuhlmann
7
1k
全国の中高生がプログラミングを学んでいるCloud9環境の仕組み@JAWS-UG_SRE支部_#3
asache3
0
130
未経験QAの私が、よきQA(Question Asker) になっていく物語
atamaplus
0
380
Reactive Microservices with Spring Boot and JHipster - Spring I/O 2022
mraible
PRO
2
440
Featured
See All Featured
Designing Experiences People Love
moore
130
22k
Become a Pro
speakerdeck
PRO
3
790
Building an army of robots
kneath
299
40k
Docker and Python
trallard
27
1.5k
We Have a Design System, Now What?
morganepeng
35
2.9k
Stop Working from a Prison Cell
hatefulcrawdad
261
17k
Keith and Marios Guide to Fast Websites
keithpitt
404
21k
The Mythical Team-Month
searls
208
39k
Producing Creativity
orderedlist
PRO
333
37k
In The Pink: A Labor of Love
frogandcode
130
21k
It's Worth the Effort
3n
172
25k
The Brand Is Dead. Long Live the Brand.
mthomps
45
2.7k
Transcript
‹#› Advanced search for your legacy application David Pilato Developer
| Evangelist @dadoonet
2
our legacy platform 3 WEB APP HTTP / REST JDBC
DATABASE SQL
our legacy domain / database 4
our legacy application 5 demo time $ git clone https://github.com/dadoonet/legacy-search.git
$ git checkout 00-legacy $ mvn clean install jetty:run
Connecting with our app Architecture 6
DATABASE SQL ETL using a ETL 7 WEB APP HTTP
/ REST JDBC ELASTICSEARCH REST / JSON
think document! • Change your mindset: ‒ Forget SQL! ‒
Index what you want to find • A document ‒ A JSON object ‒ Core field types (string, numbers, booleans) ‒ Complex field types (arrays, objects) ‒ Additional field types (geo points, geo shapes) 8
Do It Yourself Direct Connection 9
DATABASE SQL direct connection 10 WEB APP HTTP / REST
JDBC ES-CLIENT ELASTICSEARCH REST / JSON
JSON document design 11 PUT /person/person/1 { "name":"Joe Pink", "dateOfBirth":"1971-12-26",
"address_id":"2", "marketing_id":"3" } PUT /person/address/2 { "city":"Paris", "country":"France" } PUT /person/marketing/3 { "cars":1000, "food":1500 }
JSON document design 12 PUT /person/person/1 { "name":"Joe Pink", "dateOfBirth":"1971-12-26",
"address":{ "city":"Paris", "country":"France" }, "marketing":{ "cars":1000, "food":1500 } }
direct connection 13 demo time $ git checkout 01-direct $
git checkout 02-bulk $ git checkout 03-mapping $ git checkout 04-aggs $ git checkout 05-compute $ mvn clean install jetty:run $ cat README.markdown
synchronous vs asynchronous 14
DATABASE SQL using brokers 15 WEB APP HTTP / REST
JDBC ES-CLIENT ELASTICSEARCH REST / JSON
ELASTICSEARCH REST / JSON using brokers 16 WEB APP HTTP
/ REST JDBC ES-CLIENT DATABASE SQL
ELASTICSEARCH REST / JSON using brokers 17 WEB APP HTTP
/ REST JDBC ES-CLIENT DATABASE SQL
‹#›
‹#›
‹#› thanks! David Pilato Developer | Evangelist @dadoonet https://www.elastic.co/subscriptions