Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README to contain a quick start guide for speedb #18

Merged
merged 1 commit into from
Jul 14, 2022

Conversation

AmnonHanuhov
Copy link
Contributor

@AmnonHanuhov AmnonHanuhov commented Jun 20, 2022

@AmnonHanuhov AmnonHanuhov added the documentation Improvements or additions to documentation label Jun 20, 2022
@AmnonHanuhov AmnonHanuhov requested a review from udi-speedb June 20, 2022 18:14
@AmnonHanuhov AmnonHanuhov self-assigned this Jun 20, 2022
@AmnonHanuhov
Copy link
Contributor Author

@rtpro

@AmnonHanuhov AmnonHanuhov force-pushed the amnon/quick_start_guide branch from 0a4eca2 to d64a561 Compare June 20, 2022 19:15
README.md Outdated
@@ -1,32 +1,59 @@
## RocksDB: A Persistent Key-Value Store for Flash and RAM Storage
# SpeeDB: A drop in replacement embedded solution for RocksDB
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Are we indeed a drop-in replacement? Is that our approved marketing message? Just verifying
  • The basic comment I have is that this is indeed a quick-start guide as the name of the branch implies, BUT, quoting from https://www.freecodecamp.org/news/how-to-write-a-good-readme-file/: "In simple words, we can describe a README file as a guide that gives users a detailed description of a project you have worked on" (this matches multiple other pages describing the purpose / expected content of a README file).
    We are replacing RocksDB's README (that does include this info). So, IMO, either we refer to that file for more information, or write our own (in case we would like to also be a drop-in replacement of the README file)
  • What is our project?
  • Why are we developing a drop-in replacement for RocksDB (assuming we indeed provide a drop-in replacement)?
  • What is our vision?
    Etc.
    The rest of my comments below will just assume that the comment above has been addressed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@udi-speedb, There's a separate thread on OSS marketing happening. I created issue #45 to update the README.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AmnonHanuhov let's be consistent and use the Speedb spelling everywhere rather than SpeeDB.

README.md Outdated
`TODO:` This section should point the reader to a dedicated file explaining how to contribute

## License
SpeeDB is licensed under Apache 2.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where can I find the license?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rtpro care to elaborate on this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@udi There's a LICENSE file in the root directory. I've created another issue #46 to update the license according to the license requirements.

README.md Outdated Show resolved Hide resolved

See the [github wiki](https://github.com/facebook/rocksdb/wiki) for more explanation.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we point to our own wiki?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line was removed because I didn't want to point to the rocksdb wiki. Do we have a wiki that I can mention here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's work going on to create Speedb Documentation. We will link it once it's up.

README.md Outdated Show resolved Hide resolved
README.md Outdated

## Usage
Usage of the library in your code is the same, regardless of whether you statically linked the library or dynamically linked it, and examples can be found under the https://github.com/speedb-io/speedb/tree/main/examples directory.
The public interface is in `include/`. Callers should not include or rely on the details of any other header files in this package. Those internal APIs may be changed without warning.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may be the intention but doesn't hold in practice (I personally had to include a header that is in a different folder for my new filter type, and I have done this after discussion with @mrambacher)

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
mkdir build && cd build
cmake .. [cmake options] -GNinja
ninja

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we not mention make on purpose?
Are we advocating cmake as the only supported build system?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally I would want us to have a cmake script, I opened a ticket for it on Jira https://speedb.atlassian.net/jira/software/projects/SPDB/boards/1/backlog?assignee=61e4062385a2d60070295e91&selectedIssue=SPDB-711
But to answer your question, this is something that should probably be discussed with the rest of the r&d team. Whether we want to set a standard of compiling with cmake (the cmake script I mentioned above), or mention make here as well, or maybe both.

README.md Show resolved Hide resolved
@AmnonHanuhov AmnonHanuhov force-pushed the amnon/quick_start_guide branch 2 times, most recently from e8ddf4c to f1d31ed Compare June 22, 2022 15:26
@AmnonHanuhov AmnonHanuhov force-pushed the amnon/quick_start_guide branch 4 times, most recently from a8716c6 to 05355ee Compare July 9, 2022 09:26
README.md Outdated
@@ -1,32 +1,59 @@
## RocksDB: A Persistent Key-Value Store for Flash and RAM Storage
# SpeeDB: A drop in replacement embedded solution for RocksDB
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AmnonHanuhov let's be consistent and use the Speedb spelling everywhere rather than SpeeDB.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@AmnonHanuhov AmnonHanuhov force-pushed the amnon/quick_start_guide branch 3 times, most recently from 3753450 to 81a2848 Compare July 13, 2022 17:07
@rtpro rtpro requested a review from isaac-io July 14, 2022 15:49
@AmnonHanuhov AmnonHanuhov force-pushed the amnon/quick_start_guide branch from 81a2848 to a02d090 Compare July 14, 2022 16:01
@AmnonHanuhov AmnonHanuhov force-pushed the amnon/quick_start_guide branch from a02d090 to 83ebebe Compare July 14, 2022 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants