Hacker News new | past | comments | ask | show | jobs | submit login

Sure I can see the single rigid schema view. But I'd rather see the K/V as just a persistence mechanism. I view the schema as being more related to the application.

meta-programming relationship: Since you can store anything in the value part of a K/V store. You could (and I do) store the schema definitions for the other values in the data store. And while you are at it, you could store code segments.

So imagine the following key store (in pseudo code):

{ key: 1728273, value: { fields: { first_name: string, last_name: string } } }

{ key: 8274289, value: { type: 1728273, data: { first_name: "Bruce", last_name: "Saunders" }}}

You could stuff code segments in there in a similar way. So I think K/V stores are potentially highly related to meta-programming. Though certainly the two could exist entirely separately of each other.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: