L
L
LakeForest2021-08-08 20:44:37
Apache HTTP Server
LakeForest, 2021-08-08 20:44:37

What is the advantage of apache? How do you know if you should use it?

Early to create microservice applications in different languages, frameworks. Periodically I saw images on dockerhub: php-apache-7.4 (and so on)
I don’t understand when it is needed (apache)?

The last time I ran a server on the Flask framework using Gunicorn. I correctly understood, it's like Apache? Or what's the point?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-08-09
@vabka

Summarizing comments.
Until you know why you need this or that technology, you should not screw it on.
To understand that you need it is extremely simple:
You look at the list of features, and if all your needs are satisfied by these features, and the existing solution does not satisfy everything, you can take it.
It's also worth looking at benchmarks that are close to your case if performance is important.
My opinion:
If you write a backend on flask, then it is a third-party web server, you only need to transfer the request from the domain to some internal server and add HTTPS + request caching and balancing.
In principle, any web server will cope with this task, and I would choose for simplicity and speed, for example Caddy

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question