The tag has no usage guidance.

learn more… | top users | synonyms (1)

1
vote
0answers
101 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
45 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 ...
-3
votes
2answers
41 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 ...
0
votes
1answer
51 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
365 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
20 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 ...
0
votes
1answer
31 views

Slow Internet vs Slow System Response Hosted by Local Server

How does slow internet access affects the response time of a web based system hosted on local server that is being access by other clients from the local server? I'm accessing the web based system on ...
0
votes
1answer
100 views

Designing a program that runs scrtipts on multiple computers(JAVA)

So Ive been trying to design a program in java(because I might need to create an app that does the controlling part) with GUI that can run scripts on a few local computers. It should do the following: ...
5
votes
5answers
531 views

.NET: Are web-based applications inherently harder to build than client-server?

We currently have an ongoing discussion about which approach to move into - we want to replace multiple older environments with .NET applications, and two potential architectures are under discussion: ...
1
vote
1answer
39 views

Transfer flattened entities instead of DTOs?

I wonder, if the below idea makes sense for our web application. We show various lists of entities, which typically refer to other entities and so on. In the table view, there are columns showing some ...
-1
votes
2answers
124 views

MVC as a subset of client-server architecture?

Can we say that MVC is subsystem (or subset, sub-architecture) of client-server architecture?
1
vote
1answer
111 views

Client-Server app architecture with custom communication protocol

I am working on Qt/QML/C++ based Client-Server software system with custom protocol. Now, in both projects inside QtCreator I have same header and implementation files inside both projects. What is ...
5
votes
1answer
76 views

Optimistic rendering imposes duplication of logic?

If you're working on a client side mobile application, for a smoother UX, optimistic rendering is encouraged. This is where the application makes UI updates based on user requests that get sent to the ...
2
votes
1answer
83 views

How to encrypt communication without hard coding key in client?

I've found description of vulnerability here. The kankun smart socket device and the mobile app use a hardcoded AES 256 bit key to encrypt the commands and responses between the device and the app....
1
vote
2answers
89 views

RESTful API, what's the best way to implement status changes and events?

For example I need to update the status of a "Purchase Order" from "Draft" to "Sent". What's the best way of doing this? Do I just the update the status field in the client side and then just POST ...
1
vote
1answer
141 views

Let Xamarin clients listen when server send an API

My situation I will make a Xamarin application for Android that can access an ASP.NET MVC webserver with API's. The problem is when I'll send an API to the server, all the connected clients must ...
2
votes
2answers
161 views

Improving The Design Of A Simple Restaurant Client-Server Architecture (UML Diagram)

I have to design a simple server-client model for the billing system of some fictitious restaurant. After spending about 10-15 hours on the UML diagram, I haven't gotten that far. The main issue I ...
2
votes
2answers
144 views

Should a client ever test server response at runtime?

I'm writing a client application that receives a JSON response from a server. In the past I've run into situations where a developer on the server side changes the JSON response in a way that causes ...
0
votes
0answers
22 views

Relying on file hash for data synchronisation across mobile and server

Imagine a client-server app that lets user upload images/documents etc. to server and then lets users who have access, retrieve and view them later on their respective mobile devices. So the flow is ...
3
votes
1answer
102 views

How to handle a client app that connects to a TCP server and sends/receives text data bidirectionally?

I've got a conceptual question (which is probably better posted here than on StackOverflow?). I want to develop a client application that maintains a persistent connection to a server, and exchanges ...
0
votes
1answer
39 views

Handle publishing data across environments

I am rewriting a website that has a back-end database for containing meta-data that is displayed to the user when they enter a text code. Background: The old/existing system stored this data in XML ...
1
vote
0answers
16 views

Put fixed selections in client, or load them from server?

Context is a single page app with a rest backend. For things like state and city lists, which rarely change, is it better to store them on server and load from client, or store them directly on ...
27
votes
3answers
1k views

Should I use HTTP status codes to describe application level events

Several servers I have dealt with will return HTTP 200 for requests that the client ought to consider a failure, with something like 'success : false' in the body. This does not seem like a proper ...
4
votes
2answers
230 views

A simple approach for data synchronisation

I want to synchronise the local database of mobile devices with the server's database. This synchronisation will happen for example when user comes online, to update the local as well as the remote ...
1
vote
1answer
487 views

Set keep-alive for Java ServerSocket

In a multi client server application, I need to know when each client connection is dead on the server side. After set keep-alive for client (and change default time from 2 hours to 10 second) each ...
2
votes
1answer
76 views

How to get the behavior class from its data class when they are separated for the purpose of server-client communication?

I am writing a server-client program with the following idea (analogy for my real program). There are many types of shapes. The client represents the shapes to the user which can queue operations (...
2
votes
0answers
107 views

What's the best way of testing client/server programs using Bamboo?

At my company, we've standardized on Bamboo for continuous integration. One of our products is a Server + a set of clients, and we want to test many different combinations. The way we do it is to have ...
1
vote
1answer
68 views

What mechanism/protocol transmits non-HTML files when downloaded from the web?

When a non-HTML file such as a PDF, DOCX, EXE, etc is made public to the WWW by an HTTP server, and a client makes a request for said file, www.example.com/download?=test.doc what facilitates the ...
0
votes
0answers
33 views

Organising client-server projects

I am about to spin up a new development in my shop. It will be our first client-server application. It will be written for .NET 4.6 using C# and visual studio. WCF will be used for interprocess ...
0
votes
0answers
33 views

Client application and secure data exchange without ssl/tls

I have my own home server and port 80/443 is blocked from my ISP provider. I want to create a Qt gui application that saves my data on my server using REST (using port 8080 or something) using nginx/...
1
vote
1answer
45 views

Preventing unauthorized writing to parts of server [closed]

Say I have two members which share a server. Both members have a game that is accessible to anyone and after playing, it records high scores by sending a request to write to a file on the server. ...
3
votes
1answer
480 views

How should I pass login data from client to server using REST API

I want to create a new session, the new session will be created by logging in (naturally). Should I pass the username and password: via URL (POST request to session?username=:username&password=:...
3
votes
1answer
396 views

Onion architecture in client-server application

I'm staring new project, cross-platform. I want to use onion architecture there. It will be a simple game (tic tac toe), just for education purposes. This app will be client-server type. Now, I read ...
3
votes
1answer
80 views

Why update client model before sever model?

In tutorials I've seen, when data changes on the client (maybe a TODO is added to the TODOs list) the client side model (and often UI) is updated first, then the server is called to persist that ...
0
votes
1answer
648 views

Using SessionStorage to keep client side state

I am working on an web app and I would like to keep the client data in the LOCAL session storage. I can't use the servers session and the app will only call some existing rest WS.I have to develop ...
3
votes
1answer
158 views

Does push via web sockets increases server load if I have too many write requests?

I have too many write requests to database. Currently my app implementation is such that it makes pull call to server every 5 seconds to update the changed data. If I implement push through web ...
0
votes
0answers
554 views

API calls as Server-to-Server or Client-To-Server?

I've been developing an iOS app for the best part of the year. It should also include fetching Tweets and Facebook posts for certain sites using the Twitter and Graph API respectively. I have set it ...
1
vote
0answers
82 views

How can I improve my websocket server's structure/flow?

I'm building a websocket server in python and I've hit a block regarding my program's flow and structure. Here's what I'm doing at the moment. The program creates a instance of 'server' and listens ...
0
votes
2answers
71 views

Connect PC application to a group of similar hardware devices, using TCP

Our company has started to design a system where many (typically 4 or 6) force-sensitive platforms, containing load-cells, would stream data to the PC via TCP. Each platform and the PC shall be ...
7
votes
1answer
410 views

Does it ever make sense to read from and/or write to a bound, listening socket?

I'm experimenting a little with creating a socket server, in PHP. In doing so I'm trying to abstract away the kinds of sockets I think I'll be needing, that I've tentitively named: ListenSocket — ...
0
votes
1answer
209 views

Generation of ids in offline/online application

I'm a bit confused about how to identify the elements in my application. I have a rest backend with an sql database. I'm currently using numeric (autoincrement) ids as primary key and use these for ...
1
vote
2answers
293 views

Design consideration on JSON schema for an API

I have an API endpoint that retrieve data from 3 SQL tables on the server-side. At the moment, I do a SELECT with joins, consolidate/reorganize the selected data based on a JSON schema, and then send ...
0
votes
2answers
82 views

Write Once - Use Many for server return values?

Well, I was wondering how I could do this or how this is done. Having a server that accepts HTTP Requests and maintains a database for a mobile app, it is supposed to provide data for Android and iOS ...
1
vote
1answer
267 views

oauth 2 authenticate with other authorization server

Let's assume i have a mobile app backed up by a Server. the server is both an Authorization and Resource Server. Now i want to enable users to register / login to the app using Facebook API. After ...
3
votes
3answers
986 views

have we come full circle with microservices, back to very old school approaches?

In terms of software architecture and design, how do microservices "stack up" (pun intended) against middleware? I'm coming from Java, and it seems like as you move away from straight REST as an API, ...
0
votes
1answer
89 views

Is this architecture feasible? Maintaining two tcp sockets open from the server to two clients in order to relay events between the two

Basically I need to keep track of two clients and need pass messages between the two. I am thinking of creating a tcp connection between the clients and the server and using the server to manage this ...
0
votes
3answers
227 views

Client-Server Application Object with child Objects

Actually I'm going to build an Client Server Application, at the Login I recive the User Object from the Server. An user has a List of tasks, but I don't want to load them at the Login. So what would ...
-1
votes
3answers
387 views

what are the limits of the client server architecture [closed]

i have developed a POS app as a stand alone app with its own database. A customer needs 10 of the app in different PCs, but it should use one database. This quickly brings a solution to mind. A Client/...
3
votes
2answers
152 views

Separation of logic from presentation results in repetition of code

Here's what I've been thinking. Say you're making a multiplayer game. A good way to structure it is to have all your game logic on the server and have the clients only be responsible for transmitting ...
15
votes
3answers
3k views

What's the point with HATEOAS on the client-side?

As I currently understand HATEOAS is basically all about sending together with each response links with information about what to do next. One simple example is easily found on the internet: a banking ...