Comments (5)
@samfrench Thank you for raising the issue, I'm going to take a look.
from crystal-memcached.
@samfrench I think I fixed the problem. Could you please check if it works for you now? Thanks!
from crystal-memcached.
Thank you @comandeo. When I run the specs they pass. I am still getting an error with my application as only puts 8164 characters in the cache which is a truncated output. I am currently investigating why this is. If I can't solve it I'll try and get a failing test to replicate the scenario as it might be something I am doing incorrectly.
from crystal-memcached.
It actually looks like our large value we are putting into memcached has a non-utf8 character. This is now where the value is breaking for us, so this issue has been resolved as we can now put large values into memcached and retrieve them. Thank you for the quick fix @comandeo as this allows us to progress further with our application.
from crystal-memcached.
@samfrench Thanks for the feedback, I am closing this issue.
However, you gave me some food for thoughts. Values in memcached seems to be just bytes - https://github.com/memcached/memcached/wiki/BinaryProtocolRevamped#data-types Maybe it is a good idea to allow clients to operate with slices, but not strings as values. Something like
def get(key : String) : Slice(UInt8)?
from crystal-memcached.
Related Issues (12)
- DELETE ME
- Implement key hashing
- Implement Storing Binary Data
- Implement value compression/decompression
- Implement Serialization of Data Structures
- Proper timeouts handling
- Using memcached client with large values truncates response HOT 5
- implement: cas (check and set) command HOT 1
- Tag New Release HOT 2
- How to configure or set options?
- The client is extremelly slow HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crystal-memcached.