Questions tagged [web-servers]

The tag has no usage guidance.

-1
votes
2answers
100 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
1answer
102 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
1answer
132 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
1answer
167 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 ...
2
votes
2answers
1k 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 ...
2
votes
1answer
1k 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
1answer
104 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
5answers
771 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 ...
2
votes
1answer
264 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 ...
1
vote
0answers
681 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 ...
3
votes
1answer
924 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 ...
0
votes
1answer
75 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 ...
0
votes
1answer
327 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 ...
2
votes
4answers
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 ...
0
votes
0answers
103 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 ...
28
votes
3answers
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 ...
0
votes
1answer
643 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 ...
1
vote
0answers
511 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 ...
2
votes
1answer
143 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 ...
2
votes
0answers
248 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 ...
3
votes
2answers
208 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 ...
1
vote
1answer
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 ...
1
vote
1answer
590 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) ...
0
votes
2answers
434 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 ...
1
vote
1answer
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 ...
3
votes
6answers
4k 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 ...
4
votes
2answers
600 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.)...
3
votes
3answers
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 ...
34
votes
1answer
52k 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 ...