You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jena.apache.org by GitBox <gi...@apache.org> on 2022/05/06 10:04:19 UTC
[GitHub] [jena] SimonBin opened a new issue, #1295: Performance issue with text/csv and HTTP compression
SimonBin opened a new issue, #1295:
URL: https://github.com/apache/jena/issues/1295
I'm investigating a performance degradation that seems to happen only in combination with HTTP compression and text/csv.
I'm opening this issue here first without a complete demo, in case anyone has an idea where to look.
I am running a request to fuseki like this:
```
curl http://fuseki/sparql -H 'Accept: text/csv' -d 'query=select *{?s ?p ?o.}limit 100000' | wc -l
100001
```
if I only add the `-H 'Accept-Encoding: gzip' ` header, like browsers will do, the same query:
```
curl 'http://localhost:3030/pdl/sparql' -H 'Accept: text/csv' -H 'Accept-Encoding: gzip' -d 'query=select *{?s ?p ?o.}limit 100000' | zcat | wc -l
100001
```
it takes 22 times as long!
Interestingly though, the other result formats (json, tsv) work fast both with and without the Accept-Encoding
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org
[GitHub] [jena] SimonBin commented on issue #1295: Performance issue with text/csv and HTTP compression
Posted by GitBox <gi...@apache.org>.
SimonBin commented on issue #1295:
URL: https://github.com/apache/jena/issues/1295#issuecomment-1121115857
maybe it's https://github.com/eclipse/jetty.project/issues/7683 (although the tone of that report makes it sound to me as if the real bug is still hidden out there somewhere)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org
[GitHub] [jena] afs commented on issue #1295: Performance issue with text/csv and HTTP compression
Posted by GitBox <gi...@apache.org>.
afs commented on issue #1295:
URL: https://github.com/apache/jena/issues/1295#issuecomment-1120413798
Hi @SimonBin A few details would help.
- Which versions of Fuseki have you tried?
- What are the times you are seeing? The same if you call twice, one after another?
- Is there an intermediary (e.g reverse proxy) on the HTTP path?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org
[GitHub] [jena] afs commented on issue #1295: Performance issue with text/csv and HTTP compression
Posted by GitBox <gi...@apache.org>.
afs commented on issue #1295:
URL: https://github.com/apache/jena/issues/1295#issuecomment-1121053674
There was a Jetty upgrade 10.0.8 -> 10.0.9. That's the only change that looks even remotely in the area.
https://github.com/eclipse/jetty.project/issues/7567
touches gzipping. But not in a way that clearly applies to this case.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org
[GitHub] [jena] afs closed issue #1295: Performance issue with text/csv and HTTP compression
Posted by GitBox <gi...@apache.org>.
afs closed issue #1295: Performance issue with text/csv and HTTP compression
URL: https://github.com/apache/jena/issues/1295
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org
[GitHub] [jena] SimonBin commented on issue #1295: Performance issue with text/csv and HTTP compression
Posted by GitBox <gi...@apache.org>.
SimonBin commented on issue #1295:
URL: https://github.com/apache/jena/issues/1295#issuecomment-1120994888
Hi @afs thank you for the prompt response
- Fuseki 4.5.0-SNAPSHOT 7be194cdaf8c1b9bffd8ef20192015f0f0348bd4
- times stay the same (3 seconds vs. 1 minute)
- no intermediary
- sample dataset with random triples was enough to trigger it:
```
{ echo '@prefix : <http://example.com/> .
_:r0 :has [ :label "1" ]'
for i in $(seq 2 2500000); do
echo ", [ :label \"$i\" ]"
done
echo . } > demo.ttl
```
however, while trying to reproduce it, I found that it 4.5.0 release! so case closed I guess?? still, a very curious issue
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org