Relative Content

Tag Archive for client-server

Best Practices for calculating data in GIS-like web application

Let’s assume that we have a simple GIS-like application, which presents (using Google Maps or anything similar) recorded tracks. Each track consists of points (data portions) with geo-data and additional information, like speed, altitude and similar attributes.

Client-server application design issue

I have a collection of clients on server’s side. And there are some objects that need to work with that collection – adding and removing clients, sending message to them, updating connection settings and so on. They should perform these actions simultaneously, so mutex or another synchronization primitive is required. I want to share one instance of collection between these objects, but all of them require access to private fields of collection. I hope that code sample makes it more clear[C++]:

Handling Server Response Timeouts [duplicate]

This question already has answers here: What to do when request is sent to server and while waiting for response internet connectivity lost? (2 answers) Closed 10 years ago. Consider the following scenario : User sends a request to transfer money. Server receives the request and transfers the money but the reply times out. The […]

Handling Server Response Timeouts [duplicate]

This question already has answers here: What to do when request is sent to server and while waiting for response internet connectivity lost? (2 answers) Closed 10 years ago. Consider the following scenario : User sends a request to transfer money. Server receives the request and transfers the money but the reply times out. The […]