Skip to content

Tags: doolin/nplus1

Tags

p.73-first-read-final

Toggle p.73-first-read-final's commit message
P. 73 Example works with postgres

SQLite in memory errors out on the threading
examples, but Postgres does much better. It
still throws errors which need to be caught,
it also proceeds to a satisfactory conclusion.
That is, threading computes an incorrect final
balance.

I'm skipping the last 10 pages as the treatment
of race conditions doesn't have an exercises.
It's very open-ended, and I would need to create
some way to evaluate the execution. As it's not
"n+1" per se, I'll pick this up later when I
need to go deeper into race conditions.

p.73-sqlite3-concurrency

Toggle p.73-sqlite3-concurrency's commit message
P.73 SQLite3 doesn't handle concurrency well.

This is good example.

p.67-counter-cache-complete

Toggle p.67-counter-cache-complete's commit message
P. 67 finish counter caching and chapter 4

Good chapter, will be easy to extend and
go deeper.

p.60-chapter3-conclusion

Toggle p.60-chapter3-conclusion's commit message
Page 60 End Chapter 3.

p.53-load-then-count

Toggle p.53-load-then-count's commit message
Page 53 Load then count for efficiency

when the data will be needed anyway.

p.51-comments-size

Toggle p.51-comments-size's commit message
Page 51 Comments with length and size

p.49-comments-length

Toggle p.49-comments-length's commit message
Page 49 comments length

p.49-load-count

Toggle p.49-load-count's commit message
Page 49, load and count

p.44-preload-object

Toggle p.44-preload-object's commit message
Page 44, service class for predefining a query

p.43-custom-queries

Toggle p.43-custom-queries's commit message
Page 43, custom queries for posts and voters