Developers, Start Your nginx!
summary
The talk demonstrates using Java’s Foreign Function & Memory API (FFM, introduced in Java 22) to drive the nginx web server from Java code. It covers inspecting nginx internal structures from Java, calling C functions safely, manipulating memory segments, and experimenting with running Java handlers inside nginx—suggesting nginx as a native high-performance gateway or hybrid runtime (TLS, HTTP/3) for Spring Boot workloads.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 3:14What is NGINX
- 10:41Java FFM overview
- 20:54Launch NGINX from Java
- 26:13Delegating requests to Java
- 34:24Spring app integration
- 39:22Experience and challenges
- 41:58Q&A
related talks
47mInterconnecting Java and Native Code with the FFM API
51mNative Interoperability with JDK 25 and the FFM API
16mForeign Function and Memory API
49mnjs — native JavaScript scripting in nginx
49mServerless Java: Challenges and Triumphs
01h 01mJava Enable Preview: Foreign Function and Memory Interface
48mJava in the Serverless Space
49mWhen a Java Programmer Meets C
