Questions tagged [web-servers]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
50 views

Strategy for logging for a low latency multi processed web server backend

I've just finished a multi processed backend framework for a web server. The web server and processes are all written in C++.The web server sends a request to a free process which serves it back as ...
user avatar
  • 117
0 votes
1 answer
114 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 ...
user avatar
1 vote
1 answer
162 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 ...
user avatar
  • 119
0 votes
1 answer
104 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 ...
user avatar
1 vote
1 answer
61 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 ...
user avatar
0 votes
1 answer
114 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 ...
user avatar
  • 107
0 votes
2 answers
129 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 ...
user avatar
  • 249
2 votes
3 answers
3k 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 ...
user avatar
  • 39
-1 votes
2 answers
113 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 ...
user avatar
  • 237
0 votes
1 answer
490 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 ...
user avatar
  • 329
1 vote
1 answer
246 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 ...
user avatar
  • 194
1 vote
1 answer
174 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 ...
user avatar
  • 167
3 votes
2 answers
2k 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 ...
user avatar
  • 167
4 votes
2 answers
3k 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 ...
user avatar
3 votes
1 answer
109 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 ...
user avatar
  • 61
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 ...
user avatar
2 votes
1 answer
288 views

Roadmap to create a scientific computing website [closed]

I am a theoretical physicist starting my Ph.D. shortly. As a side project, I would like to create a scientific computing website in the field of General Relativity. It should be an interactive ...
user avatar
  • 39
1 vote
0 answers
961 views

Web browser resetting connection

I have a web application that is hosted on an embedded device. This device has its own basic web server that can serve content just like any other web server. The web application in question is ...
user avatar
3 votes
1 answer
999 views

Android App with Ruby Backend Server

I'm working on a personal project to help me branch out and learn some new/different technologies. I'm a .NET programmer but I want to learn Ruby and how to develop Android apps. I have developed ...
user avatar
  • 171
0 votes
1 answer
155 views

What is a simple way to let a user select a folder from a tree?

I have a Python-Flask app in which users can place files into a folder. As of now the directory structure is something like: /app /storage /templates . . . server.py The user ...
user avatar
  • 101
0 votes
1 answer
454 views

User sessions in a web server; speed or persistence?

I'm looking to implement sessions for a web server that I'm developing in my free time. Currently, it had cookie support, so users could implement their own session management, but this is something ...
user avatar
  • 101
2 votes
4 answers
3k views

3 tier architecture in .NET web applications

Nowadays most systems are designed as web apps. In the .NET world the famous three tier architecture is usually translated like this. Front End (Web Application) Middle Tier (custom DLLs using an ...
user avatar
0 votes
0 answers
108 views

Login Tokens Remote DataServer for use in a Javascript/HTML-PHP environment

I've asked this question on stackoverflow, but i think this is a more appropriate place for it. I'm creating an app for iOS, Android and the Web. I created a separate Restful Data Service that is ...
user avatar
29 votes
3 answers
4k views

Kernel mode web servers: A clever optimization or a security nightmare?

I was reading a Hacker News thread where one user posts a link from 2011 explaining that IIS is much faster than most other (*nix) web servers. Another user replies, explaining that IIS gets that ...
user avatar
  • 1,429
0 votes
1 answer
703 views

Quickly write log entries from http requests in a MySQL database with high performance

When a dataset is saved in the software I use, a http request is triggered (fire-and-forget). Information like the timestamp, the user and the changes made are listed in the GET parameters. Now I ...
user avatar
  • 103
1 vote
0 answers
618 views

Multiple API Calls on Web Server

I am trying to build a Tumblr Site that makes API calls to Social Network sites and return data and render on the Tumblr Site. And the thing is Tumblr doesn't allow PHP on their HTML Editor. So my ...
user avatar
  • 121
2 votes
1 answer
147 views

How can I run a script/subroutine on a Web Server and have that subroutine remain private (eg. Key Generator)?

My Problem: I have been tasked with re-implementing a software key generator routine on an external web server running cPanel v.11.44.1.18. Currently, the key generator is implemented using a ...
user avatar
2 votes
0 answers
255 views

Is it realistic to test web application with tomcat while production server are using WebSphere?

In our company we use WebSphere Application Server to hold web application but it is not available for developers because of license issue. We have been using Tomcat to test the web application and ...
user avatar
3 votes
2 answers
222 views

Why HTTP Servers send information about themselves in HTTP Headers?

Most of the HTTP Servers I know send their application name and version in response http headers as default behaviour. (Nginx, IIS, Apache etc.) Of course we can change the default behaviour but I ...
user avatar
1 vote
1 answer
2k views

Storing user uploaded images / files in multi server env

In a multi server system, e.g. a load balancer, multiple web servers and a database server, where do you store the files / images users upload when each web server will need access? Before now I've ...
user avatar
  • 149
1 vote
1 answer
632 views

Architecture design for a web application that runs SSH connections to remote servers

This is a followup to my question here. I have to make a web GUI for a library that manages remote clusters via SSH. The main point is that this library spawns threads and subprocesses (Popen) ...
user avatar
  • 113
0 votes
2 answers
438 views

The best way of coding web system in term of performance [closed]

So far I've been using IPB and my custom scripts all coded in PHP but I am really disappointed of the long term performance of it. I would like to move to native coding, the learning time to put into ...
user avatar
0 votes
1 answer
3k views

What are the PHP web server architecture components and the purpose of each one of them?

Given below is an image of a basic PHP web server architecture: Would someone please explain the several components available and how they interact? I'm more concerned of how the PHP Core operates ...
user avatar
4 votes
6 answers
6k views

What's the simplest way to provide a portable, locally running webservice server application?

We have a large website running that offers a JsonRpc web service. For offline demonstration purposes, I want to realize a portable, locally running webserver with a minimalistic feature replication ...
user avatar
  • 161
4 votes
2 answers
891 views

What are some of the major differences in process management between CGI and newer (better) technologies? [closed]

I know CGI spawns a new process for every HTTP request that it serves, while servlets use one Java process to serve many requests. What do other technologies (rails, WSGI/django, mod_php, asp.net etc.)...
user avatar
  • 3,253
3 votes
3 answers
4k views

Are there any non-blocking web servers for Java?

I was studying about the infrastructure being used by Facebook, as I was developing a website based on social interaction for a university project. Facebook is using Tornado Web Server as its ...
user avatar
36 votes
1 answer
54k views

How are Apache HTTP Server and Apache Tomcat related? (If at all)

I currently have Apache httpd running on a production Ubuntu VPS server. I write php scripts. I'm interested in learning Java and I was wondering how I would go about writing some server-side Java to ...
user avatar
  • 3,489