Skip to content

Get RethinkDB to production-ready state #1174

Closed

Description

@coffeemug

UPDATE
The list below is outdated. We are now heading towards RethinkDB 2.0 which will be fully production ready and receive full commercial support from us.
You can track remaining tasks in the corresponding milestone https://github.com/rethinkdb/rethinkdb/milestones/2.0 .

For users watching this thead: We're going to send you a quick note in here once 2.0 is shipping.


This is a meta issue to keep track of everything we need to do to get RethinkDB to official production-ready state. So far I've kept bits and pieces of this in my head, but since people often ask, I wanted to create an official list. This can also double as a rough roadmap.


May be section (we probably don't absolutely need this, but I'm not 100% sure so adding for completion)

  • Clustering
    • Always on (don't go offline during resharding)
    • Automatic master reelection
  • Get ReQL to steady state
  • Backtrace printing should be multiline, or ideally use a pretty printer
  • Read-only mode for cluster upgrades
  • skip and limit should be more efficient (for pagination)

I'll go through this list and link it to relevant issues as time permits.

If you think of something else that should be here, please comment and I'll add it. Also, if you think that something here doesn't belong, please comment as well.

Activity

  1. coffeemug commented on Jul 16, 2013

    @coffeemug
    ContributorAuthor

    Added some more stuff, please see the original issue on GitHub for all you e-mail dwellers.

  2. mlucy commented on Jul 16, 2013

    @mlucy
    Member

    I would add docs to this.

  3. neumino commented on Jul 17, 2013

    @neumino
    Member

    About the scalability of the web ui, here are a few things:

    About bandwidth:

    • The most expensive by far are the calls to the stats. We do it every seconds, and even if I try to keep just what I need, I still get a lot of data because I have to sum the read/writes per internal hash shards (that are per shard (that are per table)).
      If the server could return just the two numbers per table, it would save a lot of bandwidth.
    • Providing diff for /ajax would be really cool. I don't expect people data to change that often, so it would save quite some bandwidth.

    About heavy javascript operations:

    • The directory is huge -- and too big for what I need. I have to check the status of all hash shards to know if a shard is available or not. The problem is similar to the one with stats. If the status could get computed on the server, that would be a lot less things to do on the web ui.
      While computing the status is not that expensive, every time we get the results from /ajax a lot of things are updated at the same time, so the user can feel a slow down in case of a huge cluster.
    • Hash shards should remove all the code to compute split points -- and the code to convert/order keys -- which will make me happy : )

    Extra considerations

    • If we can stream things, it would be even better, but that would require more work for everyone. I'm pretty sure that having the server squashes the stats and provides diff for the directory and semilattice, it should be more than enough for most (all?) our users.

    I'll open separate, more specific issues when we start working on this.

  4. AtnNn commented on Jul 17, 2013

    @AtnNn
    Member

    I think backwards compatibility is important enough to be on the list.

    Upgrading rethinkdb should not involve a dump and restore process. It could instead:

    • Not lose information such as secondary indexes, cache sizes and sharding and replication settings.
    • Be resilient to changes in ReQL
    • Not require having both the old and new version of rethinkdb installed
    • Possibly be reversible. If users find a regression, they may need to downgrade
  5. mlucy commented on Jul 17, 2013

    @mlucy
    Member

    @AtnNn -- +1

  6. srh commented on Jul 17, 2013

    @srh
    Contributor

    Backwards compatibility with what? In future RethinkDB versions, that's possible. Production-ready RethinkDB probably can't be backwards compatible with RethinkDB 1.7.

  7. mglukhovsky commented on Jul 17, 2013

    @mglukhovsky
    Member

    I'm pretty sure @AtnNn meant that post-2.0 all versions should be backwards
    compatible to 2.0.

    On Wed, Jul 17, 2013 at 4:28 PM, srh [email protected] wrote:

    Backwards compatibility with what? In future RethinkDB versions, that's
    possible. Production-ready RethinkDB probably can't be backwards compatible
    with RethinkDB 1.7.

    —
    Reply to this email directly or view it on GitHubhttps://github.com//issues/1174#issuecomment-21152999
    .

  8. AtnNn commented on Jul 18, 2013

    @AtnNn
    Member

    post-2.0 all versions should be backwards compatible to 2.0.

    That is what I meant. However I don't think we can wait til after 2.0 is released to work on making 2.1 backwards compatible.

  9. jdoliner commented on Jul 27, 2013

    @jdoliner
    Contributor

    I don't think we should have #1208 as part of being production ready. I have an argument for why on the issue.

  10. josegonzalez commented on Aug 1, 2013

    @josegonzalez

    @coffeemug would be nice if you turned the issue into a task list

  11. coffeemug commented on Aug 6, 2013

    @coffeemug
    ContributorAuthor

    @jdoliner -- thanks, removed #1208 from here.
    @josegonzalez -- thanks for the suggestion, done.

  12. jdoliner commented on Aug 6, 2013

    @jdoliner
    Contributor

    Also I'm pretty sure we decided in person to bump triggers from this list.

  13. coffeemug commented on Aug 6, 2013

    @coffeemug
    ContributorAuthor

    Yep, deleting triggers from here.

  14. josegonzalez commented on Aug 15, 2013

    @josegonzalez

    I think you can mark Date support as complete, no?

  15. coffeemug commented on Oct 23, 2013

    @coffeemug
    ContributorAuthor

    We've learned a lot since I created this issue, and I feel it isn't very relevant anymore as it isn't very actionable. We'll keep shipping small releases until we feel comfortable marking RethinkDB production-ready. Closing this issue, if you feel it needs to exist please feel free to comment here and I'll see if it makes sense to reopen.

  16. 3 remaining items

  17. davidbanham commented on Oct 24, 2013

    @davidbanham

    My expectation of this issue is just to get the "Hey everyone, we're ready" notification when it's time. I'd be perfectly happy if there were no milestone updates, but just comment and close the issue when the team is ready to call it production-ready.

  18. coffeemug commented on Oct 24, 2013

    @coffeemug
    ContributorAuthor

    We'll do that at the very least, but I'll put in the time to make this feature informative and have it reflect the current state of affairs.

  19. max-l commented on Dec 18, 2013

    @max-l

    leaving a comment so I get a notifications about this issue.

  20. srh commented on Dec 23, 2013

    @srh
    Contributor

    Hi @max-l. You can subscribe to issues on Github by clicking the Subscribe button at the bottom of the page. (At least I think it does what you want.)

  21. jamescostian commented on Apr 1, 2014

    @jamescostian

    I saw this issue and I noticed a couple things are outdated:

  22. coffeemug commented on Apr 1, 2014

    @coffeemug
    ContributorAuthor

    Thanks, made appropriate edits.

  23. danielmewes commented on Dec 30, 2014

    @danielmewes
    Member

    I took the freedom to tick the following items off the list:

    Work out high bandwidth issues with the WebUI
    Clean up and document the stats subsystem
    Clean up known hanging/crashing bugs

    The first two are going to ship with 1.16, the last one is one where we now are sufficiently close to not keep it as a separate item on the list anymore.

    Generally this list doesn't quite reflect the current roadmap anymore, but as discussed earlier keeping it open so we can send out a notification once we're there.

  24. asakatida commented on Dec 30, 2014

    @asakatida

    Get rid of cJSON (#1042) -- scheduled

    This issue is closed and marked as a duplicate. I can't find an exact issue that duplicates #1042. Reading recent issues this seems closely tied to supporting null bytes in strings and being stricter with string encoding.

  25. added this to the 2.0 milestone on Jan 27, 2015
  26. danielmewes commented on Apr 14, 2015

    @danielmewes
    Member

    Good news everyone! We just released RethinkDB 2.0, our first production ready release that comes with improved stability and a full range of commercial support options from us.

    See the blog post for details http://rethinkdb.com/blog/2.0-release/

  27. coffeemug commented on Apr 14, 2015

    @coffeemug
    ContributorAuthor

    👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions