Comments (2)
.size and .bytesize on a string are the same thing since a character is a byte and .size returns the number of characters.
Also, the size limit applies to the object as a whole. In fact you cannot store items greater than 400KB (so the limit should be raised to 400KB from 64KB which is the old limit). This check is somewhat pointless though since it doesn't check total item size, but is still somewhat useful as a sanity check.
from dynamoid.
The strings in DynamoDB are UTF-8 (it says in one of the links I put in the original post), which doesn't guarantee that one character is one byte in length. For more information, this is an excellent read: http://www.joelonsoftware.com/articles/Unicode.html.
from dynamoid.
Related Issues (20)
- Support for ActiveRecord "subset conditions" HOT 2
- Record should be destroyed whether it has a range key or not
- No support for BETWEEN queries on range keys HOT 2
- Model reload method should not silently fail to reload
- Assigning associations to a model automatically persists that model to the table.
- Getting weird "Table already exists" error when the table exists V.S. "Resources not found" error when table is deleted. HOT 3
- Exception when creating new User HOT 1
- Problem while creating new instance
- adding any index results crash HOT 3
- Retries in dynamoid HOT 2
- Making multiple table update atomic HOT 3
- load fails on finding additional attributes
- aws_sdk Adapter - require': cannot load such file -- aws (LoadError) HOT 2
- Deprecate this gem officially HOT 4
- Rails 4.2? HOT 1
- AWS v2? HOT 1
- Dynamoid::Persistence#update! should be running :save callbacks HOT 1
- Dynamoid::Persistence#save never runs :update callbacks
- Error "value must be enumerable"
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 dynamoid.