Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Advantages of configure TOMCAT 8.5 with APR Components in windows

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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".
 
Saloon Keeper
Posts: 27807
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Saloon Keeper
Posts: 27807
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Curse your sudden but inevitable betrayal! And this tiny ad too!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic