Memcached

2 years ago

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

Category: Other

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

6 Replies

2 years ago

Reserved.


anonymous
PRO

2 years 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).


2 years ago

I will look into this and get back to you!


2 years 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.


anonymous
PRO

2 years ago

Thanks!


2 years ago

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


Welcome!

Sign in to your Railway account to join the conversation.

Loading...