This week was about learning how the Operating System(OS) manages memory. It was somewhat challenging to understand but I believe I have a basic grasp of how it works. I think one of the important concepts of memory was how the OS virtualizes memory for processes. Each process is given access to memory in such a way that it seems like that process is the only one running. As far as the process is concerned all of the memory is available for it to use. However, the OS does some operations on its side to manage the process' memory access to allow for the sharing of the limited memory among a multitude of processes. This managing of memory by the OS is abstracted away from each process and allows each to run without any real concern as to where the data is physically stored in memory.
This week we learned how to implement a different type of database using MongoDB. For our group project this week we changes the SQL code to MongoDB code. Both of these database applications do a fine job of working with data and saving it to a database. I did find that MongoDB seemed more streamlined than working with SQL. With SQL there seemed to be more setup as in creating prepared statements, and then executing queries. With MongoDB it seemed like a good chunk of the code was abstracted away and this made for cleaner looking code at the call site. If I had to choose I would likely go with MongoDB as it seemed more approachable.
Comments
Post a Comment