Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [client-server]

The tag has no usage guidance.

0
votes
0answers
44 views

How to design a client-server handling of a cart?

I am developing a POS application based on a client-server architecture: the server is a Laravel based REST API server the client is a vanilla javascript SPA the clients can be more than one the ...
0
votes
1answer
27 views

Updating a distributed backend and keep track of compatible releases for Electron app + Webserver (PHP + MySQL )

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 ...
1
vote
1answer
41 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 ...
2
votes
1answer
124 views

Is there a name for a server/client relationship where the client doesn't request, but will reply to the server's requests?

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 (...
0
votes
3answers
151 views

How can a headless client securely know the API version of a multi-instance backend?

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

Server-client CLI messaging design

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 ...
0
votes
1answer
100 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 ...
2
votes
0answers
108 views

Ensuring reliable delivery of messages over websockets?

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 ...
0
votes
0answers
20 views

Interruptable/resumable sequence of actions in client-server game

I'm implementing an online turn-based game, where game state changes are driven by client actions sent to the server. Valid client actions are generated and validated by a values method, which takes ...
0
votes
2answers
135 views

What software/architecture patterns would fit into this client/server board game?

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 ...
0
votes
0answers
48 views

Best practices to check permissions in a webapp based on api?

Let's say I build an api server and a angular/react/whatever client webapp. I can authenticate and store auth token, no issue with that. Is there andy best practice on how to handle users ...
2
votes
0answers
607 views

How to avoid DTO on a client/server application?

I would like to use DRY beans on my client-server application (DRY: Dont Repeat Yourself). It is not a problem to me if it is highly coupled: I know that my DTO will have the same form as the ...
-5
votes
2answers
143 views

It's safe to access to the database and querying from it directly if it's on the server side, if not what should i do? [closed]

I made WPF application for a client-side and hosting database in a server side , I know there is something called REST API to transfer data between a client and server I don't know this method and ...
3
votes
4answers
244 views

Web Applications REST API: Should the data be structured to meet the UI's requirements on the client or on the server?

For a web app I am working on I have a pretty basic relational database. I access this database through a RESTful API and generate the markup in React once the data is retrieved. If I find myself ...
1
vote
2answers
205 views

How do multi packet transmissions work with UDP?

I have been reading up on UDP connections and understand that UDP transmissions are "Best Effort", maybe your data will be received, maybe it won't, and if it is, it could be out of order. What I'm ...
-2
votes
1answer
439 views

Is there any reason to use server side rendering instead of HTTP API + JS Frontend? [closed]

When deciding for a new web project I have two design choices. First, I can go for traditional web application design. In this case, pages are rendered on server side. Second, I can go for an API ...
4
votes
1answer
465 views

Any disadvantage to using websockets for non-web client apps?

this is my first post on here. I am wondering if there is any disadvantage to using websockets as a communication method for a non-web-based client application to connect to a server? I am looking at ...
2
votes
1answer
96 views

Architectural considerations for frequently matching similar users

I've been trying to design a backend architecture to a SPA that satisfies the following: user constantly answer yes/no questions (ex: tinder swipe cards) The application calculates each user's ...
1
vote
0answers
172 views

How to set up servers in node.js for intensive calculations?

I'm developing architecture for devices where requests can be very high in in number, also the data that is received requires to do some intensive computation on it 1) Is there any method to do the ...
1
vote
3answers
463 views

How to handle parallel requests, different response time and atomicity of transactions

I have a table of data and I can create , update and delete rows. I have apis to do these operations. The following steps happen I create a row and send a create request to server. I update some ...
3
votes
1answer
419 views

Confused how to design app server architecture

I'm developing a desktop JavaFX application that connects to a local WildFly app server via the REST protocol. WildFly describes itself as an application runtime that helps you build amazing ...
1
vote
2answers
187 views

App/server communication - versioning, JSON vs. binary serialization

I apologize in advance for the length of this question; it requires some explanation. I'll try to make it as clear as possible. I am developing and maintaining a mobile app (Xamarin, F#) that ...
1
vote
3answers
152 views

Timer per class/wise approach?

I work on an online game server. For regeneration of player's hitpoints, I consider using timers. That is, if the player is online and his HPs or mana is lower than maximum, every minute these stats ...
3
votes
1answer
116 views

Strategies for minimising duplication in client-server interactive processes

I have a client-server system modelling an interactive business process with the following four constraints:- The client may have stale data, and/or the client may be untrustworthy. All client-side ...
0
votes
1answer
106 views

System design for a client server problem

I am trying to design and implement a solution for the following problem I am facing in one of my projects. There are n (say 30) clients that send me data points of the form {timestamp, object}, ...
1
vote
1answer
456 views

How do you update a client state with a server state in Vue or other reactive frameworks

You have a server that sends the client data. A JSON object. {"name": "folder1", size: "2406"} The client updates it's data: data = newData And the client is updated. Reactive frontend coding as ...
0
votes
0answers
112 views

How can an API not conform to Client-Server REST constraint

I've been reading about REST, and I am struggling to understand why the Client-Server is included. To paraphrase, the client-server constraint requires a separation of concerns between the server and ...
3
votes
6answers
2k views

How does authorization Server work on Single Sign on?

I am trying to implement Single Sign On feature(SSO). I have for now three systems that needs this feature. This SSO is relatively new to me, I have done SSO where the domain is same. There browser is ...
1
vote
1answer
100 views

Is it good practice to save data client-side when it is retrieved from database?

Let's say I have a database with users, groups and messages at the groups. And I have 3 views: Profile view: Where all the details of the user is shown. Groups view: Where all the groups are shown. ...
2
votes
1answer
138 views

Should application UI reflect server or client data?

Say you have a UI that reflects some sort of server-side data and the UI can manipulate that data via HTTP requests. For a more concrete example, consider a user database with a web interface that can ...
2
votes
4answers
511 views

Multiple servers for each module or one server to handle requests from multiple clients

We got multiple devices that communicate over different protocols (rs232, tcp, http, etc.) and we want be able to send requests from multiple interfaces (as well get responses from each device to ...
0
votes
2answers
769 views

Design for keeping local user profile data in sync with the server

So I'm working on an iOS app and I’m thinking about how to keep user profile data in sync between server and client. The first idea that comes to mind is to create a class called User. It would be a ...
0
votes
1answer
563 views

Should client-side model contain foreign keys to extract data already on client

I'm currently building the front-end of an application using AngularJS. I don't have a whole lot of knowledge about the back-end, but some of the data I'm being served by the back-end developer is ...
7
votes
6answers
722 views

How do large engineering teams describe the interface/contract between a web service and client JavaScript code? [closed]

I'm looking for a formal way for a front-end and a back-end team to communicate on the shape of a JSON web API. For example, let's say you are on a client-side team writing the JavaScript & HTML ...
1
vote
0answers
73 views

Software Defined Storage (SDS): How to choose right moment to lock it for backing up?

I'm developing a server which provides a virtual block device via SCSI interface. The device is constantly bombarded by requests to read/write data blocks. Sometimes I need to lock this device (or ...
0
votes
0answers
124 views

Optimizing a client-server visualization that runs out of memory

I have a visualization (shader-based) that I'm running in a Chrome browser. Recently I've been running out of memory after periodically refreshing the pool of data from the server, or if I make the ...
2
votes
1answer
3k views

Architecture for OAuth2 - BackendServer - FrontendServer

I'm developing an whole ecosystem with an OAuth2 Provider, a Backend Server and a Frontend Server. OAuth2 Provider: provide only the authentication/authorization for the user, and a few other general ...
1
vote
3answers
154 views

Multi-tenancy…as opposed to what?

In the last several years I keep hearing the term multi-tenancy being thrown around, and each time I Google its meaning it leaves me confused: (Wikipedia) : The term "software multitenancy" refers ...
0
votes
4answers
651 views

What makes (or why is) a language Server-Side?

Since Swift 3 is boasting its new capabilities, it occurs to me that I don't actually know why Swift is server-side. I've been hunting "Full Stack" and the listings have MEAN, they have C#/ASP, some ...
0
votes
0answers
470 views

Developing client-server application on top of Netbeans RCP

Our company is developing a large, database (MySQL) system on top of the Netbeans RCP. This is a Java Swing GUI based application. We want to take advantage of Rich Client Platform to develop the "...
3
votes
1answer
73 views

Create a web service description and derive code from it or the other way round?

I have written some small HTTP services myself and the clients that consumed them. There's a question on CodeReview in the hot questions about a wrapper for some RESTful API which made me wonder, ...
1
vote
3answers
321 views

How to draw high-resolution images on client-side?

Any libraries, API, or tips are welcome. I am trying to draw Landsat 8 images using Canvas utility of Javascript on my browser. The grayscale reflectance values for Landsat 8 bands are from minimum -...
1
vote
0answers
77 views

Choice of response type in web application architecture

I've been using various server side languages/frameworks for developing back-end web applications. Every server-side framework that I've been using has the capability for returning views/templates (...
1
vote
1answer
474 views

Handling responses from an outputstream

I have an InputStream and an OutputStream to a server. I can send a bunch of JSON requests over the wire and get a stream of responses back from this server. From this, I'd like to build a wrapper ...
1
vote
0answers
1k views

Two way communication between applications

I am currently looking into re-architecture of some of my organization applications. Other questions aside, the one that I am currently trying to figure out the best approach for currently is the ...
0
votes
1answer
102 views

Which strategy to use in Client-Server messaging to trigger specific behavior in them?

I'm developing a virtual assistant to manage transactions in a business. I'm using an external service to handle Natural Language and get intents, actions and parameters from my user requests. The ...
-5
votes
2answers
917 views

ArrayList Dynamic remove and add for socker client [closed]

I have one ArrayList in Java and a save the socket and one unique id. When someone client is add in the ArrayList, the unique id i have is NOT the same with position in ArrayList. When someone ...
2
votes
1answer
2k views

What are the pros and cons of using these Multithreading Models in a Client/Server Architecture

In my classes of parallel programming the teacher mentioned three models, dynamic thread creation (create threads according to demand), thread pool (create a fixed amount of threads) and mixed or ...
15
votes
3answers
705 views

How to deal with faster computers in a client/server real-time videogame

I'm creating my first online game using socket.io, and I'd like it to be a real-time multiplayer game like agar.io or diep.io. But I've run into the issue of trying to figure out how to get all the ...
1
vote
0answers
173 views

.NET server object instance: Singleton vs Per Call vs Per Client in the context of a 2 tier architecture

Note: This is a theoretical question weighing up the pros and cons of server object instancing, the tier architecture is not the topic of the question. My question is simply whether my thoughts are ...