Skip to main content

Questions tagged [server]

It refers to client-server model, where providers of a resource or service is called Server.

Filter by
Sorted by
Tagged with
0 votes
3 answers
177 views

Architecture for downloading large number of large images

I am running a website for a customer who has terrabytes worth of images. Each JPG image is high-res (20MB) and belongs to a hierarchy like this: Group A SubGroup 1 subsubgroup a ...
turnip's user avatar
  • 1,701
0 votes
1 answer
83 views

Is there any way to have an android or iOS app expose a web-api?

I want to develop a miminal app for iOS and Android. Basically, I want to have a widget (or similar micro-app) that displays how many items I have in a list. If I open the widget, it just opens a ...
Chaos Crafter's user avatar
-1 votes
1 answer
114 views

How can I simplify deploying game server on hosting

I'm an online game developer. I've written my game server using c++ on visual studio on windows 10 OS. My hosting machine is run on CentOS 8. Every time I make a change on server, I transfer all the ...
Ozan Deniz's user avatar
-2 votes
1 answer
627 views

bare-metal server vs cloud server vs on-prem server?

I am trying to understand the difference between bare-metal servers and cloud servers. I am referring to the following document,blog. I understand that Amazon EC2(which is all the rage) is an example ...
Sahil's user avatar
  • 189
-3 votes
1 answer
101 views

Backend VPS requirement estimate

I have an idea for a mobile app, but As I'm not from a Software background, I need to know how much the backend operations will cost before I commit time and resources to develop this idea. In this ...
GeethVS's user avatar
2 votes
1 answer
387 views

What really is a "web server" in relation to popular frameworks like Flask, Node.js, Apache?

In Flask you can run a "webserver". Well really it's a "WSGI Server". Well really you shouldn't be using core server features like serving files through HTTP at all, you should be ...
Leftover Salad's user avatar
2 votes
3 answers
483 views

Are there downsides of two TCP connections for bidirectional communication?

I have a server which maintains some shares state. The clients can send some requests and get an answer from the server. Sometimes the server needs to give some information to the client ...
Unlikus's user avatar
  • 131
1 vote
3 answers
296 views

frontend server obtain data from backend server, or frontend server return page with javascript that obtain data from backend server?

I'm currently learning how to separate frontend server and backend server. However, i'm not sure which approach should i take between the two Frontend server obtain data from backend server and ...
LLL's user avatar
  • 111
0 votes
0 answers
54 views

Single-threaded request-response type server architecture

I'm writing an internet service in Rust that works more or less like an HTTP-server, just without the HTTP part, and strictly over UDP. I also have a requirement to build it like an old-school game of ...
laggyfrog's user avatar
1 vote
2 answers
3k views

How to represent the absent of a field value in json response?

I am a react developer and writing the client on pure JS. I have sometimes missions to received data from server and send data to server. Now between the client team and backend rough discussion ...
Brk's user avatar
  • 31
0 votes
0 answers
31 views

Enabling file editing on a file stored on a server through custom routes and POST/GET Requests

I am creating a platform which allows multiple users to edit a file simultaneously and I was wondering if using a web server with routes could be the correct architecture for this goal. I am trying to ...
Fabrizio's user avatar
  • 115
0 votes
1 answer
73 views

Handling IO operations through a server and building the UI using a separate framework/application

I am trying to build a file editor, and I wanted to build the UI using Flutter. However I wanted to implement IO operations (reading a file, applying changes, etc) in Rust. The reason I would like to ...
Fabrizio's user avatar
  • 115
2 votes
4 answers
580 views

Multiplayer FPS Architecture

I'm creating a multiplayer game and have been having some trouble creating a good architecture for the server side. So far on the server we store a list of player which are the actively connected ...
cuppajoeman's user avatar
3 votes
1 answer
472 views

Scaling up an online game using SignalR

I'm developing a web game that currently all runs on one server. It uses SignalR to maintain connections between the server and clients, and the server also sends all the web stuff to clients (HTML/...
Jez's user avatar
  • 1,318
0 votes
1 answer
113 views

API for a statefull AI server

I'm designing a web application for image analysis using AI. My API for CRUD operations is written in Django. Now I want to add the AI functionality which loads the model once on the startup, receives ...
Karol Borkowski's user avatar
1 vote
0 answers
33 views

Handling events internally in server

I'm trying to make sense of how to handle events in my server in a neat way. I'm creating a Whatsapp chatbot that receives messages via webhooks at a certain endpoint on my server. It doesn't seem ...
AlePouroullis's user avatar
0 votes
1 answer
514 views

How to integrate a Python server with Kafka?

I have the request to integrate my Python server application (Flask/waitress) with Kafka. That means that it should frequently poll a certain Kafka topic (on the order of minutes) and process all new ...
user3058865's user avatar
-1 votes
1 answer
2k views

Best practice for git repo locations

I started my first job as a dev about 3 months ago, at a very small company where I'm (currently) the only developer, and I've been setting them up with git. Their codebase is a bit all over the place,...
confused_nomad's user avatar
-1 votes
1 answer
183 views

Reducing Server Calls or Improving Server Response Times?

In the company I am working for, we have been told to keep server requests to a minimum. There are probably reasons for this specific to the company, but it made me wonder. Let's say I am building a ...
pythonweb's user avatar
  • 107
-3 votes
1 answer
163 views

Ways & Methods switch between MongoDB Database after selecting a country. (MERNG)

I have a concept in which a user selects a country, which will either filter or go to that database; I was thinking of alternatives or options that would help in the process. These are my first plans ...
Mohammad Khan's user avatar
0 votes
1 answer
273 views

Ideal REST API for long stateless computation?

We have to compute a schedule for a set of students and teachers in a school. The program takes a large amount of data. The time it takes to compute a schedule for a given input cannot be determined. ...
sg7610's user avatar
  • 103
-3 votes
1 answer
246 views

How to manage a distributed application?

I have a distributed application backed by a distributed database. (Distributed here means running across multiple hosts with one or more instances on each host). Application has several toolings ...
kernel0707's user avatar
-2 votes
1 answer
97 views

Choosing between frontend and backend

I am new to web development. After reading some posts, such as this and this, I am still not sure which parts of my application belong to backend. To make things simple, I will use a mock example. The ...
AlwaysLearning's user avatar
0 votes
1 answer
455 views

Does it make sense to spawn request driven jobs in a thread or process?

I've developed a large application that performs jobs, such that it receives input x and outputs y. For this application, speed is the top priority. The application is capable of running concurrently. ...
Tom's user avatar
  • 109
0 votes
2 answers
642 views

Taking load off of Rest API with Cloudflare Cache?

I have a server running on AWS which serves data, that is not changing too often (think about a CMS system) to multiple clients. This service is critical for most of the client apps, thus I want to ...
godzsa's user avatar
  • 109
0 votes
3 answers
215 views

Sysadmin password storing

I'm quite unexperienced in the sysadmin area. Now I'm facing the responsability of managing two (remote) servers. I'm working in an informal organization. So I have passwords for the OS's users, ...
schrodingerscatcuriosity's user avatar
1 vote
3 answers
342 views

How should I manage secrets for applications deployed on servers I do not control?

Problem description I have an IoT app that provides a server backend and browser UI client for interfacing with proprietary control systems. Some deployments of this application will require that the ...
daviegravee's user avatar
-3 votes
1 answer
249 views

Serving large file (dozens of GB) to client from a server-side query to the Azure SQL database?

I have an SQL database in Azure that is ~4.5 TB / 150 million rows worth of data. Users will need to query this database for large sets of data. Right now, I am having users submit their requests ...
Alex Gao's user avatar
0 votes
1 answer
304 views

How to let backend APIs communicate with each other?

I'm building a complicated frontend-backend application of which both the frontend and backend should be highly scalable and reusable. To serve these two requirements, I'm splitting the backend into ...
ImJustACowLol's user avatar
1 vote
3 answers
687 views

How to make Request from Client to Server more evenly distributed (over 24 hrs)

I'm trying to write a new API that can support many devices. There will be at least 50k devices in the beginning that will connect to the server using an HTTP API on a daily basis to receive updates. ...
TheMar's user avatar
  • 146
-4 votes
2 answers
141 views

Does server farm change the design of the server program?

In The Linux Programming Interface Sec 60.4, it talks about design a server that handles multiple requests using multiple processes or threads, or pools of processes or threads. Then it discusses ...
Tim's user avatar
  • 5,495
2 votes
2 answers
752 views

Understanding the importance of Gunicorn and Nginx for Django web development

I'm entirely uninitiated to the world of web development, and only have a tentative grasp on Django and web development through the test server it works through. From the guide I'm reading, the author ...
genjong's user avatar
  • 123
1 vote
1 answer
2k views

Token based authentication to multiple API servers

We have a Web server (which also does authentication and authorization) that manages, via an API, one or more servers that contain highly sensitive data. In the below architecture diagram, we manage ...
Matthew Knill's user avatar
45 votes
4 answers
9k views

Is cloud computing mainly just a marketing term?

I understand the concept of cloud computing, but I'm curious why the term has become so exhausted the past several years. Servers have been around for a long time, and I fail to see how this is any ...
alrob's user avatar
  • 579
6 votes
2 answers
351 views

How do services distribute their servers around the globe while maintaining their whole dataset intact?

I've always been curious on how services such as google/youtube have multiple datacenters across the globe to serve requests faster to users while keeping their whole dataset structure intact. There ...
Epic Speedy's user avatar
-3 votes
2 answers
57 views

How should I handle a scalability problem during routing my requests from server?

I have faced a problem with the initial design of my system where sensitive information was being sent to the front-end and front-end was responsible for calling 3rd party APIs. As you have probably ...
Anfal's user avatar
  • 103
2 votes
1 answer
167 views

Serverless game server architecture

First post on the software engineering stack exchange, I hope the question fits the purpose of this sub. I'm building a serverless game server with the following architecture and was wondering if ...
Tom Nijs's user avatar
  • 129
1 vote
1 answer
569 views

Using same flask server for HTTP and Websockets

I have a simple app which has the following architecture: front-end api/ back-end server.py api/ utils/ The app is already using http based server which is started/configured in the ...
bird_blue03's user avatar
-1 votes
2 answers
433 views

Should a server call services on behalf of the user?

This is a general software architecture related question. This question is not related to a specifc programming language or service. The question is: "Should a server do things on behalf of the user ...
olietenk's user avatar
2 votes
2 answers
111 views

Server-side script to handle many near-simultaneous incoming XMLHttpRequests

I am building my own analytics platform, which I want to work like this... A JS script in each of my webpages collects data about users' clicking behaviours and sends that data to a PHP (or other ...
Steve_P's user avatar
  • 31
4 votes
2 answers
255 views

client / server division of responsibility

It makes sense to give the server applications as much responsibility as possible as to avoid having to rewrite logic across different types of clients. In my case I am developing a data structure ...
Tagor's user avatar
  • 169
-1 votes
2 answers
196 views

What does a proper server response look like? [closed]

tl;dr Which is the best server response for an endpoint to get a user's age? 30 or {"age":30} or {"metadata":{"time":1561919615,"status":200},"age":30} or something else? I am writing a server using ...
Evorlor's user avatar
  • 1,553
0 votes
0 answers
25 views

Building an API for long distance customers with IOS App, single or multiple calls?

I am in the process of building an API in Laravel and my server is currently stored in the UK. Now I have read some of the posts relating to this topic on Stack but I am still a little unsure as to ...
IconicDigital's user avatar
1 vote
1 answer
56 views

Whose part of the system should handle malformed messages? [closed]

Currently we have a POS (point of sale) application that should call a remote service to declare each new sale. Considering that the remote service could be not reachable we have also a local db at ...
Dypso's user avatar
  • 231
1 vote
1 answer
1k views

Architectural principles for creating a large-scale email server that doesn't get blacklisted

I am considering what it takes to implement an email server. Google Cloud basically doesn't allow you to send emails at scale (they block the email ports pretty much), though it sounds like you could ...
Lokasa Mawati's user avatar
0 votes
0 answers
272 views

Implementation event-based game server architecture

I'm trying to develop a game server in Netty using an event-based approach where incoming events are dispatched to the correct game rooms, but I'm having some trouble with managing my world state. My ...
Verhelst's user avatar
  • 113
1 vote
3 answers
117 views

Do I need to 'deploy' my web project when I can just keep a recent clone of the Master-branch in public_html?

We have git installed on our webserver (via cpanel), but unfortunately no CI- / Deployment-Tools. Would it be good practice just initialise our repository in /public_html/ and push our local Dev-...
Hendrik's user avatar
  • 111
2 votes
2 answers
390 views

Notify Millions of subscribers at the same time(or with min. delay) in C++?

I'm working on a problem, in which i have some real time weather information of different cities through out the world. I'm exposing subscribe function to interested people/clients, with input:- ...
user1372771's user avatar
2 votes
1 answer
714 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 ...
Aziz's user avatar
  • 123
2 votes
2 answers
721 views

Automatically update info on Desktop Client when there are changes in the server

Basically, I have a remote hosted server somewhere https://nnn.com And then I have the NNN Desktop Client. The Desktop Client shows information X. I change information X from the remote hosted ...
Rigo Sarmiento's user avatar

1
2 3 4 5 6