If you look at the source , the maximum key size is 250 bytes. (find key KEY_MAX_LENGTH
)
The default maximum object size is 1 MB. But there is an easy way by which you can change this by making small changes to the config. You can watch .
When integrating memcached with spring, I'm not very sure, but you can see this . It has information on how to use it here .
Hope this helps.
source share