Cloud Native Java by Josh Long

“It is not necessary to change. Survival is not mandatory.” -W. Edwards Deming

Work takes time to flow through an organization and ultimately be deployed to production where it captures value. It’s critical to reduce time-to-production. Software – for many organizations and industries – is a competitive advantage. Organizations break their larger software ambitions into smaller, independently deployable, feature -centric batches of work – microservices. In order to reduce the round-trip between stations of work, organizations collapse or consolidate as much of them as possible and automate the rest; developers and operations beget “devops,” cloud-based services and platforms automate operations work and break down the need for ITIL tickets and change management boards. But velocity, for velocity’s sake, is dangerous. Microservices invite architectural complexity that few are prepared to address. In this talk, we’ll look at how high-performance organizations like Ticketmaster, Alibaba, and Netflix make short work of that complexity with Spring Boot and Spring Cloud.

In this workshop we’ll look at how to build cloud-native Java systems that are elastic, agile, observable and robust.

MOTU: Planejamento de Recursos com OptaPlanner

MOTU: Planejamento de Recursos com OptaPlanner
👉 Link: https://www.youtube.com/watch?v=EohcFknM5S4
🕛 Quando: 12h do dia 20 de Maio, Quinta Feira! 🕛
✓ Tema: É chegada a hora de conversarmos sobre o como soluções com algoritmos complexos conseguem trazem lucro de, literalmente, bilhões de dólares a empresas críticas ao redor do mundo com uma simples tarefa: otimizar o planejamento de recursos. Vamos entender como resolver problemas complexos do mundo real de planejamento como o VRP (Problema de Roteamento de Veículos), criação de escalas de funcionários, atribuição de tarefas, agendamento de talks em conferências e muito, muito mais. Aos curiosos, um exemplo conhecido é o problema das n-rainhas, problema este que é rapidamente e facilmente resolvido pela IA do OptaPlanner.

👨‍💻👩‍💻💭 Experts da Semana

Nesta edição do nosso papo deep dive vamos conversar com
▪️ Karina Varela ( Twitter: @kvarel4 )
▪️ Otávio Santana ( Twitter: @otaviojava )

MOTU Deep Dive: Arquitetura de frameworks Java

MOTU: Arquitetura de frameworks Java
👉 Link: https://www.youtube.com/watch?v=miHK4GWmayg
🕛 Quando: 12h do dia 13 de Maio, Quinta Feira! 🕛

✓ Tema: Se você já participou da criação de um framework Java, você deve ter enfrentado diversas complexidades que não são encontradas no decorrer do dia a dia do desenvolvimento de uma aplicação tradicional – por exemplo, web. Vamos mergulhar nos desafios da criação de frameworks Java críticos, open-source e que adotados globalmente por arquitetos em busca de solução resiliente para suas aplicações!

👨‍💻👩‍💻💭 Experts da Semana

Nesta edição do nosso papo deep dive vamos conversar com
▪️ Karina Varela ( Twitter: @kvarel4 )
▪️ Otávio Santana ( Twitter: @otaviojava )

MOTU Deep Dive: JNoSQL

MOTU: JNoSQL
👉 Link: https://www.youtube.com/watch?v=L2oKgUW1E8Q
🕛 Quando: 12h do dia 13 de Maio, Quinta Feira! 🕛
✓ Tema: Jakarta NoSQL é a primeira especificação do Jakarta EE cujo o objetivo é simplificar a integração entre uma aplicação Java e os bancos de dados NoSQL.

👨‍💻👩‍💻💭 Experts da Semana

Nesta edição do nosso papo deep dive vamos conversar com

▪️ Karina Varela ( Twitter: @kvarel4 )
▪️ Otávio Santana ( Twitter: @otaviojava )

Building a cloud-friendly application – Jakarta Tech Talks

Larry Garfield (Platform.sh) presents:

The days of hand-crafted artisanal servers are long over. Modern web applications need to be able to run on many different servers without code changes. Not just different hosting providers, but different environments on the same hosting provider. Whether you’re using a legacy dev/stage/prod setup or a modern branch-is-environment host, modern hosting imposes some requirements on your application design but also offers a huge potential for new and powerful tools.

In this webinar, we’ll explore some key guidelines for building a cloud-friendly application, as well as look at some architectural options that a modern hosting platform enables.

Join us: https://www.crowdcast.io/e/jakarta_tech_talk_apr29_2

MOTU: Reactive Applications

MOTU: Reactive Applications
👉 Link: https://www.youtube.com/watch?v=LUeqCxRnFBQ
🕛 Quando: 12h do dia 22 de Abril, Quinta Feira! 🕛
✓ Tema: Aplicações reativas no Java: quando, como e porquê!

👨‍💻👩‍💻💭 Experts da Semana

Nesta edição do nosso papo deep dive vamos conversar com
▪️ Edson Yanaga (Twitter: @yanaga)
▪️ Karina Varela ( Twitter: @kvarel4 )
▪️ Otávio Santana ( Twitter: @otaviojava )

Reduce system complexity in Java with Data-Oriented programming

Traditionally in Java, we mix data and code in objects. While being beneficial in some cases, data encapsulation has a tendency towards systems with complex class hierarchies. Moreover, we introduce complex synchronization mechanisms to protect the state of our objects from being mutated or corrupted by other threads, making our code harder to maintain. Over the years many design patterns have been invented to work around this complexity.

Data-Oriented programming is a programming paradigm that inherently reduces system complexity by drawing a clear separation between code and data, and representing data with generic immutable data structures.

In this talk, we illustrate with practical examples how to apply Data-Oriented programming principles in Java, using smart Java annotations and latest Java features. We show how the application of Data-Oriented programming principles in a Java production system tends to reduce system complexity and make the system easier to maintain.

Bio
Yehonathan Sharvit has been working as a software engineer since 2000, programming with C++, Java, Ruby, JavaScript, Clojure and ClojureScript. He currently works as a software architect at Cycognito, building software infrastructures for high scale data pipelines. He shares insights about software at his tech blog, he writes technical books, he speaks at conferences and leads Clojure workshops around the world. He is the author of Data-Oriented programming, published by Manning.

MOTU: A morte do Java

MOTU: A morte do Java
👉 Link: https://www.youtube.com/watch?v=6stFXaIU-HA
🕛 Quando: 12h do dia 01 de Abril, Quinta Feira! 🕛
✓ Tema: A morte do Java, chegou o momento de falarmos sobre este tópico com alguém que respirou Java por quase todos os vinte e cinco anos da existência desta tecnologia. É chegado o momento.

👨‍💻👩‍💻💭 Experts da Semana

Nesta edição do nosso papo deep dive vamos conversar com
▪️ Elder Moraes (Twitter: @elderjava)
▪️ Karina Varela ( Twitter: @kvarel4 )
▪️ Otávio Santana ( Twitter: @otaviojava )

Oracle Developer Live – Java Innovations

Join us for technical sessions, hands-on labs, demos, panels, and live Q&A with experts.

Advance Your Application Innovation with Oracle’s Java Technologies

Oracle’s ongoing technology leadership and ecosystem stewardship is advancing Java, strengthening its position as the premier programming language and platform for modern application development. At this event, you’ll enhance your developer skills by learning more about Java from Oracle and industry technical experts. See how Java can help you create the next generation of rich, scalable, secure, and modern applications for a variety of targeted deployment environments. Gain insight into innovations within the Java 16 release that improve the performance, stability, and security of application development.

Register now to learn more about:

  • Modern language features such as Records and Sealed Classes
  • The introduction of the new Vector API
  • Projects such as GraalVM, Helidon, and Micronaut

RS-7445 [Serv MS leaking memory] [It will be restarted] [] [] [] [] [] [] [] [] [] []

Hello!
Having this error from cell alerthistory.log? Don’t panic!
Take a look in MOS: Exadata Storage Cell reports error RS-7445 [Serv MS Leaking Memory] (Doc ID 1954357.1). It’s related to Bug  – RS-7445 [SERV MS LEAKING MEMORY].

The issue is a memory leak in the Java executable and affects systems running with JDK 7u51 or later versions. This is relevant for all versions in Release 11.2 to 12.1.

What happens is that MS process is consuming high memory (up to 2GB).  Normally MS use around 1GB but because of the bug the memory allocated can grow upt to 2GB.  You can check it as per example below:

[root@exaserver ~]# ps -feal|grep java
0 S root     16493 14737  0  80   0 - 15317 pipe_w 18:34 pts/0    00:00:00 grep java
0 S root     22310 27043  2  80   0 - 267080 futex_ 18:15 ?       00:00:27 /usr/java/default/bin/java -Xms256m -Xmx512m -XX:-UseLargePages -Djava.library.path=/opt/oracle/cell/cellsrv/lib -Ddisable.checkForUpdate=true -jar /opt/oracle/cell/oc4j/ms/j2ee/home/oc4j.jar -out /opt/oracle/cell/cellsrv/deploy/log/ms.lst -err /opt/oracle/cell/cellsrv/deploy/log/ms.err

Note that: 267080 * 4096 = 1143MB (1GB). If your number is higher than this, it indicates the presence of the bug.

More“RS-7445 [Serv MS leaking memory] [It will be restarted] [] [] [] [] [] [] [] [] [] []”