DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 966,904 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Cover image for Knative : the easy way to serverless a java app
Daniel Santos for opt-nc

Posted on • Updated on

Knative : the easy way to serverless a java app

Hi everyone πŸ™‹πŸ»β€β™‚οΈ,

Let me introduce you Knative, a friend (or extension) of Kubernetes ☸, an easy way to stop apps when not used and so, save our planet 🌏 from COβ‚‚ attack!

Works out of the box for a Docker/OCI image of a serving app (like a REST app), but needs some changes for event consumers one's.

As the app starts on first request, is better to have a rabbit 🐰 startup performance level degree than a tortoise's 🐒 one (only works in this case 🏁). In Java β˜•οΈ apps, native-images comes to rescue πŸš€ (more about that in the next post).

You can see a working example of Knative serving a native java REST app in this interactive Katacoda tutorial, or if you are a lucky πŸ‡«πŸ‡·FrenchπŸ‡«πŸ‡· speaker, you can simply watch this demo video: .

Cheers 🍻

Resources

Top comments (0)

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.