Questions tagged [client]
It refers to client-server model where service requester is called client.
65
questions
0
votes
1
answer
76
views
Microservice & Clients interaction : Best way to persist previous API state information in successive API calls
Problem
We have multiple microservices, like Home, Menu & Cart, exposed via Gateway. Each one has API exposed to the app. Now, each API has certain information that is needed by the successive API....
-1
votes
1
answer
70
views
Auth flow between two services
We have two applications, each of them separated with its own backend and frontend.
The first application is the user-facing one. They register on the site and as soon as they want to execute a ...
0
votes
1
answer
70
views
Decoupling data validation from data processing
I'm trying to implement a web service API client using the guidlines i've found in this article:
https://www.oreilly.com/library/view/designing-evolvable-web/9781449337919/ch09.html
As it comes to my ...
0
votes
3
answers
121
views
Communicating error conditions in client API for remote RESTful server, what's the best way?
I'm writing an application based on a RESTful API located in a server (written in Python).
An Android app will access the API endpoints to get, post, put or delete data. The usual.
The server has a ...
0
votes
4
answers
150
views
Should I Decompose Client Classes?
I'm writing an SDK for the European Space Agency's DISCOs API.
This has around 10 endpoints with different sets of query parameters, each of which returns a different payload type with different link ...
2
votes
2
answers
153
views
API design: how to minimize client support?
I am tasked with designing an API for a car registration service. I don't have all the details yet, but we will receive requests from car dealers via API that my client will then process and forward ...
-3
votes
1
answer
133
views
How do client-side libraries prevent spoofing? [closed]
I'm looking at Segment's documentation right now and they have something called a "write key" that you include in your client-side JavaScript in order to send analytics data to the backend. ...
0
votes
3
answers
177
views
Should the client silently fix a possible error or should it let the user of the client know about the error?
I'm building a client for an API.
The API takes a query param that looks something like this 2-10, that's a range and notice that it uses a hyphen (-).
Usually, data comes from another place using en ...
0
votes
2
answers
476
views
What is the standard method for updating client views of data?
I'm working with a client who currently uses a database system that they've outgrown, so we're re-building it using a different platform that can handle their growth. One feature of their current ...
0
votes
1
answer
205
views
Should an http API client hide the http response object?
I'm using a client library for an HTTP API. The client exposes objects and methods matching the domain, e.g. Api::Document.download, but the return value is just the http response from the API. As the ...
9
votes
7
answers
598
views
Teams do relative estimations, business wants absolute estimations. How to make everyone satisfied?
This is the case:
Clients want to know how much time will be needed to finish a particular task (not the group of tasks). They are asking for man/days absolute estimation and only when they get it, ...
0
votes
2
answers
357
views
Can a C# AnonymousPipeServerStream create a non .NET client?
For example, if I want to write a daemon program in C# that uses anonymous pipes to communicate with programs written in another language, is this both possible and feasible?
I ask because I intend ...
2
votes
1
answer
743
views
Implementing both Sync and Async clients with DRY
I'm developing a client library. I'd like to provide both Sync and Async interfaces to endpoints on a server. They would be rather easy to implement as completely separate entities, but I would like ...
0
votes
1
answer
830
views
What is an application client?
Database System Concepts says
Database applications are usually partitioned into two or three parts, as in
Figure 1.6. In a two-tier architecture, the application resides at the client machine,
...
5
votes
4
answers
4k
views
Alternatives to polling an API
Assume we have a desktop application (probably WinForms) that acts as a client to some API for an app with a messaging function. This API has endpoints that return a JSON of messages, and who sent ...
1
vote
1
answer
54
views
Whose part of the system should handle malformed messages? [closed]
Currently we have a POS (point of sale) application that should call a remote service to declare each new sale. Considering that the remote service could be not reachable we have also a local db at ...
1
vote
0
answers
59
views
How do I choose the right Websocket API
I'm doing a project where I have to control a live DALI controller and I'm sending data from the website to the controller with Websocket.
How do I know what Websocket to use?
At the moment I'm ...
2
votes
6
answers
1k
views
Wait for file(s) in a remote directory to be created, then transfer the file(s) immediately to local computer
I'm wondering what the best practice would be for the following task:
I start a program on a remote node, which will generate subsequently new files
in a publicly accessable folder.
Whenever a new ...
0
votes
2
answers
891
views
Open source desktop application and security
I'm currently working on a desktop application in Java (using JavaFX).
This application stores some user information, parts of which are sensitive. For example, if the user configures a proxy, it ...
3
votes
1
answer
8k
views
Client Side or Server Side Calculations?
I was wondering about client side vs server side calculations regarding websites that provide some convenience type service. For example, an online website where you input a certain date and the ...
2
votes
1
answer
124
views
Where should my method(s) that connect to DynamoDB go?
I'm a Java developer working on a new module for my app that connects to, inserts, and updates DynamoDB information. For a lot of our projects, I used an MVC design pattern with a service layer to ...
4
votes
2
answers
1k
views
Design for client-server synchronisation
Background
I am working on improving the backend design for a video game. The game is live and working fine, but we want to improve various things. As a video game studio, we often do events which ...
4
votes
1
answer
200
views
What is exactly meant by the term "API client"
I'm reading Robert Sedgewick's Algorithms book and I often see the term API client. Please take a look at this exercise:
Write an iterable Stack client that has a static method copy() that takes a ...
3
votes
4
answers
17k
views
Difference between REST server and REST client
I'm reading articles about REST including a tutorial. I've seen this site http://www.vogella.com/tutorials/REST/article.html, and there is a part for explaining the rest as:
In a REST based ...
1
vote
1
answer
315
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.
...
-1
votes
1
answer
198
views
Complete statelessness, how to save password on client in secure way
Thinking about statelessness I wonder how I can overcome the issue of saving the user's password on the client side in a secure but also comfy way.
I assume the client always sends credentials to the ...
1
vote
2
answers
285
views
Requiring GPL for clients of AGPL Server
I am working on a piece of server software that is licensed under the AGPL. I would like to require that all clients to it be released under a free license (GPL preferable, but I'm open to other ...
0
votes
2
answers
62
views
Allowing only users of the official client to upload media to my server. Possible?
I've been toying with a project idea for a while now but can't quite settle on one important detail. The plan is to write a client that can author and upload WebMs to a server for global viewing (...
1
vote
5
answers
522
views
Should a client check for valid parameters?
I'm writing a Java client library for a simple API service and I was wondering how much should I be strict for invalid values.
For example for an endpoint a parameter should not exceed a certain ...
1
vote
1
answer
644
views
REST client library design
I have API accessible via REST. I want to develop library for it. Now, question is, how heavy should the library be? What is the best practice here?
Should I wrap the whole API in objects and ...
2
votes
1
answer
3k
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 ...
3
votes
2
answers
184
views
How should I refer to data bound columns?
I work often with data-bound applications with WinForms; records are pulled from a database and updated in a client application that I write. Stored procedures are used for all database transactions ...
0
votes
1
answer
142
views
Extensible web application where users can upload client-side code
I have a simple web application built with Angular which fetches some state from a web server and shows it to the user. Additionally I want to implement a feature where users are able to customize the ...
2
votes
3
answers
248
views
Can one html page with web services replace current server-client technology?
I have everything I need in 2 services in form of REST api's, is it a good idea or even possible to replace my existing asp.net app by writing ONE single html page (embedded with Angular templates) ...
3
votes
1
answer
47
views
Quickly reflecting changes across a site to all visitors
Say:
I have a website that contains a single toggle switch with 2 states.
There are currently 2 (or more) clients viewing the site.
and
1 client flicks the toggle switch.
How can I reflect that ...
2
votes
2
answers
279
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 ...
1
vote
1
answer
86
views
Send more data, or do client processing?
I have a conceptual problem that I want feedback on. First and foremost, the layout of my system. It contains a server, with many clients connected to it.
The clients get fed data from the server at ...
2
votes
1
answer
3k
views
Rest Client API design and implementation (with RestEasy)
I am working on a design to create a generic rest client for our application for current and future integration's with multiple services (different external systems). Following is a high level diagram
...
1
vote
1
answer
385
views
Separate GUI for clients
I am writing a game in which I have a Java server/client system set up.
Everything is working great, but I reached a slight problem. I have set up a basic health system, and a GUI to go with it (for ...
14
votes
3
answers
55k
views
Pushing data from Server to Client without a client request?
I've noticed while browsing Stack Exchange that there are dynamic notifications like "3 new messages, click to show". I want to have this kind of dynamic updating for what I'm about to explain.
Let's ...
0
votes
3
answers
756
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
vote
1
answer
468
views
Software architecture confusion App-Server/Client
i have a question about the following software architecture:
So, there is one database, an app server, which provide a restful service, a client and a framework, used by the app server and the client....
2
votes
1
answer
852
views
An embedded C developer wishing to interface some code with a web page
Okay, so as the title says, I'm an embedded C/C++ developer.
Right now, I'm working on a project that involves a client/server C application. The server side of the application is running on ...
0
votes
1
answer
184
views
Custom mobile app and custom server app [duplicate]
I have this little bit simple and general question. Let's say I build an android app which requires an online server to communicate with. The thing is that I want to make the communication on my own ( ...
6
votes
2
answers
641
views
How to handle a large amount of authenticated clients
I currently have made a multithreaded server in c++ for windows, where each connected client gets a thread to themselves which stays running until the client's socket is closed.
When a client connects,...
3
votes
1
answer
170
views
What's best for a client library: userland code or schema files?
I'm building a client library that consumes a collection of OpenStack API services. I know that as time goes on more services will be added - so I want to come up with a clean and neat way of ...
2
votes
2
answers
8k
views
What kind of webservice can be called with just a browser url?
Can a webservice be written in such a way that it can be called via just a browser url?
For eg. if the webservice is called GetStockQuote, then it should be callable by the following url on the ...
2
votes
2
answers
2k
views
When is the private key given to the client? [closed]
http://www.thebuzzmedia.com/designing-a-secure-rest-api-without-oauth-authentication/
I've been reading the article and I haven't really grasped it yet. When is the private key given to the client?
...
-1
votes
2
answers
392
views
How to assure client that we will complete our project and won't run away with the money [closed]
I have decided to work as a freelancer. I have developed a software and have successfully given the presentation demo. The client liked it and has agreed to implement the project in his organisation.
...
0
votes
1
answer
731
views
Make an app that communicates with an app on a server over wifi [closed]
This is a very broad question, and I'm just looking for a pointer in the right direction more than a specific answer, but it's something I've always wondered and never known.
Lets say I have a ...