Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Advantages of configure TOMCAT 8.5 with APR Components in windows  RSS feed

 
Vic Suyam
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please explain advantages of configuring Tomcat with APR components in windows environment. because i could see wordings in installation screen like "install APR based Tomcat native .dll for better performance and scalability in production environments".
 
Tim Holloway
Bartender
Posts: 18705
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
APR is an accelerator that takes advantage of native OS/hardware features. It sacrifices "write once/run anywhere" in the Tomcat server (bot not the webapps) for performance. On Windows, it's available precompiled. For Linux, you have to build it as part of a custom Tomcat build.

I'm under the impression that the performance boost is only modest. I prefer to keep enough spare capacity in my vanilla Tomcat servers rather than use APR. but you may feel differently.
 
Vic Suyam
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Tim, but I still not clear on this, so can I go with this APR component option in Production version of installation? will it require any special attention or changes need for application perspective?
 
Tim Holloway
Bartender
Posts: 18705
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I cannot vouch for it. I certainly recommend that you thoroughly test on a Beta system first.

As I said, I don't run my servers so close to the ragged edge that I need this sort of boost. Tomcat doesn't carry a lot of overhead to begin with.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!