FANCY_REMEMBER_ALL_URLS option and performance over time
See original GitHub issueAre there known limitations to this option? I had enabled it to give more visibility to our system and at about ~22,000 entries, the endpoints that were being tracked stopped being functional. Clearing the fancy-urls
key solved the issue immediately.
In [1]: v = cache.get('fancy-urls')
In [2]: len(v.keys())
Out[2]: 22717
Above was the final count before deleting the key.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Vanity URL: What It Is & How To Get One - WordStream
Vanity URLs are a type of custom URL that exists to help users remember and find a specific page of your website. Therefore...
Read more >Final URL expansion with Performance Max - Google Ads Help
Use Final URL expansion to replace your Final URL with a more relevant landing page based on the user's search query and intent,...
Read more >django-fancy-cache/README.rst at master · peterbe/django-fancy ...
If you want to you can have django-fancy-cache record every URL it caches. ... option to this and that is to purge (aka....
Read more >URL bar won't remember or autocomplete previous URLs
Making sure that Options --> Privacy ---> URL bar has history, bookmarks and open tabs selected. 2) The various about:config tweaks.
Read more >SEO Starter Guide: The Basics | Google Search Central
A knowledge of basic SEO can have a noticeable impact. Explore the Google SEO starter guide for an overview of search engine optimization...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@peterbe I’m coming up against this too due to the default Memcached limit of 1MB. I like the idea of using the separate key for each line, but like you point out, Memcached doesn’t have the search functionality for “searching” cache keys.
One option I can think of is to “shard” the fancy_cache URLs by x time period and only keep n periods of data. So if X is one day, and n is one week, we would have seven keys at any given time and would concatenate these seven into one dict that is the equivalent of the current implementation’s dict.
I’ve been testing #45 with success on my server and would love to incorporate a fix to this issue as well as I update that!
Thanks again for maintaining this library and all your help thinking through the issues 😄.
Yes please!