In this homework you will add code to your blog so that it accepts comments. Ankit Raina May 7, at 3: Let us count the number of students we have: In this homework you will be enhancing the blog project to insert entries into the posts collection. In this problem you will analyze a profile log taken from a different mongoDB instance and you will import it into a collection named sysprofile. After this, the blog will work. Remember, just remove a homework score.
Let us count the number of students we have: In this homework you will be enhancing the blog project to insert entries into the posts collection. But you can, for fun. You might want to start by inspecting it in the Mongo shell. The areas where you need to add code are marked with XXX. Please enter it below, exactly as shown with no spaces. Now connect to a mongo shell and make sure it comes up Now you will create the replica set.
It checks the web output as well as the database documents.
Once you have the validation code, please copy and paste in the box below, no spaces. Let’s suppose you have a five member replica set and want to assure that writes are committed to the journal and are acknowledged by at least 3 nodes before you proceed forward.
Note that you add comments in this blog from the blog post detail page, which appears at. I went through this certification course and i personally solved this question and i just wrote it. You will be using these file for this homework and the HW 3.
We have provided the code that creates users and allows you to login the assignment from last week. Please enter it below, exactly as shown with no spaces.
Anuj Singh January 4, at 1: Making the Blog fast Please download hw Monday, January 30, [Solution] Week homewodk The output of sh. Which of the following queries can utilize at least one index to find all matching documents, or to sort?
One way is to find the lowest homework in code and then update the scores array with the low homework pruned. What can you infer from the following explain output? You will run validation.
The areas where you need to add code are marked with XXX. Scan that file for XXX to see where to work. There are one location.
On unix, this could be done as follows: There are three locations for you to add code for this problem. Type the following commands into the mongo shell: It makes connections to both to determine if your program works properly. There are three locations for you to add code for this problem. In this homework you will be enhancing the blog project to insert entries into the posts collection.
Isolate those queries and use explain to explore. The blog home page The page that displays blog posts by tag http: In this homework assignment you will be adding some indexes to the post collection to make the blog fast.
The code is not 3. Omit -p from mkdir. Newer Post Older Post Home. This project requires Python 2. You need to run this in a separate terminal window while your blog is running and while the database is running.
With the new schema, this problem is a lot harder and that is sort of the point.
Posted by Unknown at 6: Ok, once you get the blog posts working, validate. As a reminder, to run your blog you type python blog.