Skip to main content

Questions tagged [client-server]

Client-server is a distributed software architecture where one layer runs on a server and processes request sent by another layer running on a different computer.

Filter by
Sorted by
Tagged with
-1 votes
4 answers
253 views

Here's what a typical application that adopted the client-server architecture looks like: A client-based frontend issues requests to a company backend server The company backend server accepts the ...
Sergey Zolotarev's user avatar
0 votes
6 answers
1k views

I've been trying for days to upload plain text files to a web server (both IIS and NGINX) via HTTP PUT/POST, from a C# desktop app, unsuccessfully However, I'm no further along. I have had various ...
mountainred's user avatar
1 vote
0 answers
148 views

I'm designing a file sending system from a server to many remote clients, around 5000; each file has only one recipient client. Files rarely exceed 10MB. The server is published on the internet, the ...
ʞᴉɯ's user avatar
  • 129
-1 votes
1 answer
59 views

Some decades ago working with IRC, I remember a paragraph of some RFC and now I'm looking for it. I don't remember it by memory, only a concept: When it comes to communication between two services, ...
Leandro Bardelli's user avatar
1 vote
1 answer
203 views

Background: At work I was tasked with developing a new demo web client to replace our Windows Form application in the future. Our back-end is developed in Java and works stateless as REST services. ...
drake76722's user avatar
0 votes
2 answers
293 views

We have an ongoing argument in our team. Please help. Here is the problem: In our SPA web app, let's say we have a resource which can be edited by only those users who belong to the team of the user ...
user3563059's user avatar
1 vote
2 answers
125 views

I'm interested in understanding, conceptually (e.g., similar to how many of the concepts in networking are explained in textbooks like Tanenbaum's Computer Networks, or Kurose's Computer Networking), ...
user7088941's user avatar
0 votes
1 answer
218 views

Imagine a simple set up of an API and a 2nd service, where the API pushes some msgs to the message queue and the service pulls them and processes them. Now, if an error occurs while processing a msg, ...
Milkncookiez's user avatar
2 votes
1 answer
336 views

We have a scenario that is in a VERY tightly controlled industrial environment. This is all C# on Windows. We gather data from different types of sources - sensors monitoring environmental data, ...
whopkinscom's user avatar
1 vote
1 answer
140 views

I have an application that has use cases relative to where it is used. A local client and server, where all the server data is in a single location and the client queries that server knowing it is ...
FinalFortune's user avatar
3 votes
0 answers
992 views

On this book (Software Architecture, 10th Edition by Ian Sommerville, ISBN: 9781292096131), the following architectural patterns are presented (Chapter 6, 6.3, p175): MVC Layered Client-server ...
pmdci's user avatar
  • 179
7 votes
3 answers
4k views

I would like to display something on my desktop by tapping a button on my mobile app. For example, there is a "show cat" button on my mobile app. When I tap that button, a new window should ...
LevelRin's user avatar
-1 votes
2 answers
224 views

I am creating a multiplayer game and was wondering if only the server knows about the actual players in the game, or is this list sent to the clients too? So for example the server knows about each ...
user2640145's user avatar
0 votes
2 answers
222 views

Assume we are building a Progressive Web App(as everyone does these days) that communicates with the server through a rest API. Now I need to show a list of world countries to the user to choose from. ...
Ali Rahimi's user avatar
0 votes
1 answer
57 views

I think the question is pretty straight forward but just to clarify, if the client and server are separate machines and need to be able to communicate with each other, does that mean that certain ...
user avatar
0 votes
2 answers
341 views

Let's say you have a user registration form in your frontend. In both, backend and frontend, password is valited so it has to match a set of requirements: more than 6 characters, no symbols, etc... ...
Héctor Valls's user avatar
0 votes
2 answers
82 views

I am drafting architecture for 1:1 video calling mobile app with face filters (face recognition). I could use p2p e.g. WebRTC because more savings less complexity. However, continuous face rec during ...
softcode's user avatar
  • 103
1 vote
1 answer
533 views

How does server-server communication compare to client-server communication? I'm wondering if there are any performance benefits when putting a GraphQL layer in between my client-side app and my rest-...
wheresmyspaceship's user avatar
1 vote
2 answers
263 views

This is a very generic question not much related to any language/protocol. I have a desktop application and a backend that communicate via TCP. Most protocol events are paired -- request/response. For ...
badSantos's user avatar
  • 137
2 votes
1 answer
1k views

In the text book software engineering by Sommerville , there is an example where he uses it to illustrate the famous type of software architecture "Client-Server Architecture", here it is : ...
Ahmed Mohamed's user avatar
5 votes
4 answers
7k views

Our POST API takes in an identifier (let's say deviceId) in order to compute the accuracy of the location we have stored for that device in a DB; the result of that compution is then saved in a ...
CoderGuy's user avatar
  • 169
4 votes
3 answers
2k views

I have a website which uploads job postings to my API, there are multiple steps to doing this: Upload a logo image to file storage. Insert data about the job posting into a database. Process a ...
AndyM's user avatar
  • 309
0 votes
1 answer
256 views

Some design thoughts on an application that is mostly event driven using kubernetes and docker. The application is a web based application, a single page one. It shows updates from the back-end such ...
ring bearer's user avatar
1 vote
1 answer
704 views

Premise: Language/Framework: C# / .NET + Core I provide a desktop, multi-platform client-server API for HW control related purposes. The "Server" is communicating with multiple HW components....
BoJl4apa's user avatar
1 vote
1 answer
188 views

We have an application that has served us and our clients well from some 20 years now. Pretty good track record but it's obviously showing it's age in some areas. We are looking for advise and ...
user44021's user avatar
0 votes
0 answers
37 views

If I have a repository, like a Dropbox server or a File sharing server, and if a client uses this repository for storing its data, from a design perspective, whose responsibility it is to calculate ...
user1173240's user avatar
1 vote
1 answer
88 views

I have a huge DB,and CalculateTasksFromDB() takes a long time (and lots of memory). Once that method is done,there is a huge list of tasks. There are worker processes in the system (at any point in ...
yoni keren's user avatar
2 votes
0 answers
104 views

I want to have a Client-Server-Model with Smartphones within a range of 50 meters inside an application. One of the Clients is supposed to be the "Host" and it's only job is to receive data from all ...
ximix424's user avatar
1 vote
1 answer
301 views

Say I am wanting to include a third party HTML component in my site... I know that I can simply include a <script> tag to pull in the component on the client's side; however because I do not ...
physicsboy's user avatar
64 votes
10 answers
13k views

This is kind of similar to the Two Generals' Problem, but not quite. I think there is a name for it, but I just can't remember it right now. I am working on my website's payment flow. Scenario ...
turnip's user avatar
  • 1,701
1 vote
2 answers
479 views

Suppose you have a client-server architecture structured with a Client class that asynchronously implements the Send() and Receive() functions. You also have a base Message class and several other ...
m.iurato's user avatar
0 votes
3 answers
372 views

I have a requirement to get input from a web app UI, send this input to the server who will run an algorithm on it. The web server will send back the output of the algorithm the the UI. Is an HTTP ...
restin84's user avatar
2 votes
1 answer
222 views

Background I have a system that comprises of 3 components: a web application that displays data and allows data manipulation by users (React) a server application which serves the data to the web ...
Andrei-Marius Longhin's user avatar
9 votes
1 answer
12k views

The website I am building has a real-time messaging component. The backend is built with Flask and I have integrated Flask-SocketIO to handle Websocket connections when users are on the messaging page....
turnip's user avatar
  • 1,701
0 votes
0 answers
426 views

The context I need to design a Client-Server(-Client) network in C++ that would allow an android application to communicate to a Raspberry Pi and back I am running everything on linux environment(s) ...
bem22's user avatar
  • 109
0 votes
2 answers
214 views

According to Software Engineering: Theory and Practice book by Pfleeger and Atlee, Peer-to-peer architectural style is different than Client-Server architectural pattern. But in Mocrsoft's Microsoft ...
Zi Fit's user avatar
  • 11
4 votes
2 answers
267 views

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
5 votes
0 answers
222 views

I am currently in the process of creating a Django REST framework project for a client server web app. I would like to ask the following: Should I write a custom admin if I want my app to be ...
 DJN's user avatar
  • 51
-1 votes
2 answers
215 views

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,563
0 votes
1 answer
189 views

I'm going to share an example where I noticed this and would like to know if there is a known pattern of why one would do this. I have two instances of rsyslog running on different machines. One acts ...
TheMeaningfulEngineer's user avatar
0 votes
1 answer
4k views

I'm writing some embedded Linux software where we have two microprocessors on the same PCB and they communicate with each other using UDP through a switch that is embedded on the PCB. Each application ...
Alpha's user avatar
  • 9
0 votes
1 answer
225 views

Currently i'm working on a small platform with a simple client-server model and will soon go in a closed beta with a launching customer. In essence it's an Electron application which is mostly used ...
user1692823's user avatar
2 votes
2 answers
798 views

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
2 votes
1 answer
273 views

Disclaimer: I'm sure this has been asked here before, but I haven't been able to find it. I'm trying to create a system where one central computer (master) can initiate commands on other computers (...
Logarr's user avatar
  • 128
0 votes
3 answers
343 views

I'm working in a scenario where I have a backend (let's call it the server) and a frontend client app (let's call it the client). The client is entirely headless, and can connect to any instance of ...
user avatar
2 votes
1 answer
278 views

I'm prototyping some single machine, single user software with a client-server model; the first client for which will be a CLI, but I expect a (local) webapp/GUI to come later. For the CLI, I'd like ...
OJFord's user avatar
  • 239
0 votes
1 answer
136 views

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
1 answer
3k views

I am building a comet service which will push new data to the client on mobile devices. For this, I am using websockets to deliver messages to the client. The problem I am facing here is the ...
coderahul94's user avatar
0 votes
2 answers
596 views

For the past few months I've been messing around with implementing my own version of a well-known board game. After much experimentation I've arrived on a few key points that describe my system: The ...
Thiatt's user avatar
  • 117
1 vote
0 answers
180 views

How would you go about if you would like to create something like: You have let say 3 devices (can all be iOS or Android, a mix is not necessary) One of the devices would act as a master and the other ...
Jester's user avatar
  • 119