Coder Social home page Coder Social logo

String max length about dynamoid HOT 2 OPEN

samwho avatar samwho commented on August 21, 2024
String max length

from dynamoid.

Comments (2)

ngordon17 avatar ngordon17 commented on August 21, 2024

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

samwho avatar samwho commented on August 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.