Questions tagged [server]
It refers to client-server model, where providers of a resource or service is called Server.
271 questions
2
votes
4
answers
140
views
Multithreaded Game Server: Single send() or Many send()s for Game List?
I'm developing a multithreaded game server (C/TCP). I need to send a list of 50-100 available games to a console client.
Option A: Send 50-100 separate messages, using send() for every single ...
1
vote
2
answers
166
views
Where to initialize clients in C server?
I’m writing a multiplayer server in C using sockets and pthreads.
The project is separated by responsibility:
server.c/.h → networking (socket, bind, listen, accept, thread creation)
player.c/.h → ...
0
votes
2
answers
433
views
How to implement a server application that can reload configuration without restart
I have a game server implemented in Python to which clients can connect and play against each other.
I'd like to be able to reload configuration from a config file without restarting the server (as ...
0
votes
1
answer
179
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 ...
-2
votes
1
answer
1k
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 ...
2
votes
1
answer
525
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 ...
1
vote
3
answers
515
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 ...
0
votes
0
answers
47
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 ...
2
votes
4
answers
756
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 ...
0
votes
1
answer
129
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 ...
0
votes
1
answer
569
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 ...
-1
votes
1
answer
219
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 ...
0
votes
1
answer
313
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. ...
-2
votes
1
answer
122
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 ...
0
votes
2
answers
722
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 ...
1
vote
3
answers
451
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 ...
0
votes
1
answer
410
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 ...
-4
votes
2
answers
156
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 ...
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 ...
6
votes
2
answers
365
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 ...
2
votes
1
answer
181
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 ...
-1
votes
2
answers
484
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 ...
4
votes
2
answers
267
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 ...
0
votes
0
answers
28
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 ...
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 ...