question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

datastore.list() performance issue

See original GitHub issue

Describe the bug datastores.list() is very slow. It takes about 90 seconds to generate the list for a GIS server with 60 datastore items.

To Reproduce Steps to reproduce the behavior:

gis_servers = gis.admin.servers.list()
    for gis_server in gis_servers:
        if "geoportal" in gis_server.url.lower():
            data_store_list = gis_server.datastores.list()

Expected behavior faster result

Platform (please complete the following information):

  • OS: [e.g. iOS] Windows 10
  • Python API Version 1.9.1

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
achapkowskicommented, Feb 16, 2022

ok, we’ll take a look.

0reactions
azinsharafcommented, Mar 3, 2022

Got it. Does it mean the taken time for list.dataset is similar to validate?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Best Practices | Cloud Datastore Documentation
Avoid high read or write rates to lexicographically close documents, or your application will experience contention errors. This issue is known as hotspotting, ......
Read more >
Troubleshooting ESXi datastore or VMFS volume that is full or ...
This is a list of some potential issues that may affect virtual machines ... However, the probability of performance problems is greatly ...
Read more >
python - Datastore performance, my code or the datastore latency ...
The problem is that according to the admin logs the request takes about 2-4 seconds to complete. I strip it down to a...
Read more >
Troubleshooting performance issues - IBM
Troubleshooting performance issues. This chapter describes system performance problems and workarounds. See the Tuning Guide for general tuning guidelines.
Read more >
Common critical AEM issues | Adobe Experience Cloud
AEM Sites Performance; AEM Assets Performance; Memory Issues ... error means that you are missing files from your AEM datastore directory.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found