Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more
113 votes
Accepted

Is cloud computing mainly just a marketing term?

The distinguishing feature of "cloud computing" is indeed the way that it is marketed, in particular, the way that it is priced. Another synonym for "cloud computing" that I ...
Jörg W Mittag's user avatar
105 votes
Accepted

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

Which is best practice? to manually deploy one project artifact each deployment or keep doing the file by file deployment? Neither. Best Practice is to automate your deployment, completely and ...
Phill  W.'s user avatar
  • 12.3k
87 votes
Accepted

Should you always program server side for a website?

If you don't know whether you need server-side code, you probably don’t* *Caveat: Server-side code is essential for security, when you want to internally control access to content, data, or ...
Tim Grant's user avatar
  • 1,360
56 votes

Should you always program server side for a website?

Read about static site generators. These allow you to create a site in a programmatic manner (using templates, data, etc), and not by hand-crafting HTML. The result is a set of static HTML and CSS ...
9000's user avatar
  • 24.2k
14 votes

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

Manual steps take a lot of effort and are risky: you might forget a necessary file. Maybe not everyone in your team knows which files need to be copied. All of these issues make deployments big, ...
amon's user avatar
  • 134k
11 votes
Accepted

What happens to multiple parallel tasks running on a server when CPU hits 100% usage?

My question is if the CPU hits 100% usage, are the 10 instances still being parallel processed? Yes. Or Does the CPU start sequencing them instead of parallel processing them? Your processor ...
Erik Eidt's user avatar
  • 34.1k
10 votes
Accepted

Keeping a JSON copy of a database

Basic Drawbacks Excess complexity, redundancy. More potential for bugs (more paths through more code), more time to develop, test, and more cost to maintain, forever. Stale Data The moment the ...
joshp's user avatar
  • 3,491
9 votes

Why don't servers deliver JS and CSS at the same time as HTML?

Your question seems to assume that all of these resources are coming from the same source. But that's not how the World Wide Web works. The browser's prevailing (and correct) assumption is that ...
Robert Harvey's user avatar
9 votes
Accepted

How do serverless architectures manage database connections?

Since a serverless app keeps no state between runs, it can't maintain a database connection pool. Serverless apps really face the same constraints as 90's CGI scripts. In general, a permanent server ...
amon's user avatar
  • 134k
9 votes

Difference between REST server and REST client

The server exposes the API and the client makes use of it. For example, Twitter has data it wants to share (Tweets among other things), so it exposes an API which is served by a REST server (...
Paul's user avatar
  • 3,317
9 votes

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

Best practice would be to implement an automated process of some sort. Be careful to check that there isn't a special reason for the 'file by file' approach which you would have to take into account.
Ewan's user avatar
  • 76.3k
9 votes

Is cloud computing mainly just a marketing term?

The term “cloud” is indeed very broad and used to represent different realities: IaaS is “Infrastructure as a service”. This seems to be your current way to see the cloud: its about computing ...
Christophe's user avatar
  • 77.9k
8 votes
Accepted

What really is a "web server" in relation to popular frameworks like Flask, Node.js, Apache?

In IT in general we're all really bad at using words that are either Not rigorously defined The rigorous definition is different than the way the term is commonly used (e.g. strong typing) In other ...
Jared Smith's user avatar
  • 1,915
7 votes
Accepted

Meaningful response to the user after his uploaded CSV was processed?

This depends on the way the CSV is created, maintained or fixed in case of errors, and on how the imported data will be processed after. Let's start with the question of "all or nothing" vs. "reject ...
Doc Brown's user avatar
  • 208k
7 votes

Running expensive computation on single server

This is a very high-level question, and it might get closed as "too broad". But in short: What you need is an asynchronous solution: a request doesn't start the expensive job, but simply plans to do ...
Kilian Foth's user avatar
7 votes
Accepted

How do services distribute their servers around the globe while maintaining their whole dataset intact?

Video distribution sites like YouTube are read heavy and bandwidth heavy data users, but in terms of complexity, they're relatively simple to scale. They're essentially a CDN type scaling where you ...
Lie Ryan's user avatar
  • 12.4k
6 votes

Why don't servers deliver JS and CSS at the same time as HTML?

Caching By sending them separately, a web browser can just cache the CSS and Javascript files, and reuse them when another page calls for the same file, skipping additional requests. If they're merged ...
8bittree's user avatar
  • 5,646
6 votes

Should you always program server side for a website?

You can and should use only a static site if it is enough, or use a static site generator. Why? Maintainability. Code has bugs. Every few weeks there is another WordPress security hole found. If you ...
Josef's user avatar
  • 297
6 votes

Securing my own software... against myself?

This is a legitimate concern of theirs, but this is best solved with a .pdf file rather than new software. Say instead of just you, you and a friend built this project and you both administer the ...
whatsisname's user avatar
  • 27.6k
6 votes

Should I encrypt my cookies using AES?

What you're describing is the same spirit of a JWT. JWTs aren't encrypted, but they're signed so you can verify authenticity. Nobody can forge a JWT unless they've cracked your key. I would recommend ...
Samuel's user avatar
  • 9,197
6 votes

Difference between REST server and REST client

The easiest way to think of it is this: The server responds to requests The client makes requests When talking about server and client, it's always relative to the code you are discussing at the ...
Berin Loritsch's user avatar
6 votes

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

With Continuous Delivery (or Deployment, actually) and moving each file by hand, you're looking at the two extremes. It's perfectly understandable that you can't/don't want to create a fully automated ...
GuilleOjeda's user avatar
6 votes
Accepted

Should server IPs be stored in a repository?

IP addresses are typically not sensitive. While knowing which IP addresses correspond to what can have some value to an attacker, if your security relies on certain IP addresses being secret, you've ...
Derek Elkins left SE's user avatar
6 votes
Accepted

Where is better to calculate the total sum, back end or front end?

All business logic must be done on the backend. On some cases you can replicate on front end (for quick feedback to the user) but never as the source of truth.
Miyamoto Akira's user avatar
6 votes

How do websites/apps deal with so many people online at once?

Application scalability is an enormous topic and not one that can really be addressed in a single post. However I'll have a crack at a basic explanation. As you've implied most complex websites are ...
Liath's user avatar
  • 3,426
6 votes
Accepted

Is storing files of up to 50MB in size in a database for use by multiple servers a reasonable idea? Example inside

NO, don't store files in a relational database Trust me, I've learned this the hard way. One problem with applications that deal with files, is as they evolve, the users always want to store more than ...
TheCatWhisperer's user avatar
6 votes
Accepted

Balancer that delegates requests to servers and problem with Websockets

Unless you know beforehand who wants to communicate with whom, you will not be able to solve this on the balancer level. If the user has to e.g. choose a chatroom prior to connecting, you could assign ...
Double M's user avatar
  • 446
6 votes
Accepted

Best practice for git repo locations

Too often I see people use version control as a tool to deploy the application. Unfortunately, it appears you have fallen into this trap as well. Git is good a tracking changes to files. Git is a poor ...
Greg Burghardt's user avatar
6 votes
Accepted

Are there downsides of two TCP connections for bidirectional communication?

FTP used to work like this: a control connection and a separate data connection. SIP still works like this under some circumstances. It's not unusual for video or telephony applications to have a &...
pjc50's user avatar
  • 13.5k
5 votes

How do microservice system architectures avoid network bottlenecks?

I'd like to add a different perspective, from a different industry with very different assumptions - distributed (entity-level) simulation. Conceptually, this is a lot like a distributed FPS video ...
Captain Aporam's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible