Questions tagged [web-servers]
The web-servers tag has no usage guidance.
36
questions
0
votes
1
answer
118
views
How encrypting website data works
If i wanted to encrypt a password on my website before its sent to the server, would i have to encrypt the password in javascript on the frontend for it to be hidden over the interent or could it be ...
1
vote
1
answer
956
views
Best practice for deleting resource from web page
So I have been down the rabbit hole of finding that HTML forms don't support DELETE requests, and then looking into mimicking the the behaviour with a Javascript fetch request (but it is not ...
0
votes
1
answer
776
views
Is Epoll/Multiplexing suitable to make network requests instead of "listen to" incoming requests?
I'm studying asynchronous IO, concurrent models for IO and how things works on windows, linux and most used web frameworks.
I'm struggling on understanding why single-threaded event loops like the one ...
1
vote
1
answer
107
views
Multiple webservices on a single port
I am developing a webservice, which offers different services, but currently under different ports. Existing services like GitHub or GitLab also several services, but I am wondering how they can ...
0
votes
1
answer
145
views
How to reduce DoS and DDoS attacks in an authenticated web server
I came up with an model to reduce DoS and DDoS attacks and would like your input on its effectiveness...
Basically, once a request reaches our servers without having a valid key, we add a key as a ...
0
votes
2
answers
198
views
Improve website speed with better user session management
I have an ecommerce website wherein as soon as a new user comes on website then a new visitorId gets generated for that user in database and that visitorId cookie gets stored in his browser and in ...
3
votes
3
answers
5k
views
How do non-blocking HTTP servers work?
My question is based on a few assumptions so please correct me on any of them below
I know that TCP has always been socket based
In order for a server to maintain that socket, a thread has to block ...
-1
votes
2
answers
114
views
Use different webservers for REST interface and HTML?
An application provides a REST interface to offer status and statistics information.
localhost:1111/stats -> return JSON encoded statistics
localhost:1111/status -> return JSON encoded system ...
0
votes
1
answer
630
views
How to route/implement port forwarding with AWS/Apache web server (httpd) with a Node.JS app on port 3000?
I'm trying to understand this and having a hard time. I usually use Ubuntu server, with Apache2, and this time I am not. So I'm a bit out of my element. I'm also a software developer and I don't do ...
1
vote
1
answer
286
views
Should I do parallel processing in RPC web service?
Recently I was reviewing my team leader pull request in our Web API hosted by Kestrel. There was a place in our code which is sort of hot path and we are processing frequently over hundred of items ...
1
vote
1
answer
179
views
Does DNS reply with more information than just IP address?
So I tried to access certain website using its server IP address and usually it does not go through. Let's assume IP masquerade technique is not being used such as NAT or reverse proxy.
This makes me ...
4
votes
2
answers
3k
views
Socket on a webserver
So what I know about socket is that a socket is an end point of a connection for a process, hence 1 socket on a host binds to an IP and a unique port number for each connection.
But a webserver (by ...
4
votes
2
answers
4k
views
How should I secure Adminer for production use?
I'm developing an enterprise web application, hosted on site and managed by the corporate IT team. I do not have remote access to the server, and the only way in is through the web interface. I'd like ...
3
votes
1
answer
112
views
App Servers vs. Web Servers
I serve static content from Tomcat. Someone suggested moving the static content to a web server in order to optimize performance. How are web servers designed that makes them better at delivering ...
0
votes
5
answers
2k
views
Best approach to write on a database with two webservers
I have an architecture/performance problem.
The problem:
One voting based application with: 1 loadbalancer, 2 webservers and a database
10 candidates and 200k voting users.
There may be more than ...