Live data from Hacker News

Show HN: CursusDB – A new scalable distributed document oriented database

github.com

61–70 of 70 posts

Re: Show HN: CursusDB – A new scalable distributed document oriented database

#61
post #3

For new products I always recommend the same thing: name your competitors and use cases. Compare them in a table; don't make the user think. Who should and should not use your product? Being in-memory and distributed, I imagine your competitors include Ignite and Hazelcast? I read the title as CursorDB, which would have made a nice DB name.

Also write a blog post titled "YourProduct vs alt1 vs alt2 vs alt3 etc"

'cause "alt1 vs alt2 vs alt3" is what I'm searching

Re: Show HN: CursusDB – A new scalable distributed document oriented database

#62
post #61
post #3

For new products I always recommend the same thing: name your competitors and use cases. Compare them in a table; don't make the user think. Who should and should not use your product? Being in-memory and distributed, I imagine your competitors include Ignite and Hazelcast? I read the title as CursorDB, which would have made a nice DB name.

Also write a blog post titled "YourProduct vs alt1 vs alt2 vs alt3 etc" 'cause "alt1 vs alt2 vs alt3" is what I'm searching

Hey corobo, thank you for that! I will surely work on this and post either on the Github Repo Wiki or on the website, or both! Really it's an alternative to a combination of MongoDB, MySQL and Redis.

Re: Show HN: CursusDB – A new scalable distributed document oriented database

#63

Earlier quoted context omitted.

No not using Jepsen. I've written custom tests in GO running thousands of concurrent client connections on local and remote clusters with multiple nodes and node replicas I test consistency, crisis, recovery, etc. The database hasn't shown me personally any flaws whatsoever. Anyone can go ahead and write their own Jepsen tests if they please.

Maybe down the line if people REALLY want it I'll do it but I think I'll just post my tests instead. The thing is I'd rather make a video as you can't test power outages and so forth with just a script. I've done this using hardware locally and I can't find flaws. I'm not trying to make it seem any which way. I'd rather have more people write their own tests as well, why not!

Well, Jepsen has a reputation for finding problems in pretty much every database they test and has become a sort of a benchmark by now. Many people (including myself) won't consider a distributed database if it hasn't been put through Jepsen.

The only exception I know of is FoundationDB, which was written pretty much test-first, and about which Kyle Kingsbury said that their tests are likely better :-)

Re: Show HN: CursusDB – A new scalable distributed document oriented database

#65

Wow.

I've read through the documentation and have played with database and I really enjoyed the experience. Good job!

The query language is interesting. It has like grammar guide lines? No upper-case testing upper-case the cluster does not accept the queries. I like it though pretty strict.

Re: Show HN: CursusDB – A new scalable distributed document oriented database

#66
post #63

Earlier quoted context omitted.

Maybe down the line if people REALLY want it I'll do it but I think I'll just post my tests instead. The thing is I'd rather make a video as you can't test power outages and so forth with just a script. I've done this using hardware locally and I can't find flaws. I'm not trying to make it seem any which way. I'd rather have more people write their own tests as well, why not!

Well, Jepsen has a reputation for finding problems in pretty much every database they test and has become a sort of a benchmark by now. Many people (including myself) won't consider a distributed database if it hasn't been put through Jepsen. The only exception I know of is FoundationDB, which was written pretty much test-first, and about which Kyle Kingsbury said that their tests are likely better :-)

Thank you for the information @jwr! I've looked into it. I'm not trying to put money down on anything currently. I've tested, and I mean tested hundreds of hours possibly even thousands from the start to the now, every feature, multiple ways. I wouldn't deploy releases and mention features as an actual feature if I didn't test every single thing beforehand. I am thorough, I do crazy amounts of sanity checks on everything, I don't just claim things. I myself cannot do everything in the span of not even 60 days except test everything as I went on and continue to. I post about it on the Github. CursusDB must be manually and driven tested. Very easy to automate but very easy to miss steps.

Thank you for your response.

Re: Show HN: CursusDB – A new scalable distributed document oriented database

#67
post #63

Earlier quoted context omitted.

Well, Jepsen has a reputation for finding problems in pretty much every database they test and has become a sort of a benchmark by now. Many people (including myself) won't consider a distributed database if it hasn't been put through Jepsen. The only exception I know of is FoundationDB, which was written pretty much test-first, and about which Kyle Kingsbury said that their tests are likely better :-)

Thank you for the information @jwr! I've looked into it. I'm not trying to put money down on anything currently. I've tested, and I mean tested hundreds of hours possibly even thousands from the start to the now, every feature, multiple ways. I wouldn't deploy releases and mention features as an actual feature if I didn't test every single thing beforehand. I am thorough, I do crazy amounts of sanity checks on everyt…

To add, I'm not saying I wont do it. I just don't have funds for it currently. I'll save up and make sure to get it completed for the sanity of the many like you :D As stated previously I truly on every aspect test every method before implementation, I test features, I test REAL failures and scenarios like actually having a box running and power shutting down during a large transaction on nodes,I'm saying not virtually actually shutting power down and seeing if the system can persist. I did a lot and continue to for my own confidence. If it's not enough for you and others I do completely understand your reasoning hence mine to save for the Jepsen.

Re: Show HN: CursusDB – A new scalable distributed document oriented database

#69

Interesting product. I'm reading through the source and... Woah... it is all in one single file with zero unit tests. Of course there are many ways to skin a cat, this seems like a very odd choice for organizing a database codebase. Some of the methods like cluster.HandleClientConnection() are crazy long for loop + if/else + switch + goto! I know that you've said this is just kind of in your best interests codebase,…

This is spaghetti to you? You must be lucky as this is very clean to what I get to work with daily (and that’s more like millions LoC.

Re: Show HN: CursusDB – A new scalable distributed document oriented database

#70

Interesting product. I'm reading through the source and... Woah... it is all in one single file with zero unit tests. Of course there are many ways to skin a cat, this seems like a very odd choice for organizing a database codebase. Some of the methods like cluster.HandleClientConnection() are crazy long for loop + if/else + switch + goto! I know that you've said this is just kind of in your best interests codebase,…

This is spaghetti to you? You must be lucky as this is very clean to what I get to work with daily (and that’s more like millions LoC.

What do you want me to say here? It is 3000 lines, in a single file and no tests. I just said "seems like".

In order to comprehend it, I'm going to have to parse the whole thing into memory and figure out what it does. Not impossible, but if I'm looking to just fix a specific bug or contribute a new feature, I'd much rather go to the specific file that feature/bug is in, parse a page or two of code on my screen and work from there. It is just how I work.

I'm sorry that you have to deal with something that sounds worse. If it was me, I'd spend a lot of extra-curricular time trying to clean up the mess. In return, that would help me get an even better sense of the code.

Post reply on HN