Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [nginx]

Nginx is an open-source, lightweight proxy and load-balancer for several web and email protocols.

0
votes
2answers
77 views

Rate limiting *un*-authenticated requests

Say we have a load balancer that also does rate limiting. Rate limiting seems pretty straightforward for logged-in users - just look at the JWT and maybe use an in-memory data-store to see how many ...
0
votes
1answer
96 views

Why do we need nginx server on top of linux server?

Recently, I tried to deploy a web project to a virtual machine. I used the Ubuntu server as my OS, but while following along some tutorials I came to the fact which was very confusing for the beginner ...
-1
votes
0answers
19 views

Handing routing in PHP scripts, or via the web server (NGINX)

For many years I've used PHP frameworks mostly to help with routing. My goto is usually Slim, Symphony, or a pick of mix of packages using composer as I rarely require the full features of a framework....
1
vote
0answers
49 views

NGINX in between load balance and Apache?

I have recently joined the company where I see below stack to handle the http request CDN -> LVS(Load balancer) -> NGINX -> Apache My question is about using advantage of NGINX b/w Load balancer ...
2
votes
2answers
303 views

creating nodejs apps in php/mysql framework with later on full step by step migration to nodejs in mind

I'm looking for the most efficient path to convert over time my own made php framework for nodejs and I believe that nodejs experts and specific developers who had their years working with apache/php/...
0
votes
1answer
411 views

Nginx for exposing Docker Swarm services to the Internet?

I'm involved in the development of an enterprise web application whose functionality is separated into microservices deployed in a Docker Swarm. In order to expose these microservices to the Internet ...
4
votes
1answer
623 views

Understanding architecture of NGINX

According to this article, nginx has a master process and a number of worker processes. I'm trying to understand how a request is handled by the nginx worker processes. nginx uses an event driven ...
4
votes
1answer
419 views

Advice needed on approach to log raw request/response body from APIs

I need some advice on an approach to log raw request/response data from a few webapps, for all operations and hits on all APIS accessed via HTTP methods (mostly HTTP POSTs), that I have hosted. ...
0
votes
1answer
702 views

Is this Big Data architecture good enough to handle many requests per second?

I want to ask for a review of my big data app plan. I haven’t much experience in that field, so every single piece of advice would be appreciated. Here is a link to a diagram of the architecture: My ...
-1
votes
1answer
2k views

If I want to implement ajax, does the choice of the web server make a difference?

I have been spending quite a lot of time trying to decide if I should use apache** or nginx. I am very biased towards nginx due to the simple configuration, better scalability and it just feels more ...
1
vote
0answers
63 views

Best way to handle access to web dashboard displayed on “dumb” screen

My web application has a dashboard page written in angularjs that is intended to be displayed on a screen in a room as a way of monitoring the information therein. It's a dumb screen connected up to ...
8
votes
2answers
984 views

Microservices & Canonical model

When I was reading about microservices on this site, I came across the below statement. What is meant by a canonical schema? Isn't it same as domain model? The Microservices Architecture pattern ...
1
vote
2answers
447 views

Using NGINX as proxy for dynamic content

We want to serve different applications on the same domain, based on path. For example mydomain.com Serves a WordPress website and mydomain.com/app serves a google app engine application. My natural ...
0
votes
2answers
84 views

How is server A faster than server B in some (or all) cases if B employs more parallel tasks?

After researching modern web servers, I feel that I am pretty ignorant when it comes to server design and concurrent task management by both the operating system and the server. I understand some ...
3
votes
1answer
228 views

Request Caching for Symfony 3 application with > 1 million combination of query parameters

We have a REST Webservice build with Symfony3 and PHP7. The application is served via Nginx and PHP-FPM. The Webservice returns a list of products. Products inside the list are filtered by attributes....
1
vote
1answer
1k views

Cache invalidation on multiple servers

I have 6 web servers which are giving me problems due to cache inconsistency. I am thinking of building a cache invalidation service such that there is a topic on which all the servers can publish a ...
0
votes
1answer
494 views

expressjs: is it bad practice to use req.hostname for querying a db?

I'm building a nodejs app I would like to make available under various settings by my customers. I want my customers to build their websites on top of my app, so: - the app can be configured in a way ...
4
votes
1answer
2k views

Caching authenticated requests for all users

I am working on a web app that must deal with very large impulses of simultaneous users, who need to be authorized, to request identical content. In its current state, it's totally crippling to even a ...
3
votes
1answer
1k views

Bottlenecks, nginx as a load balancer

Why nginx can keep itself from being a bottleneck when serving as a load balancer. If it becomes the single point bottleneck in some conditions, then is there solution except hardware load balancer?