Memcached

a year ago

Description: A high-performance, distributed memory object caching system

Category: Other

URL: https://railway.app/template/jhyKTw

6 Replies

a year ago

Reserved.


anonymousPRO

a year ago

Is there a way to configure the max. cache size? I am getting pymemcache.exceptions.MemcacheServerError: b'object too large for cache' exceptions on one of my endpoints (it has a payload of 2MB).


a year ago

I will look into this and get back to you!


a year ago

You can update the start command to -

docker-entrypoint.sh memcached -vv --max-item-size=5m

This sets the max item size to 5MB.


anonymousPRO

a year ago

Thanks!


a year ago

For context I have updated the template so anyone who deploys the template from here on out won't have to change anything.


Memcached - Railway Help Station