[turk] going native with tomcat

21
GOING NATIVE WITH TOMCAT MLADEN TURK, REDHAT INC.

Upload: javablend

Post on 20-Aug-2015

861 views

Category:

Technology


0 download

TRANSCRIPT

GOING NATIVE WITH TOMCAT

MLADEN TURK, REDHAT INC.

2

JBossWeb Feature Overview

Tomcat reloaded

Either standalone or embedded inside JBoss AS

Effectively handle static data

High performance HTTPS

Code stability

3

Why JBossWeb when we have Tomcat?

Because we cannot use Tomcat name

Tomcat lacks version tracking and maintenance

No patches for the particular version

Remove components which are duplicated by other JBoss products

We have Industry leading clustering solution in the house

Bring more stability to the code

Include only proven and stable code

4When does it make sense to use one or the other?

JBoss.org CommunityJBoss Enterprise

Middleware

5

JBoss.org Community Projects

6

Features cont.

Better integration with the OS

Uses JBossNative

Extensions to the JRE for better networking

Effectively handle static content

Uses modern OS features for zero copy (sendfile)

Decreases CPU load

Decreases memory usage

7

Features cont.

OpenSSL for SSL support

Mature and stable

Hardware acceleration

Up to 10 times performance increase

8

Native layer

Uses Apache Portable Runtime

Basis of the Apache Httpd

Cross platform support

9

Native Layer

High concurrency

Able to handle 10000+ concurrent clients

10

Native Layer cont.

Effectively handles Keep-Alive

11

Native layer cont.

12

Performance

OpenSSL

Optimized for the OS

Support for hardware accelerator cards

Fast. 6 times faster without hardware acceleration!

13

Performance

50 Concurrent clientsLog scale: zoom on 4MBytes file serving

160 Req/Sec

60 Req/Sec

14

Decrease CPU/memory usage

Sendfile lowers down the memory and CPU usage

15

16

17

18

JBossWeb Standalone

19

Native for Tomcat/JBoss AS

20

Questions?

21