Channels
test-channel-bot
pw-pinot
debug_upsert
feat-presto-connector
pinot-helix
troubleshooting
pinot-sketches
resources
roadmap
discuss-validation
minion-improvements
community
config-tuner
test-channel
fix-numerical-predicate
kinesis_help
pinot-perf-tuning
feat-partial-upsert
pinot_website_improvement_suggestions
segment-write-api
releases
devrel
pinot-trino
pinot-k8s-operator
release-certifier
udf-type-matching
transform-functions
release060
latency-during-segment-commit
feat-text-search
pinot-realtime-table-rebalance
inconsistent-segment
feat-rt-seg-complete
pinot-power-bi
flink-pinot-connector
pinotadls
twitter
minion-star-tree
pinot-rack-awareness
jobs
fix_llc_segment_upload
metrics-plugin-impl
linen_dev
complex-type-support
pinot-s3
feat-geo-spatial-index
feat-compound-types
v2_engine_beta_feedback
inconsistent-perf
metadata-push-api
feat-pravega-connector
enable-generic-offsets
announcements
feat-upsert
multiple_streams
feat-better-schema-evolution
fraud
onboarding
docs
aggregators
query-latency
s3-multiple-buckets
presto-pinot-connector
multi-region-setup
apa-16824
events
segment-cold-storage
odsc-europe-2022-workshop
bangalore-meetups
new-office-space
lp-pinot-poc
time-based-segment-pruner
group-by-refactor
pql-sql-regression
random
custom-aggregators
order-by
pinot-website
qps-metric
product-launch
dhill-date-seg
thirdeye-pinot
introductions
pinot-dev
getting-started
pinot-docsrus
daily-digest
general
Powered by
#troubleshooting
Title
t
Tim Chan
10/02/2020, 7:58 PM
has anyone used
https://github.com/python-trio/trio
to try to run concurrent queries with
https://github.com/python-pinot-dbapi/pinot-dbapi
no matter what i do, i’m seeing my queries run sequentially
k
Kishore G
10/03/2020, 6:00 AM
@Xiang Fu
do you know if this is expected?
x
Xiang Fu
10/03/2020, 7:44 AM
I haven’t tried out trio, but for python, you need to have your “concurrent” framework to send parallel workload
also try to init multiple clients to see if that will help
for the client, we are not using threading or async, contributions are welcome 😉
t
Tim Chan
10/05/2020, 12:05 AM
i did try to use a new connection for each query
https://github.com/python-pinot-dbapi/pinot-dbapi/blob/master/pinotdb/db.py#L27
x
Xiang Fu
10/05/2020, 3:45 AM
right, each thread need to have its own connection
How is your application running ? How many threads are you expecting to have
Post