Comments (7)
In dealing with pre-cached data in any provider its really less of an issue for the provider than it is an issue with koop-pgcache and optimizations there (ie query performance / optimization). Just saying there are two sides to explore, the provider, which you done via the PR and the caching and retrieval of large data.
from koop-socrata.
Want me to make an issue in Koop-pgcache?
from koop-socrata.
@dmfenton if it makes sense, but I think first I'd like to understand what the short comings of the current solution are in terms of benchmarks or just timed request numbers and whether its a cache issue or a provider issue or even a koop issue.
Can you provide references to a URL in koop that exhibits behavior that is "slow"?
from koop-socrata.
ab -n 5 'http://koop.dc.esri.com/socrata/seattle/3k2p-39jp/FeatureServer/0/query?where=1=1&outFields=*&returnGeometry=true'
This is ApacheBench, Version 2.3 <$Revision: 1604373 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking koop.dc.esri.com (be patient)...apr_pollset_poll: The timeout specified has expired (70007)
ab -n 5 'http://koop.dc.esri.com/socrata/seattle/3k2p-39jp/FeatureServer/0/query?where=1=1&returnCountOnly=true'
This is ApacheBench, Version 2.3 <$Revision: 1604373 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking koop.dc.esri.com (be patient)...apr_pollset_poll: The timeout specified has expired (70007)
ab -n 5 'http://koop.dc.esri.com/socrata/seattle/3k2p-39jp/FeatureServer/0'
This is ApacheBench, Version 2.3 <$Revision: 1604373 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking koop.dc.esri.com (be patient).....done
Server Software:
Server Hostname: koop.dc.esri.com
Server Port: 80
Document Path: /socrata/seattle/3k2p-39jp/FeatureServer/0
Document Length: 0 bytes
Concurrency Level: 1
Time taken for tests: 8.516 seconds
Complete requests: 5
Failed requests: 0
Non-2xx responses: 5
Total transferred: 494 bytes
HTML transferred: 0 bytes
Requests per second: 0.59 [#/sec] (mean)
Time per request: 1703.296 [ms] (mean)
Time per request: 1703.296 [ms] (mean, across all concurrent requests)
Transfer rate: 0.06 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 6 6 0.1 6 6
Processing: 6 1697 3783.2 6 8465
Waiting: 6 1697 3783.2 6 8465
Total: 11 1703 3783.2 11 8471
from koop-socrata.
@dmfenton so explain what happened here?
In the last test is returned in 1.7 seconds, so it was less than your 2 limit? :)
from koop-socrata.
The basic FeatureServer request, which doesn't need to return any data is taking 1.7 seconds. Seems pretty long.
The other requests timeout even when I set the limit to 30 seconds.
from koop-socrata.
This works but performance could be a lot better. Still, closing.
from koop-socrata.
Related Issues (20)
- Allow non-point geometry in Koop-Socrata (Feature Request)
- Can't do Walk Time Analysis on simple point layer HOT 6
- NYC Socrata JSON invalid HOT 1
- Feature service count requests need to respect callbacks in querystrings
- Transfer more metadata from Socrata
- Multiple Location Column Designator not Working HOT 1
- Koop-Socrata Cache Timer Not Expiring HOT 1
- Some large datasets seem to get stuck HOT 4
- tests leave leftover logging/error messages HOT 4
- Failing to register hosts HOT 2
- Missing fields in Socrata datasets HOT 3
- Numbers being interpreted as date fields HOT 10
- enhancement: make sure the provider can create its own table in db HOT 1
- Unable to install on Windows HOT 4
- Error in the log file HOT 1
- Adding Socrata token
- Certain datasets from Socrata have incorrect spatial reference
- An in-range update of request is breaking the build 🚨 HOT 5
- Version 10 of node.js has been released
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from koop-socrata.