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.

ability to cache the results to disk and read from disk.

filename = md5(query)
result = client.q(query)
put(result, filename)

the problem might be with a now in the query.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
martinpovolnycommented, Aug 12, 2020

that seems like a great idea to me, but do you think it would be better to just cache jsons instead of pickled dataframes?

sure, if we place the caching around self._session.get( I’d cache jsons.

I cached pickled dataframes in my case because I placed the caching much higher in abstraction.

Ok, I’ll make a PR.

0reactions
seshetacommented, Nov 13, 2021

@sesheta: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity. Reopen the issue with /reopen. Mark the issue as fresh with /remove-lifecycle rotten.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using cached query results | BigQuery - Google Cloud
The Use cached results option reuses results from a previous run of the same query unless the tables being queried have changed. Using...
Read more >
Improving Application Performance with Result Cache - Oracle
Result Cache enables caching SQL query and PL/SQL function results to be stored in memory. Subsequent executions of the same query or function...
Read more >
View web pages cached in Google Search Results
View web pages cached in Google Search Results ... Cached links show you what a web page looked like the last time Google...
Read more >
What is Caching and How it Works - Amazon AWS
In computing, a cache is a high-speed data storage layer which stores a subset of data, typically transient in nature, so that future...
Read more >
What Is Cached Data? Why & How Should You Clear It? - Okta
Cached data is information stored on your computer or device after you visit a website. Developers use cached data to improve your online...
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