When comparing Apache vs Traefik, the Slant community recommends Apache for most people. In the question“What are the best web servers?” Apache is ranked 4th while Traefik is ranked 6th.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Free and open source
Pro Powerful
Apache has a lot of features and functionality.
Pro Excellent OS support
Pro Easy solutions for complex configurations
Due to it's maturity, Apache has a lot of features to cover a wide range of situations.
Pro Great documentation
Apache has thorough documentation.
Pro Auto-discovery
You just add labels to your Docker, Swarm or K8s containers and they get proxied automagically, If you set up everything correctly.
Pro Easy to set up
Add your docker network and labels to your services and get it running fast.
Cons
Con Arcane configuration format
Configuration is as good as the manuals go. As soon as you have to configure it by yourself, it becomes a lot more difficult due to a rather obtuse system of configuration with long and confusing variable names, which has become infamous among web developers.
Con Process Based Request Handling
Each request opens a new process/fork to handle just that request (ver memory inefficient)
Con Extremely inneficient
Opens a new thread for each request. In practice this means that unless you use a proxy (nginx) you can only have a certain number of people on your site at a time, and is extremely inefficient on the server side.
Con Http/Https only
E.g. doesn't allow you to route IMAP/SMTP traffic.
Alternative Products
