In: Computer Science
1. What does the term transparent mean when applied to a memory
cache?
2. Do the terms fetch-execute and fetch-store refer to the same
concept? Explain.
1. What does the term transparent mean when applied to a memory cache?
A computer system or software within a computer system that determines if a requested page or file has already been stored in memory or on its hard disk. If it has not, the request is sent upstream to its normal destination. The transparent cache sits between the client and server and is invisible to either side.there's a need to balance between caching just a small amount of content at the edge and caching it all. That's where the transparent part comes in. The idea is to set business rules that automate the process of moving content from the network core to the network edge, without requiring human intervention for any specific video file. Doing so allows the edge cache to refresh itself, based on changes in viewing preferences on a much more granular level than could be accomplished by even a large group of human operators. In the computing world, caching is similar, but with a twist: A copy of a file is stored locally, or at least closer to the end-user device, so that it is available for re-use. The re-use part is key to understanding transparent caching. It's certainly feasible to cache all video content at the edge, very close to each user, and that is the business model for at least one large content delivery network (CDN).
2. Do the terms fetch-execute and fetch-store refer to the same concept? Explain.
YES, the fetch-execute and fetch-store are same concept because a register in the processor called the program counter holds information about where the processor is in the particular program being processed and the address (location) of the next instruction to be executed. At the beginning of the cycle, the program counter tells the processor which instruction to fetch; during the cycle, the instruction is executed and the information is updated to refer to the next instruction to be fetched.
Fetch is the first of two stages involved in computer processing. The processor operates by processing instructions in what is called the "fetch/execute cycle." The processor fetches (reads from memory) an instruction and then, depending on the instruction, executes it (takes some further action with it, such as shifting bits to the right or left). Then it fetches the next instruction, and so forth. Executing a single instruction consists of a particular cycle of events; fetching, decoding, executing and storing. Fetch get the instruction from memory into the processor. Decode internally decode what it has to do (in this case add). Store : store the result back into another register.