generated from mwc/lab_server
33 lines
1.8 KiB
Markdown
33 lines
1.8 KiB
Markdown
# Project Server Notes
|
|
|
|
## Checkpoint 1
|
|
|
|
1. Lots of software today connects to remote servers, and can't work offline.
|
|
What are some advantages of using a program or an app which uses a remote
|
|
server? What are some advantages of using a program or an app which is
|
|
completely local?
|
|
|
|
I imagine that a remote server would allow for people to communicate with more robust/high powered servers from the comfort of their own low powered devices. Like the way we can access LMMs like ChatGPT from our laptops, but the actual servers for those things are HUGE. However a local program/app would be more reliable since you don't have to worry about being online or not. It would also protect against people intercepting the signals from server to device for nefarious reasons, because it's all happening locally.
|
|
|
|
2. You just ran a server on your own computer, and connected to it as a client
|
|
on the same computer. In what other situations might it be useful to run a
|
|
server on your computer, where you're the only client, on the same computer?
|
|
|
|
Maybe if you wanted to create a more user-friendly (or more aesthetically pleasing maybe) interface. This way you are seeing the polished version of the work and don't have to get tangled in the metaphorical "weeds."
|
|
|
|
## Checkpoint 2
|
|
|
|
3. Choose a program (Steam), web app (Google Docs), or app (Weather) that you use
|
|
frequently. You can't observe the calls this program is making to its server
|
|
(unless you have fancy tools), but you can infer some of the calls based on the
|
|
program's behavior. Describe a few routes which you think may exist for your
|
|
chosen program's backend server.
|
|
|
|
|
|
|
|
4. In your own words, what is an exception? When might it be useful to handle an
|
|
exception? When is it better not to handle an exception, and instead let the
|
|
program crash?
|
|
|
|
|