From ae017916755c810f7ed139fbaf67d0d690b2bc78 Mon Sep 17 00:00:00 2001 From: shockrahwow Date: Mon, 30 Sep 2019 19:29:03 -0700 Subject: [PATCH] web-services lecture --- 412/web-services.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 412/web-services.md diff --git a/412/web-services.md b/412/web-services.md new file mode 100644 index 0000000..cf0198c --- /dev/null +++ b/412/web-services.md @@ -0,0 +1,19 @@ +# Web Services + +## Dispatcher + +Imagine then we have 1 server acting as an ingest for requests which a _dispatcher_ running on the server + + +## Scaling + +> Load Balancer + +Primary ingest for requests which spreads the number of requests evenly across multiple. +It lets us hook more machines onto the balancer to deal with more requests over time; this is what we call _scaling out/horizontally_. + +> SSL + +It's especially true if you have _any_ user input that you _should absolutely use SSL_ because it means the traffic will be tunneled safely. + +> Ensure that both front/back end services are prepared to **sanitize all inputs**.