2

How much is performance degraded when running vertx embedded within jetty or tomcat?

Considering running a vert.x based reverse proxy standalone versus embedded, within tomcat or jetty. High level vert.x documentation discourages embedded vert.x, but I am not clear on what exactly makes it less desirable, other than the obvious additional overhead.

Robert Christian
  • 18,218
  • 20
  • 74
  • 89
  • 1
    Will you use the Servlet layer for inbound requests or will you expose an HTTP endpoint with Vert.x (ie Netty), using Jetty/Tomcat as a mere application container? – David Dossot Feb 27 '14 at 04:38
  • 1
    It doesn't make much sense to embed vertx in jetty or tomcat. Would you embed jetty in tomcat? Or tomcat in JBoss? – j will Jun 17 '14 at 16:30
  • Vert.x is a standalone framework, it provides everything you need to build a complete server application. What do you hope to gain from embedding it inside anything? – KennethJ Oct 12 '14 at 11:49

1 Answers1

0

There is no significant performance degradation running Vertx inside Jetty or Tomcat, besides general degradation due to multi-tenancy of applications (the contention for server resources and lots of interacting configurations).

DoctorPangloss
  • 2,994
  • 1
  • 18
  • 22