Side by side
Apache Traffic Server vs Ehcache
Both stand on caching software. Which one you can start free with, which one lets you read the code, and what each costs once you pay.
Free plan Open source APILinuxMac+1
Apache Traffic Server combines caching, proxying, and layer 7 load balancing in a self-hosted server. Its deployment options and plug-in APIs suit organizations that need to tailor proxy behavior.
Visit Apache Traffic Server Free plan Open source APISelf-hosted
Ehcache combines Java caching with JCache compatibility, off-heap options, and several deployment patterns. Check the Java and XA transaction limits against your requirements before choosing it.
Visit EhcacheThe facts
| Apache Traffic Server | Ehcache | |
|---|---|---|
| Free plan | Yes | Yes |
| Open source | Yes | Yes |
| Runs on | API, Linux, Mac, Self-hosted | API, Self-hosted |
| Lowest paid plan | Free or on request | Free or on request |
| Plans published | 1 | 3 |
| Maker | Not published | Not published |
| Website | trafficserver.apache.org | ehcache.org |
| On caching software | #1 of 27 | #2 of 27 |
Apache Traffic Server: what it does well
- Free and open source under Apache License 2.0.
- Supports HTTP/1.1 and HTTP/2.
- Offers proxy, reverse proxy, and cache hierarchy deployments.
- Plug-in APIs support custom behavior.
- Includes SSL termination and client access controls.
What to know first
- Self-hosted deployment requires managing the installation.
- The listed stable release is 10.2.0; 9.2.15 is the LTS release.
Ehcache: what it does well
- Free under the Apache 2.0 license
- Supports off-heap storage
- Compatible with JCache (JSR-107)
- XML and Java API configuration
- Can share data across application instances
What to know first
- Ehcache 3.11 requires Java 8 or later
- Java 8 support ends with the 3.11 release line
- XA isolation is limited to Read-Committed
- Ehcache 2.x is no longer actively maintained
Alternatives to Apache Traffic Server Alternatives to Ehcache The whole list
