Questions tagged [server]

It refers to client-server model, where providers of a resource or service is called Server.

Definition is taken from Wikipedia:

The client/server model is a computing model that acts as a distributed application which partitions tasks or workloads between the providers of a resource or service, called servers, and service requesters, called clients. Often clients and servers communicate over a computer network on separate hardware, but both client and server may reside in the same system.

A server machine is a host that is running one or more server programs which share their resources with clients. A client does not share any of its resources, but requests a server's content or service function. Clients therefore initiate communication sessions with servers which await incoming requests.

258 questions
94
votes
7 answers

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 monolith architecture. For the sake of…
James Mishra
  • 1,499
  • 1
  • 12
  • 16
83
votes
4 answers

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 implementation of HTTP codes to me, particularly in…
Kagan Mattson
  • 941
  • 1
  • 7
  • 5
74
votes
6 answers

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 Third-party APIs - Services out of my control that…
williamg
  • 841
  • 1
  • 6
  • 4
48
votes
9 answers

Is it possible to know what programming language a web-site uses?

For example, stackexchange.com, without asking the site owner or Google their information about developing the website, is this possible to know what language is used in the back end? Seems, the website don't have .extension bar, for example .php…
Ted Wong
  • 1,589
  • 1
  • 15
  • 19
45
votes
4 answers

Is cloud computing mainly just a marketing term?

I understand the concept of cloud computing, but I'm curious why the term has become so exhausted the past several years. Servers have been around for a long time, and I fail to see how this is any different from before the term "cloud computing"…
alrob
  • 579
  • 4
  • 5
38
votes
6 answers

Should you always program server side for a website?

I'm about to start creating a music project website for a friend. It should be pretty simple for now: no dynamic content (tour dates, etc.), and nothing more than a few embedded sample songs or SoundCloud links. I'm not expecting to use anything…
Deegriz
  • 471
  • 1
  • 4
  • 7
26
votes
7 answers

Is it best practice to deploy a project to the server file by file manually?

The company I work for now doesn't implement continuous delivery yet. We still deploy the project manually to server, file by file. Which is best practice: to manually deploy one project artifact for each deployment or keep doing the file-by-file…
Jake Muller
  • 389
  • 3
  • 5
25
votes
2 answers

How to write a HTTP server?

As the title says, I would like to write a HTTP server. My question is this, how do I do this? I know this sounds VERY general and too "high level", but there is a method to my madness. An answer to this question should be, I believe, language…
Brian
  • 361
  • 1
  • 3
  • 6
21
votes
3 answers

Does Node.js actually increase scalability?

I've been reading about the C10K Problem, and of particular note is the part that refers to asynchronous server I/O. http://www.kegel.com/c10k.html#aio I believe this pretty much summarises what Node.js does on the server, by allowing threads to…
Alex
  • 361
  • 1
  • 2
  • 8
15
votes
2 answers

What to do when request is sent to server and while waiting for response internet connectivity lost?

I am sending a huge amount of data to server. Now while I have sent the data and waiting for server response, suddenly my android device gets internet connection lost. So what I used to do is, showing an alert dialog of connection lost, but at…
mayank_droid
  • 253
  • 1
  • 2
  • 6
14
votes
3 answers

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 say I want to create a carousel/slideshow of 10…
Eric Guan
  • 325
  • 1
  • 2
  • 7
14
votes
3 answers

Safe iPhone app ↔ server communication

What would be the best approach to achieving private communication between my iOS app and its server component? Is having a single unchanging “secret key” baked into the app source enough, or do I need to set up generations of such “handshake” keys…
Arnold
  • 351
  • 3
  • 12
14
votes
5 answers

Load testing : how to generate per second requests?

I have a server component which runs over Zeroc-ICE. When I wanted to load test it, I thought that using parallel library to create multiple requests would do it. But it dint end up that way. Using Parallel(Parallel.For) library from C# apparently…
King
  • 153
  • 1
  • 2
  • 11
13
votes
2 answers

Front end written in languages used for back end!

From my experience in web development, I know that languages like PHP,Java,Python..etc are used for backend development stuff (software that running on server), and for front end languages, JS/HTML/CSS are used. But I see many companies say that…
shox
  • 496
  • 1
  • 4
  • 11
12
votes
5 answers

What Do I Need To Know About Servers In a Web Development Role?

I know that may sound a little vague, so I'll try and explain a little further... After being self employed developer for many years I'm now in search of a commercial web developer role. My only experience with servers and hosting is uploading…
john
  • 289
  • 2
  • 5
1
2 3
17 18