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.

-3
votes
0answers
51 views

Cloud to on premise connection [on hold]

For an application hosted in the cloud, how to push requests to clients in customer lab/on-premise in real-time? Main concerns are what are the standard/acceptable solutions for: talking to clients ...
0
votes
0answers
30 views

Single Page App with ASP.Net Core: Communication pattern

I'm currently getting my head around solutions for an architecture, in which we develop the client (SPA, Angular) as well as the backend (ASP.net Core). What I'm really interested in is the form of ...
2
votes
1answer
123 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
144 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
32 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
77 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
85 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
127 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
47 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
533 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
142 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
236 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
142 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
330 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 ...
3
votes
0answers
400 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
94 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
159 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
399 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
376 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 ...
0
votes
0answers
204 views

Synchronous communication between different components on Heroku

I'm creating a chatbot in Java for Slack which looks as follows: To understand this diagram, think of the "Bot" process as a Slack user that, instead of being a human, is a computer program. There ...
1
vote
2answers
167 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
146 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
102 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
431 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
105 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
91 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
135 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
472 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
709 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
500 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
679 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
2k 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
151 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
635 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
453 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
72 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
304 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
75 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
455 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
98 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
797 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
1k 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
685 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
158 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 ...