SlideShare a Scribd company logo
3th April 2013




Enterprise(d) Tomcat in Action

        Václav Tunka
        Software Engineer,
        JBoss by Red Hat
What will we cover

• Short intro to httpd and tomcat
• New features in httpd 2.4
• New features in Tomcat 7 & 8
httpd

• Multi-platform HTTP server with reverse
  proxy, load balancing, virtual hosting, ...
• httpd 1.0 was initially designed for a
  different situation than we have now
• A lot of clustered servers for backend
  (tomcat, AS, jetty), now we need
  clustering for httpd as well
Some statistics
httpd 2.4

• Improvements in performance
• Making httpd “cloud ready”
• Async I/O
  – Multi-Processing Module workers (MPM)
    as default.
• High-performance APR
Apache Portable Runtime

• Platform independent API for:
  – Memory allocation and memory pool
    functionality
  – Atomic operations
  – Dynamic library handling
  – File I/O
  – Locking
  – Thread, process and mutex functionality
Modules

•   Bandwith control: mod_ratelimit
•   Security: mod_reqtimeout
•   I/O buffer control: mod_buffer
•   LUA support: mod_lua
•   Making the proxy cloud friendly:
    – mod_slotmem_shm (from mod_cluster)
Reverse proxy

• Support for dynamic configuration.
• Runtime change of clusters w/o
  restarts.
• mod_proxy_express for cloud services.
• Connection pooling
Cloud ready

• Solving horizontal scalability.
• Low latency.
• Fast request-response turover.
Time for Tomcat
Tomcat 7

• Servlet 3.0 compliant
  – asynchronous execution of processing
  – pluggability and extension support
  – new set of annotations
• JSP 2.2 – Jasper part of Tomcat project
Tomcat 7

• Valves replaced by Filters (Valves still
  work)
• Startup time reduced
• Easy to configure programatically
Tomcat 8

• Servlet 3.1
  – Non-blocking I/O
  – HTTP protocol upgrade mechanism
  – Security improvements
• JSP 2.3
• SPDY
• Web sockets
References

• [1] httpd usage according to W3Tech
• Apache and Tomcat logos from
  apache.org
• Mladen Turk's httpd and Tomcat
  presentations
Questions?




             15
16

More Related Content

PDF
QConSP 2018 - Java Module System
PDF
De Java 8 a Java 17
PDF
MySQL docker with demo by Ramana Yeruva
PDF
jLove 2020 - Micronaut and graalvm: The power of AoT
ODP
CfgMgmtCamp 2015 - Managing the Content Lifecycle with Katello
PDF
What you most likely did not know about sudo…
PDF
Tomcat openssl
PDF
Tomcat openssl
QConSP 2018 - Java Module System
De Java 8 a Java 17
MySQL docker with demo by Ramana Yeruva
jLove 2020 - Micronaut and graalvm: The power of AoT
CfgMgmtCamp 2015 - Managing the Content Lifecycle with Katello
What you most likely did not know about sudo…
Tomcat openssl
Tomcat openssl

What's hot (20)

PDF
De Java 8 a Java 11 y 14
PDF
De Java 8 ate Java 14
PDF
Docker introduction
PPTX
Java 9 sneak peek
PDF
What's new in MySQL 5.6
PDF
Introduction to Containers - From Docker to Kubernetes and everything in between
PPTX
Open jdk8 openj9-with_icedtea-web
PDF
Jolokia - JMX on Capsaicin (Devoxx 2011)
PDF
12 Things About WebLogic 12.1.3 #oow2014 #otnla15
PDF
Testing Docker Security Linuxlab 2017
PDF
SDN TEST Suite
PDF
Fedora Atomic Host
PDF
77739818 troubleshooting-web-logic-103
PDF
SUSE Manager with Salt - Deploy and Config Management for MariaDB
PDF
OpenCmsDays 2013 - Using OpenCms 9 folders as a network drive
PDF
Boost Development With Java EE7 On EAP7 (Demitris Andreadis)
PDF
Power tools in Java
PDF
Design Patterns para Microsserviços com MicroProfile
PDF
Oracle Fuson Middleware Diagnostics, Performance and Troubleshoot
PPSX
Java 9 and the impact on Maven Projects (Devoxx 2016)
De Java 8 a Java 11 y 14
De Java 8 ate Java 14
Docker introduction
Java 9 sneak peek
What's new in MySQL 5.6
Introduction to Containers - From Docker to Kubernetes and everything in between
Open jdk8 openj9-with_icedtea-web
Jolokia - JMX on Capsaicin (Devoxx 2011)
12 Things About WebLogic 12.1.3 #oow2014 #otnla15
Testing Docker Security Linuxlab 2017
SDN TEST Suite
Fedora Atomic Host
77739818 troubleshooting-web-logic-103
SUSE Manager with Salt - Deploy and Config Management for MariaDB
OpenCmsDays 2013 - Using OpenCms 9 folders as a network drive
Boost Development With Java EE7 On EAP7 (Demitris Andreadis)
Power tools in Java
Design Patterns para Microsserviços com MicroProfile
Oracle Fuson Middleware Diagnostics, Performance and Troubleshoot
Java 9 and the impact on Maven Projects (Devoxx 2016)
Ad

Viewers also liked (13)

PDF
Introduction tomcat7 servlet3
PPTX
Ob1k presentation at Java.IL
PPTX
Websockets on the JVM: Atmosphere to the rescue!
PPT
Multithreading, Blocking IO and Async IO
PPTX
Fastest Servlets in the West
PPTX
Asynchronous design with Spring and RTI: 1M events per second
PPT
Async IO and Multithreading explained
PPT
Knowledge Sharing : Java Servlet
PPT
Auxiliary : Tomcat
PPTX
Async servlets
PDF
Introduction to Apache Tomcat 7 Presentation
PDF
NetflixOSS season 2 episode 2 - Reactive / Async
PPTX
MicroServices at Netflix - challenges of scale
Introduction tomcat7 servlet3
Ob1k presentation at Java.IL
Websockets on the JVM: Atmosphere to the rescue!
Multithreading, Blocking IO and Async IO
Fastest Servlets in the West
Asynchronous design with Spring and RTI: 1M events per second
Async IO and Multithreading explained
Knowledge Sharing : Java Servlet
Auxiliary : Tomcat
Async servlets
Introduction to Apache Tomcat 7 Presentation
NetflixOSS season 2 episode 2 - Reactive / Async
MicroServices at Netflix - challenges of scale
Ad

Similar to Enterprise(d) Tomcat & httpd (20)

PPTX
Realtime traffic analyser
PDF
WSO2 Microservices Framework for Java - Product Overview
PDF
What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2...
PPTX
Apache Performance Tuning: Scaling Up
PPTX
End to End Processing of 3.7 Million Telemetry Events per Second using Lambda...
PDF
Securing Millions of Devices
PDF
Slow things down to make them go faster [FOSDEM 2022]
PDF
Tomcatx performance-tuning
PPTX
Drupal performance
PPTX
IBM MQ vs Apache ActiveMQ
PDF
IBM MQ Appliance - Administration simplified
PPTX
WUG Days 2022 Brno - Networking in .NET 7.0 and YARP -- Karel Zikmund
PPTX
Towards "write once - run whenever possible" with Safety Critical Java af Ben...
PDF
3450 - Writing and optimising applications for performance in a hybrid messag...
PPTX
Taking the open cloud to 11
PDF
AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly
PPTX
WebLogic Stability; Detect and Analyse Stuck Threads
PPTX
Architectures, Frameworks and Infrastructure
PPT
Cloud compiler - Minor Project by students of CBPGEC
PPTX
Building the Internet of Things with Thingsquare and Contiki - day 2 part 1
Realtime traffic analyser
WSO2 Microservices Framework for Java - Product Overview
What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2...
Apache Performance Tuning: Scaling Up
End to End Processing of 3.7 Million Telemetry Events per Second using Lambda...
Securing Millions of Devices
Slow things down to make them go faster [FOSDEM 2022]
Tomcatx performance-tuning
Drupal performance
IBM MQ vs Apache ActiveMQ
IBM MQ Appliance - Administration simplified
WUG Days 2022 Brno - Networking in .NET 7.0 and YARP -- Karel Zikmund
Towards "write once - run whenever possible" with Safety Critical Java af Ben...
3450 - Writing and optimising applications for performance in a hybrid messag...
Taking the open cloud to 11
AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly
WebLogic Stability; Detect and Analyse Stuck Threads
Architectures, Frameworks and Infrastructure
Cloud compiler - Minor Project by students of CBPGEC
Building the Internet of Things with Thingsquare and Contiki - day 2 part 1

Recently uploaded (20)

PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Electronic commerce courselecture one. Pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Approach and Philosophy of On baking technology
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPT
Teaching material agriculture food technology
PPTX
A Presentation on Artificial Intelligence
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
Building Integrated photovoltaic BIPV_UPV.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Electronic commerce courselecture one. Pdf
Network Security Unit 5.pdf for BCA BBA.
Per capita expenditure prediction using model stacking based on satellite ima...
Approach and Philosophy of On baking technology
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Advanced methodologies resolving dimensionality complications for autism neur...
gpt5_lecture_notes_comprehensive_20250812015547.pdf
MIND Revenue Release Quarter 2 2025 Press Release
A comparative analysis of optical character recognition models for extracting...
Programs and apps: productivity, graphics, security and other tools
Digital-Transformation-Roadmap-for-Companies.pptx
cuic standard and advanced reporting.pdf
Assigned Numbers - 2025 - Bluetooth® Document
Teaching material agriculture food technology
A Presentation on Artificial Intelligence
Dropbox Q2 2025 Financial Results & Investor Presentation
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
NewMind AI Weekly Chronicles - August'25-Week II

Enterprise(d) Tomcat & httpd

  • 1. 3th April 2013 Enterprise(d) Tomcat in Action Václav Tunka Software Engineer, JBoss by Red Hat
  • 2. What will we cover • Short intro to httpd and tomcat • New features in httpd 2.4 • New features in Tomcat 7 & 8
  • 3. httpd • Multi-platform HTTP server with reverse proxy, load balancing, virtual hosting, ... • httpd 1.0 was initially designed for a different situation than we have now • A lot of clustered servers for backend (tomcat, AS, jetty), now we need clustering for httpd as well
  • 5. httpd 2.4 • Improvements in performance • Making httpd “cloud ready” • Async I/O – Multi-Processing Module workers (MPM) as default. • High-performance APR
  • 6. Apache Portable Runtime • Platform independent API for: – Memory allocation and memory pool functionality – Atomic operations – Dynamic library handling – File I/O – Locking – Thread, process and mutex functionality
  • 7. Modules • Bandwith control: mod_ratelimit • Security: mod_reqtimeout • I/O buffer control: mod_buffer • LUA support: mod_lua • Making the proxy cloud friendly: – mod_slotmem_shm (from mod_cluster)
  • 8. Reverse proxy • Support for dynamic configuration. • Runtime change of clusters w/o restarts. • mod_proxy_express for cloud services. • Connection pooling
  • 9. Cloud ready • Solving horizontal scalability. • Low latency. • Fast request-response turover.
  • 11. Tomcat 7 • Servlet 3.0 compliant – asynchronous execution of processing – pluggability and extension support – new set of annotations • JSP 2.2 – Jasper part of Tomcat project
  • 12. Tomcat 7 • Valves replaced by Filters (Valves still work) • Startup time reduced • Easy to configure programatically
  • 13. Tomcat 8 • Servlet 3.1 – Non-blocking I/O – HTTP protocol upgrade mechanism – Security improvements • JSP 2.3 • SPDY • Web sockets
  • 14. References • [1] httpd usage according to W3Tech • Apache and Tomcat logos from apache.org • Mladen Turk's httpd and Tomcat presentations
  • 16. 16