It refers to client-server model, where providers of a resource or service is called Server.
2
votes
2answers
153 views
Securing my own software… against myself?
I do a lot of programming work for other people's businesses. I am currently working on a project for my local Scouts group that I have worked with before.
The problem is I have built them their ...
0
votes
1answer
77 views
User browser, WebSockets, server C#/MVC, game
Moving a windows desktop game to a web server based one. User will use a modern web browser and communicate with the server via WebSockets (SignalR). Server runs .Net4.5/MVC - ie stateless. Game ...
2
votes
1answer
34 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 ...
-2
votes
0answers
26 views
Designing the database about web application [duplicate]
How should I declare the images in SQL Server database. Should I create a seperate table for images or should i include the image attribute in tables where is needed.
0
votes
1answer
124 views
Do I require an external server for my new mobile app? Only minimal text content to change within my app every couple of weeks
I am about to submit my new app to the iOS App Store.
It's very simple. The app generates a random motivational quote and displays it onscreen. I have a database of 500 quotes now, stored in a plist ...
2
votes
2answers
124 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
19 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
90 views
How do I go about setting up my Sinatra REST API on a server?
I'm an iOS developer primarily. In building my current app, I needed a server that would have a REST API with a couple of GET requests. I spent a little time learning Ruby, and landed on using ...
-2
votes
2answers
143 views
How can I reduce http request while I have hundreds of images and thousands of users [closed]
I need an idea or concept how to reduce http request.
Conditions:
1000s of users(android/iphone) active
100s of small images (150kb/image) to be fetched
Simply by giving each image a hardcoded link, ...
26
votes
3answers
933 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 ...
0
votes
0answers
115 views
Multiple TCP port requirement for a client-server relationship
I designed a basic C# TCP sever that listens on some port. I extended this into 4 other servers that perform very different tasks, but together make up one product. The client needs to connect to each ...
2
votes
0answers
26 views
Should I scale my app by cloning immutable instances of a single deployment, or update all deployed instances?
My app is running a single instance on AWS EC2 for now and I don't expect it to require scaling till next month. By then I know I'll need to scale to at least one more server if not two.
I've read ...
3
votes
2answers
121 views
How do I prevent attackers from duplicating submissions?
I want to create a polling website. A client requests to answer the poll using POST, and the server responds with the candidates. The client then sends a POST with the candidate information and the ...
1
vote
1answer
62 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 ...
1
vote
1answer
391 views
How to scale a C# server application
I'm writing a pretty simple TCP server/client application for the first time. It is a personal project for education, but I really like my applications to be extendable and to scale in case the code ...
1
vote
1answer
145 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 ...
0
votes
1answer
85 views
Optimizing instant notifications
Scenario
To deliver instant notifications to the client, I'm sending an AJAX request to a PHP page that checks if there are new notifications: if there are, it outputs them, otherwise it sleeps for ...
3
votes
3answers
2k 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 ...
2
votes
2answers
59 views
Containing the GPL inside an external service?
Not asking for legal advice, just educated intuition.
Lets say a programmer creates a program to provide a service, for instance (hypothetically) face recognition. User logs in, uploads pictures and ...
0
votes
2answers
98 views
How should an API or server respond when a device connects with a different account than it is bound to?
In my system we have users accounts and user devices. Rules:
A user can have only one user account.
Each user can have many devices.
A device can be bound to only one user account.
Upon initial ...
3
votes
3answers
387 views
Can a the kind of load Uber handles be served from just one server?
http://techcrunch.com/2013/12/04/leaked-uber-numbers-which-weve-confirmed-point-to-over-1b-gross-revenue-213m-revenue/
This article says that Uber does about 1M requests a week. Which is about 1.65 ...
3
votes
2answers
358 views
What do I need for a database server for Mobile-Apps? [closed]
I'm struggling getting my head around writing a server for a mobile app. The app is quite simple and would manly rely on geographic data and some other basic stuff liker users etc. nothing special ...
0
votes
2answers
71 views
Remote server development [closed]
We are working on a django project which is hosted on an amazon ec2 instance. It is on very early stage, so changes are made constantly and the webapp should be updated more than once a day. Right ...
1
vote
1answer
161 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 ...
-1
votes
2answers
112 views
Having one server for the whole team [closed]
I'm currently in a team where it lacks of its resources. The dev't team had only one websphere server for testing and we could not deploy our project in our local desktop because the websphere is only ...
0
votes
2answers
55 views
Android. HTTP Communcation, and GCM
I have an app that sends/receive data via HTTP POST, and communicates with PHP/SQL on the backend.
I however wanted to integrate GCM to I can tell the app to "check for an update" to query the ...
0
votes
3answers
220 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 ...
15
votes
5answers
3k views
How do microservice system architectures avoid network bottlenecks?
I've been reading a lot about microservice architectures for server applications, and have been wondering how the internal network usage is not a bottleneck or a significant disadvantage compared to a ...
0
votes
1answer
643 views
Java Socket or SocketChannel
I am designing a server for a remote file store in Java and trying to decide whether to use asynchronous java.nio.SocketChannels or the older blocking model with Sockets. What kind of factors should I ...
11
votes
6answers
3k views
Many small requests vs. few large requests (API Design)
I'm currently working on a project with an organization as follows:
Client - Gets data from the main server via REST api.
Server - Requests data from various other servers via third-party APIs
...
1
vote
1answer
241 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 ...
2
votes
1answer
375 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
2answers
701 views
Attempting to make a Cross Domain AJAX request to a Server I don't own
I'm aware that javascript programs running in a browser are bound to the same-origin policy which prevents them from requesting services from a server that is on a different domain. What I've gathered ...
0
votes
2answers
236 views
Send heavy computation jobs from web server to another process and wait for response
I know it is a common practice to send cpu-bounded heavy tasks to background processes, in order to free a web server to serve other requests.
But - what if the request must know the result of that ...
0
votes
1answer
86 views
Difference between server Jobs and Workers?
I am trying to understand the difference between server workers and server jobs. Google has not been very helpful because the keyword "jobs" is being construed as an employment term... I have yet to ...
0
votes
1answer
80 views
Database vs. server-sided scripting language [duplicate]
To keep my question short and to the point, consider this:
$relation = $mysql->query("SELECT relation($loggeduser, $requesteduser) AS a")->fetch_assoc()['a'];
if ($relation != BLOCKED)
{
...
3
votes
2answers
464 views
local communications between two apps
To make a platform-independent program in C++ I want to separate the GUI (separate for each OS, using native libraries/APIs) and the actual program. Obviously those two need to communicate with each ...
1
vote
0answers
423 views
Should I have a separate “Application” server to handle the REST traffic, or just one server to handle both browser and API (REST) traffic?
Let's forget scaling or cloud configuration for a second.
Think of an application with a few platforms:
Mobile (iOS, Android)
Desktop (Windows, OS X)
Web (HTML/CSS/JS)
The question is regarding ...
0
votes
1answer
104 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 ( ...
0
votes
1answer
268 views
Act as MySQL server in Java/Android [closed]
Is it possible to act as a MySQL server in a Java or Android application, such that applications like HeidiSQL can connect to it?
What I want to do is to write an application for Android which ...
4
votes
2answers
172 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 ...
1
vote
2answers
235 views
Client / Server dependencies with Continuous Integration
I'm starting to use continuous integration for one of my projects and had some questions about structure and architecture.
It's basically a multi-device webservice that is split into one server ...
-1
votes
2answers
161 views
LAMP without PHP [closed]
My question is that is the P part of the LAMP really necessary?
I will have the database and I can connect to it via the appache http so why will I need php/python in the server side (if it is a ...
0
votes
2answers
141 views
sell applications that run only on a GPL v2 Server [closed]
I have been testing Pentaho BI server community edition, and after reading their licensing terms I found out that the community edition is under GPLv2.
As you may know the server is intended to host ...
2
votes
1answer
77 views
Will hosting documents on AWS reduce our load?
Due to partnerships, we are required to host our website through our partner company. However, we had an idea that perhaps we could offload the document storage to an AWS document server. The ...
1
vote
1answer
3k views
Differentiating Standalone and Client-Server architectures
I was wondering what is the exact difference between a client-server and a standalone application, particularly in following scenario.
For example lets say there is a win forms application running on ...
0
votes
2answers
823 views
how to approach pharmacy software project [closed]
I would like to complete a pharmacy software proof concept. But I have a few questions I do not know.
Physician information
In order to refill or dispense a new RX the software needs to have access ...
0
votes
0answers
694 views
Efficient development process for Golang (or any backend) and JavaScript?
I am developing a web application. The frontend is a mix between JavaScript and server-side generated html. The backend is written in Golang. Might not be very important, but if somebody made a ...
8
votes
1answer
243 views
Securely sending data from shared hosted PHP script to local MSSQL
I'm trying to add data from a webhook (from a web cart) to a local Microsoft SQL Server. It seems like the best route for me is to use a PHP script to listen for new data (POST as json), parse it, ...
0
votes
1answer
183 views
Android -> Ruby Server Interface -> Mongodb
I've been wrecking my brain about this for a few days. I'll run my scenario by you and hopefully you can help me. In my head this is how it goes:
I have an Android App.
I want my Android App to make ...