Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Facing the Challenges of Microservice Developme...
Search
Sebastian Daschner
December 05, 2018
Programming
0
34
Facing the Challenges of Microservice Development in the Cloud
Sebastian Daschner
December 05, 2018
Tweet
Share
More Decks by Sebastian Daschner
See All by Sebastian Daschner
Principles of effective developers
sdaschner
0
520
Seven Principles That Will Boost Your Developer Productivity
sdaschner
0
51
What's new for Java in the clouds?
sdaschner
0
150
7 Principles That Will Boost Your Developer Productivity - Devoxx MA
sdaschner
1
130
Seven Principles That Will Boost Your Developer Productivity
sdaschner
1
1.4k
Other Decks in Programming
See All in Programming
GoとPHPのインターフェイスの違い
shimabox
2
210
CSS Linter による Baseline サポートの仕組み
ryo_manba
1
150
XStateを用いた堅牢なReact Components設計~複雑なClient Stateをシンプルに~ @React Tokyo ミートアップ #2
kfurusho
1
990
CDKを使ったPagerDuty連携インフラのテンプレート化
shibuya_shogo
0
110
Rubyと自由とAIと
yotii23
6
1.7k
「個人開発マネタイズ大全」が教えてくれたこと
bani24884
1
190
プログラミング言語学習のススメ / why-do-i-learn-programming-language
yashi8484
0
160
SwiftUI Viewの責務分離
elmetal
PRO
2
270
仕様変更に耐えるための"今の"DRY原則を考える
mkmk884
9
3.2k
Jakarta EE meets AI
ivargrimstad
0
370
一休.com のログイン体験を支える技術 〜Web Components x Vue.js 活用事例と最適化について〜
atsumim
0
940
CDK開発におけるコーディング規約の運用
yamanashi_ren01
2
250
Featured
See All Featured
For a Future-Friendly Web
brad_frost
176
9.6k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Gamification - CAS2011
davidbonilla
80
5.2k
BBQ
matthewcrist
87
9.5k
Into the Great Unknown - MozCon
thekraken
35
1.6k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.2k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
10
1.3k
Embracing the Ebb and Flow
colly
84
4.6k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Writing Fast Ruby
sferik
628
61k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.1k
Optimizing for Happiness
mojombo
376
70k
Transcript
1 Facing the Challenges of Microservice Development in the Cloud
Sebastian Daschner Lead Java Developer Advocate
2 Sebastian Daschner • Lead Java Developer Advocate @ IBM
• Consultant, trainer, book author • JCP Expert Group member & Jakarta EE Committer • Java Champion • Oracle Developer Champion (Alumni) • JavaOne Rockstar speaker
3 3 Cloud-native microservices Why should we care?
4 Java Enterprise today • Still widely used in enterprises
• Known APIs & great developer experience • Missing parts in a cloud-native, microservice world
5 Java Enterprise: What’s missing • Resiliency • Monitoring •
Distributed tracing • Injectable configuration
6 6 MicroProfile An alternative?
7 MicroProfile: An alternative? • Java Enterprise developer experience •
Addresses missing parts • Enough for more complex applications?
8 MicroProfile: What’s missing • Persistence, JPA, JTA • Concurrency
Utils • EJB (Timers, Asynchronous)
9 Java Enterprise: Options • Java EE 8 / Jakarta
EE only • MicroProfile 2.0 only • Java EE plus MicroProfile additions
10 Java EE plus MicroProfile • Proven technology, known APIs
• MicroProfile projects fills the gaps • E.g. Java EE plus MP Config, Fault Tolerance, Metrics, OpenTracing
11 11 Example: Enterprise coffee
12 What else is missing? • Observability (technical, infrastructure) •
Service discovery • Traffic routing
13 13 Kubernetes & Istio Let’s go cloud native
14 Customizing the runtime • Only including the required standards
& runtime features • Required? • Trade-off between time & material spent on either development or runtime • Optimize the moving parts (deployment artifacts) first
15 Servers supporting MicroProfile • Open Liberty 18.0.0.3 • Payara
5.184 • Tom EE 8.0 • Wildfly 14.0.1.Final
16 Key takeaways • Use known APIs • Think of
MicroProfile as extensions for Java EE • Development model that fits your need on application side • Optimize deployment artifacts before runtime
17 Future: MicroProfile as Incubator? • Crafting vendor-independent soon-to-be standards
• Providing what's missing from future Jakarta EE • Sharing design principles with Jakarta EE • Defining a reasonable process
18 18 Cloud native Java What about startup times &
resource consumption?
19 19 Eclipse OpenJ9 An alternative runtime?
20 OpenJ9 • OSS under Eclipse Foundation • Performance optimizations
(Start-up time, ramp-up, footprint) • Free usage & security updates • Commercial support (optional)
21 Thank You For Your Attention! • sebastian-daschner.com • @DaschnerS
• Book: Architecting Modern Java EE Applications • https://github.com/sdaschner/coffee/tree/microservice-cloud- webinar