General mailing list for discussions and development of PeerLibrary and related software.

List archive Help

[PeerLibrary dev] PeerDB performance and fields selector

Chronological Thread 
  • From: André Gaul < >
  • To: peerlibrary dev mailing list < >
  • Subject: [PeerLibrary dev] PeerDB performance and fields selector
  • Date: Fri, 22 Aug 2014 16:33:33 +0200

Hey Mitar!

I recently stumbled upon an article by Sarah Mei [1] where she explains
why you should never use MongoDB (worth reading!). In the paragraph
titled 'is there no hope?' she explains that fetching related documents
is bad because you have to do it 'manually'.

With PeerDB, these relations can be modeled nicely and fetching the
related documents takes place on the server. Now I've got 2 questions:

1. Have you ever measured the performance of PeerDB? Sarah raises
several concerns in her article, one of which addresses caching. Are
PeerDB's results cached in any way?

2. Does PeerDB respect the 'fields' option of 'find' in an efficient
way? E.g., does it only fetch a related document if it is necessary?



(you won't find me on facebook!)

PGP Key 0x0FA9170E

Archive powered by MHonArc 2.6.18.

Top of page