开发者

What would you recommend to read to a person who is going to write his own DB?

开发者 https://www.devze.com 2023-01-22 04:28 出处:网络
Since there are no answers to my previous question. I\'m really thinking to implement a custom DB which will satisfy my requirements.

Since there are no answers to my previous question. I'm really thinking to implement a custom DB which will satisfy my requirements.

Yes I know, sounds crazy.

But what books, articles and etc. would you recommend to read?

If it does matter the requirements for my DB are following

  1. Graph oriented - optimized for storing graphs and traversal(e.g HyperGraphDB, Neo4j)
  2. Running in memory, but having a persisted storage (e.g. Redis)
  3. Distributed (e.g. membase)
  4. Had .NET adapter (TCP/IP, not HTTP REST)

I don't look for technical details, 开发者_JAVA技巧just want to find some source of theoretical information on how things usually done and what choices do I have.


If you are willing to spend effort in coding, why not join an existing project and adapt/extend it to your needs? For instance, both transparent distribution and RAM only data (optionally persisted) are on the TODO list of HyperGraphDB, so we'd be happy to have you help out :) Actually, being mainly main memory was in HyperGraphDB's original requirements, but it kind of became uninteresting at some point given the projects it got used for.

Cheers, Boris (http://www.hypergraphdb.org)


You could start a bounty on your previous question to get more attention for it. But as for this question, I would recommend "Don't." It does sound a little crazy, and you'll spend months (probably years) creating something that delivers only incremental improvement over an existing solution.

It might be worth posting some more details of the project and explaining why you have these requirements. It's possible that you could meet all of your requirements through a different combination of solutions (eg: why #2? Why can't you use caching instead of having to run in memory?).

If this is for a commercial product then I'm assuming you have a really interesting project with lots of money to burn. If it's for a personal project then good luck, and you're a lot braver than I am! ;-)


Did you try mongoDB http://www.mongodb.org/ ? I think it satisfy your requirements. Tell me if it does.

Cheers ]:>

0

精彩评论

暂无评论...
验证码 换一张
取 消