Servers / Cloud Computing Flashcards
server
hardware, software, or both
socket
address and port; servers listen on a socket
types of servers (8)
web, mail, application, database, file, media, print, game
client applications
send requests to a server (slack, zoom, chrome, twitter, instagram)
most popular cloud computing providers (4)
digital ocean, aws, azure, google cloud
mainframe
1 giant box for just 1 computer
virtualization
slicing big computer into lots of little computers
cloud computing
paying somebody else to run server
advantages of cloud computing (3)
capital cost is minimized, ability to change things, efficiency (slicing things up)
infrastructure
the actual VM or database is yours, you do what you want
platform
limited software and apps, the provider manages software and OS
software
you don’t program anything, you just use the app
risks with cloud computing (3)
security, loss of control, vendor lock-in
DNS
Domain Name System; phone book for the internet
horizontal scaling
adding more machines
vertical scaling
more CPU, RAM to existing machine(s)
load balancer
sends requests to machine that is available; balances the load
web app server
handles the core business logic; specific language (like Node.js) and MVC framework (like Express for Node.js)
caching service
saving common requests so they are not recomputed every time
job queue and servers
prioritize list of jobs in order of importance and/or chronology
full-text search service
searches everything for the entered text
CDN
Content Delivery Network; distributes content across “edge” servers so that users don’t need to wait for requests and responses to be sent overseas
server functions
listens on a socket (address + port), receives requests, does something and sends a response
costs of running a server
hardware, software lincenses, power and cooling, people