Memcache + django-gcloud-connectors built-in caching

28 views
Skip to first unread message

David Buxton

unread,
May 30, 2023, 12:29:07 PM5/30/23
to djangae-users
Hello,

Does the GCLOUDC_CACHE_ENABLED setting for django-gcloud-connectors take advantage of memcache when my App Engine standard app has enabled the bundled built-in memcache service?

(Note that I'm not talking about the Cloud Memorystore memcache service.)

Looking at the code, I see a reference to memcache, but the caching implementation looks like it uses thread-local memory, and never uses memcache.

Thanks for django-gcloud-connectors. We're using it in a production app with a steady 10 to 15 dynamic requests / second and it seems very stable.

David

Alessandro Artoni

unread,
May 31, 2023, 6:45:42 AM5/31/23
to David Buxton, djangae-users
Hey David,

Glad the connectors are working well for you 😛
I believe that setting is a remnant from the Djangae 1.x implementation, and unfortunately no, the bundled memcached service is not used (mostly because it didn't exists in the python 3+ standard environment when we initially migrated Djangae to it).


We'll add to our backlog, it's probably worth investigating if we can bring it back!

Alessandro Artoni
Tech Community Lead



--
You received this message because you are subscribed to the Google Groups "djangae-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to djangae-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/djangae-users/c4aec912-9217-4d20-8f6e-f94c1736334en%40googlegroups.com.

The UK's top 100 best small companies to work for Very Good to work for 2021 Mayors Good Work Standard

Potato London Limited a company registered in England and Wales with company number 07178897 at 18 Upper Ground Sea Containers, London, England, SE1 9GL VAT Reg No GB988351763. This e-mail communication, including any attachment, is intended only for the individual(s) or entity named above and to others who have been specifically authorised to receive it. Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer does not consent to email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Potato London Limited shall be understood as neither given nor endorsed by it.

David Buxton

unread,
May 31, 2023, 12:15:41 PM5/31/23
to djangae-users
Thanks Ale,

David
Reply all
Reply to author
Forward
0 new messages