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
1 vote
2 answers
39 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
45 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
0 votes
2 answers
216 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
  • 21
0 votes
0 answers
29 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
59 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
256 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
208 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
94 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
30 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
302 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
592 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
109 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
126 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
212 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
225 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
95 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
297 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
419 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
200 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
177 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
151 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
195 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
466 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
131 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,415
1 vote
2 answers
531 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
  • 113
1 vote
1 answer
1k 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
278 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
53 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
161 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
415 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
326 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
107 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
241 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
189 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,442
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
55 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
636 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
235 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
100 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
383 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
422 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
491 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 vote
0 answers
61 views

How do I choose the right Websocket API

I'm doing a project where I have to control a live DALI controller and I'm sending data from the website to the controller with Websocket. How do I know what Websocket to use? At the moment I'm ...
Mads Bødker Christensen's user avatar
0 votes
1 answer
82 views

My local server is getting close to maximum resources, I want to add another server.

So, first let me explain my current setup. I have an unmanaged ethernet switch which is connected to my intel nuc (server A) and an external had drive. Server A is running: Ubuntu Docker Gitlab ...
Filtration's user avatar
1 vote
1 answer
257 views

Should worker processes accept() or should they get data from the master process?

I'm trying to write an application server in python. I have a master process and multiple worker processes created from the master using fork(). I have two approaches in mind about how the workers ...
akshay takkar's user avatar
1 vote
1 answer
51 views

Doing operations securily from an Android application into a Server

I have come up with a problem in my development and I have searched for correct solutions but have not found any. I am developing an application which lets users login with username and password. ...
AndroidDev's user avatar
0 votes
1 answer
250 views

How to efficiently solve "close" players/items in an online game without iterating through all of them?

I have an online game server that works as follows: Once a player connects, he is in one of predefined sessions (consider them physical location, e.g. Island, Underground location, etc.). Then ...
John V's user avatar
  • 4,908
0 votes
1 answer
116 views

Guidance for Client side

We have created software for Rugged and mobile devices, and it gets deployed on the device. Admin has a provision to send an update to those devices. We use GCM or WNS for sending a notification to ...
satish's user avatar
  • 117
2 votes
2 answers
6k views

How to integration test server failures (http 500)

Like in the title: how do you integration-test server failures that return 500 HTTP responses? For example: There's a server with a /save endpoint that accepts files on POST and saves it into the ...
sarneeh's user avatar
  • 87

1
2 3 4 5 6