AWS Infrastructure
AWS Consists of Regions : Example US West, US East, denoted as us-east-1, us-west-1
Regions consists of Availability Zones,
AZs will contain one or more data centers which will have the enough power, network connectivity and separated in case of it is more than one data centers
Availability Zones will be denoted by a letter Example : us-east-1a (the a is the specific AZ)
AWS Local Region: The single data center will be called by this name.
This will be placed closed to the consumer group geographically, This will contain the Computing, Storing and Database enable the customers a good experience
Edge Locations are the servers which will contain the frequently used items in the cache and serves the same to the consumers quickly
Outposts: On premise infrastructure available.
How using global variables can have implications on the design, maintainability, and test-ability of C# code: Harder to understand and reason about the code: class Program { public static int globalCounter = 0; static void Main() { globalCounter++; Console.WriteLine(globalCounter); } } In this example, the global variable globalCounter is accessible from anywhere in the program, including the Main method. It's not clear where the value of the globalCounter is updated, it could be updated in other methods or classes, making it harder to trace the flow of data and understand the source of bugs. More prone to errors: class Program { public static string globalString; static void Main() { globalString = "Hello" ; Method1(); Method2(); } static void Method1() {
Comments