Conference: Nov 5-7, 2018
Workshops: Nov 8–9, 2018
Presentation: Servlet vs Reactive: Choosing the Right Stack
Share this on:
Abstract
When Netflix upgraded their main gateway, serving 83 million users, from Servlet based, blocking Zuul 1 to the Netty based, non-blocking Zuul 2, the results were interesting and nuanced with benefits and trade-offs. Spring Framework 5 provides a similar choice with Servlet based Spring MVC and the new reactive, web framework called Spring WebFlux.
How do you make sense of this choice? The key is to understand the trade-offs and pick the right stack for the job at hand. Of course you also need understand differences in the execution models and the impact on the programming model you use.
In this session we'll discuss these questions and also use demo code.
Interview
Spring Framework 5 provides two web stacks. One is a classic, Servlet stack with blocking I/O that most Java enterprise applications use today. The other is a Reactive stack that's built on an event-loop, non-blocking execution model and can handle high concurrency with less hardware resources. The motivation for this talk is to explain the differences in the execution models, demonstrate through demo code, and provide insights on trade-offs and making choices.
A concrete understanding of how the Reactive stack is different from the classic Servlet stack, what benefits it provides, and how the developer experience might change.
Anyone developing server-side Java applications, especially those with existing Servlet applications, would benefit by learning about this major shift that's taking place. The talk doesn't make too many assumptions beyond that. There are no specific skills or expertise level required.
Similar Talks
.
Tracks
-
Architectures You've Always Wondered About
Architectural practices from the world's most well-known properties, featuring startups, massive scale, evolving architectures, and software tools used by nearly all of us.
-
Going Serverless
Learn about the state of Serverless & how to successfully leverage it! Lessons learned in the track hit on security, scalability, IoT, and offer warnings to watch out for.
-
Microservices: Patterns and Practices
Stories of success and failure building modern Microservices, including event sourcing, reactive, decomposition, & more.
-
DevOps: You Build It, You Run It
Pushing DevOps beyond adoption into cultural change. Hear about designing resilience, managing alerting, CI/CD lessons, & security. Features lessons from open source, Linkedin, Netflix, Financial Times, & more.
-
The Art of Chaos Engineering
Failure is going to happen - Are you ready? Chaos engineering is an emerging discipline - What is the state of the art?
-
The Whole Engineer
Success as an engineer is more than writing code. Hear inward looking thoughts on inclusion, attitude, leadership, remote working, and not becoming the brilliant jerk.
-
Evolving Java
Java continues to evolve & change. Track covers Spring 5, async, Kotlin, serverless, the 6-month cadence plans, & AI/ML use cases.
-
Security: Attacking and Defending
Offense and defensive security evolution that application developers should know about including SGX Enclaves, effects of AI, software exploitation techniques, & crowd defense
-
The Practice & Frontiers of AI
Learn about machine learning in practice and on the horizon. Learn about ML at Quora, Uber's Michelangelo, ML workflow with Netflix Meson and topics on Bots, Conversational interfaces, automation, and deployment practices in the space.
-
21st Century Languages
Compile to Native, Microservices, Machine learning... tailor-made languages solving modern challenges, featuring use cases around Go, Rust, C#, and Elm.
-
Modern CS in the Real World
Applied trends in Computer Science that are likely to affect Software Engineers today. Topics include category theory, crypto, CRDT's, logic-based automated reasoning, and more.
-
Stream Processing In The Modern Age
Compelling applications of stream processing using Flink, Beam, Spark, Strymon & recent advances in the field, including Custom Windowing, Stateful Streaming, SQL over Streams.
-
Performance Mythbusting
Real world, applied performance proofs across stacks. Hear performance consideratiosn for .NET, Python, & Java. Learn performance use cases with OpenJ9, Instagram, and Netflix.
-
Tools and Culture: What's Beyond a Stack of Containers?
Containers are not just a techology. It's a platform. Push your knowledge.
-
Web as Platform
All things Browser, from JavaScript Frameworks for animation and AR / VR to Web Assembly and from protocol work to open standards evolution.
-
Beyond Being an Individual Contributor
Beyond being an individual contributor. Building and Evolving managers and tech leadership.
-
Building Great Engineering Cultures
Why engineering culture matters. Track features org scaling, memes as a culture tool, Ally skills, and panels on diversity / inclusion.
-
Hardware Frontiers: Changes Affecting Software Developers Today
Topics around: Quantum computing, NVM, SMR, GPU, custom hardware, self-driving cars, and mobile hardware.