diff --git a/PersonalNotes/faster-query.md b/PersonalNotes/faster-query.md new file mode 100755 index 0000000..1c50f61 --- /dev/null +++ b/PersonalNotes/faster-query.md @@ -0,0 +1,5 @@ +# How did I go from 4 second on each API request to under 1 second? + +### 1. Using projection to limit fields +### 2. Using proper indexes +### 3. Using $sample along with aggregation \ No newline at end of file diff --git a/mstdnCats.csproj b/mstdnCats.csproj index 9600161..db2148e 100755 --- a/mstdnCats.csproj +++ b/mstdnCats.csproj @@ -11,8 +11,8 @@ - - + +