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

Can you elaborate on the topic of a "relational data model on top of a hash map"?

Are there any books that cover the concepts?




"a relational data model on top top of hash-map" is my original idea, and then combine [The Pure Function Pipeline Data Flow v3.0 with Warehouse/Workshop Model](https://github.com/linpengcheng/PurefunctionPipelineDataflow), can perfectly realize the simplicity and unity combination of system architecture.


cockroach is built on top of a key/value index, i believe.

https://www.cockroachlabs.com/blog/sql-in-cockroachdb-mappin...


not the parent (but I like their thinking); I think the key concept is to treat the hash map as just a (potentially primary) index over your data. Of course keeping secondary indices up to date is now the job of the application (or the abstraction layer)


But isnt that just a sql db?


But it is also Nosql (hash-map). It is flexible according to your needs, as sqldb or Nosql or data structure.


the idea is, if for whatever reason you do not have access to a proper DB, can you build your own relational model on top of the bits you have?




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

Search: