mcneel / compute.rhino3d.appserver

A node.js server for solving Grasshopper definitions on Rhino Compute
115 stars 207 forks source link

Use memcached on Heroku #39

Closed sbaer closed 4 years ago

sbaer commented 4 years ago

Provide an option in our appserver caching to use memcached instead of our current in-memory cache. We would need to include something like the hash of a definition contents in the key so we don't get old cache results from a previous run of the appserver and an old GH definition.

Seems like we could check for a memcached environment variable on Heroku and if it exists use that instead of the in-memory cache.

fraguada commented 4 years ago

First test of this here: https://github.com/mcneel/compute.rhino3d.appserver/tree/luis/memcache

fraguada commented 4 years ago
fraguada commented 4 years ago

fixed in #51