Deploy Friday: E22 MicroProfile: Optimizing Java for a Microservices Architecture
Topic: MicroProfile — Optimizing Java for a Microservices Architecture
Hosts:
Chad Carlson, Platform.sh
Otavio Santana, Platform. sh
Speakers:
Emily Jiang, IBM
Roberto Cortez, Red Hat
Defining and standardizing microservice architecture:
Microservices break down application development into independent functional components. One of our guests, Emily Jiang of IBM, defines a microservice as “a piece of software that can do one thing and do one thing very well.” For building good microservice architecture, she recommends following the 12 Factor App methodology. The 12 principles in this methodology were created in an effort to guide development and help standardize Java microservices. Emily identifies some of them, such as:
- Externalize your configuration
- Resilient and faster start up
- Faster shutdown
Our other guest, Roberto Cortez of Red Hat, agrees with her definition, and also adds, “I believe that every team or company has their own definition of microservices. So when people sometimes say, ‘Whoa, how big should a microservice be? Should it be 10k bytes or this many lines of code?’ It doesn't really matter, right? What actually matters is what you do with it in your own organization.”
The monolith to microservices “lift and shift” can be tricky:
Roberto makes it clear that moving from a monolithic architecture to microservices is more than just a technical change for organizations. “If you require microservices, it’s not only about the architectural design patterns that you have to implement, or all the technical aspects of microservices, it’s also a cultural change.” Instead of everyone working together on one thing, you’ll have teams working on separate pieces. They’ll need to communicate differently. “It's going to be a huge cultural impact for the company if your team is not used to working in that direction. And I've seen multiple companies fail, not because the technical aspect was not there, but because the company didn't have the culture to adopt that kind of methodology.”
Moving into MicroProfile:
Eclipse MicroProfile is a collaboration of several open source projects, including Red Hat, which aims for more effective delivery of microservices to enterprise Java applications. Emily Jiang defines MicroProfile as the established programming model for microservices and cloud native applications, which includes APIs to achieve quality services for your application. She adds, “That's why MicroProfile is a great framework for doing microservices, because they can manage the quality services for you.”
Learn best practices and get started with Eclipse MicroProfile on Platform.sh.
Eclipse MicroProfile and Platform.sh Getting started:
https://community.platform.sh/t/eclipse-microprofile-and-platform-sh-getting-started/646
MicroProfile templates you can Deploy on Platform.sh with various runtimes:
OpenLiberty: https://github.com/platformsh-templates/microprofile-openliberty
Wildfly: https://github.com/platformsh-templates/microprofile-wildfly
Payara: https://github.com/platformsh-templates/microprofile-payara
Thorntail: https://github.com/platformsh-templates/microprofile-thorntail
Helidon: https://github.com/platformsh-templates/microprofile-helidon
KumuluzEE: https://github.com/platformsh-templates/microprofile-kumuluzee
TomEE: https://github.com/platformsh-templates/microprofile-tomee
As well as all of our Java templates and documentation:
Java templates: https://github.com/platformsh-templates?language=java
Java docs: https://docs.platform.sh/languages/java.html
MicroProfile docs: https://docs.platform.sh/languages/java/frameworks.html#jakarta-ee-eclipse-microprofile
MicroProfile best practices: https://docs.platform.sh/frameworks/jakarta.html
Please share your feedback with us: https://platform-sh.typeform.com/to/g1f5Hz4h#source=E22
Platform.sh on social media
Twitter @platformsh
Twitter (France): @platformsh_fr
LinkedIn: Platform.sh
LinkedIn (France): Platform.sh
Facebook: Platform.sh
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Deploy Friday: E22 MicroProfile: Optimizing Java for a Microservices Architecture», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.