Code Monkey home page Code Monkey logo

Comments (7)

chelm avatar chelm commented on June 20, 2024

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.

dmfenton avatar dmfenton commented on June 20, 2024

Want me to make an issue in Koop-pgcache?

from koop-socrata.

chelm avatar chelm commented on June 20, 2024

@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.

dmfenton avatar dmfenton commented on June 20, 2024
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.

chelm avatar chelm commented on June 20, 2024

@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.

dmfenton avatar dmfenton commented on June 20, 2024

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.

dmfenton avatar dmfenton commented on June 20, 2024

This works but performance could be a lot better. Still, closing.

from koop-socrata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.