These are chat archives for bluestreak01/questdb

6th
Jul 2015
Suminda Dharmasena
@sirinath
Jul 06 2015 04:33 UTC
Yes
You need multiple streams hence multiple readers.
Vlad Ilyushchenko
@bluestreak01
Jul 06 2015 08:23 UTC
It isn't a problem having multiple readers. For SQL implementation and any other concurrent access there is class JournalPool (which should be renamed to JournalFactoryPool), which gives out JournalReaderFactory via get/release methods. It caches factories and readers to avoid opening/closing readers often. You can of course use normal JournalFactory to do the same if performance is not a concern.
Suminda Dharmasena
@sirinath
Jul 06 2015 12:08 UTC
OK
This pooling is what I was thinking
The pooling can be done to abstract also
Vlad Ilyushchenko
@bluestreak01
Jul 06 2015 14:33 UTC
How abstract are you thinking?
Suminda Dharmasena
@sirinath
Jul 06 2015 17:17 UTC
Like in a DB
Vlad Ilyushchenko
@bluestreak01
Jul 06 2015 22:03 UTC
I don't think i understand. Do you mind giving me an example of how abstract pool should be?