How to pipeline several request to Firebase in order to fetch data from multiple nodes at the same time
问题 I need to retrieve data from 4 nodes in my Firebase Database. By design, in firebase, this can only be done by firing 4 queries. In my case, those 4 queries are independent as I already know the path of each: I could fire them all at the same time. I have learned from Frank van Puffelen that Firebase is able to pipeline several queries inside the same connection (see here). This is very useful as it avoids to trigger sequentially n queries and to loose round-trip time. In Javascript, we can