Didn't know much about this approach before. Does it make a noticeable difference in real-world performance compared to JSON?
Rows in ThingsDB: Compact & Efficient Data Serialization
2 Comments
joente
•
@[Kyle Neary], both actually serialize to JSON (or MessagePack, which is ThingsDB's default). The difference is in the structure: row mode outputs arrays of values rather than key-value objects.
In the real world, this makes a noticeable difference on large result sets, both on the server, since ThingsDB doesn't have to serialize repeated property keys for every item, and over the network due to smaller payloads. Standard objects (things) are still great when you want schemas that are easier to extend with new properties without breaking clients, while rows give you maximum efficiency when your column layout is fixed.
Please log in to add a comment.
Please log in to comment on this post.
More Posts
- © 2026 Coder Legion
- Feedback / Bug
- Privacy
- About Us
- Contacts
- You Tube
- Tiktok
- Premium Subscription
- Terms of Service
- Early Builders
chevron_left
11Posts
6Comments
13Connections
My passion for programming started during childhood and since about 2012 I started committing to the... Show moreMy passion for programming started during childhood and since about 2012 I started committing to the open source community.
I am the principal designer and architect behind ThingsDB, a project with a modern approach for data storage and manipulation, and SiriDB, a high-performance time-series database optimized for handling massive influxes of data with speed and efficiency. Besides those project, I'm also the author of the leri language parsing libraries and several other projects. Show less
I am the principal designer and architect behind ThingsDB, a project with a modern approach for data storage and manipulation, and SiriDB, a high-performance time-series database optimized for handling massive influxes of data with speed and efficiency. Besides those project, I'm also the author of the leri language parsing libraries and several other projects. Show less
More From joente
Related Jobs
- Construction Site Data Capture TechnicianTRUCKING PEOPLE · Full time · Turkey, TX
- Project Administrator (Data Centers)Suffolk Construction · Full time · Turkey, TX
- Senior Database AdministratorSEI Investments Developments · Full time · Fair Oaks, IN
Commenters (This Week)
Ken W. Algerverified
4 comments
manojkagitha
4 comments
Iurie Mocanu
1 comment
Contribute meaningful comments to climb the leaderboard and earn badges!