3 ms·
> it has worked magnificently for years. It surely did the job, but unfortunately, I have different experience. - It's very space-ineffective. One particular
by drdaeman 7y ago
> it has worked magnificently for years.
It surely did the job, but unfortunately, I have different experience.
- It's very space-ineffective. One particular thing I've discovered is that it's very ineffective for storing numbers. A strings are much more space-efficient (https://github.com/rethinkdb/rethinkdb/issues/6304 https://github.com/rethinkdb/rethinkdb/issues/6304). However, there must be something else. I'm slowly moving to PostgreSQL (experimenting with CockroachDB as alternative) and maybe that's just me, but similar datasets with similar indices require significantly less disk space there.
- It dies under heavy load. That could be a tolerable issue - I can throttle updates my app generate, but there's no way to control replication speed. Trying to add replicas to some of larger tables reliably kills the destination node for me.
- There's no way to limit memory, and optimizing for this is hard. A node with 64GiB RAM lives okay, but the one with only 16GiB gets periodically OOM-killed (cache size on that node is set to mere 6GiB).
- Sometimes, it has some weird cluster discovery delays, where restarted nodes just sit and don't connect to their peers for minutes, even though they're reachable and there are no network issues. This is not a problem for large clusters, but I have only 3 nodes (cost constraints), where a loss of one moves system into partially degraded state as replicating all tables is too wasteful. Tolerable, but not fun.
> how it is travelling as an open source project
Unfortunately, I'd say it is dead. There is some discussion activity, but almost no code activity.
- cryptica 7y agoI'm launching a scalable open source cryptocurrency payment system using RethinkDB. It's amazing how well it works and scales on Kubernetes at the click of a button. There is a video of it on my project website https://crypticle.io/ https://crypticle.io/ I intend to keep using it for as many future projects as possible. AFAIK, the business did not survive because the product was too good and didn't have enough problems to charge support for. Actually this is a big problem in open source and that's why I'm involved in cryptocurrency now.
- drdaeman 7y ago> It's amazing how well it works and scales on Kubernetes at the click of a button Oh, just try to scale it down ;) https://github.com/rethinkdb/docs/issues/958 https://github.com/rethinkdb/docs/issues/958 Deleting from system table is okay, but messing with server tags (when the setup is heterogeneous) is not exactly fun. To be fair, that's a very minor issue. Perfectly manageable, just a slight inconvenience when you figure things out.
- cryptica 7y agoIt's not that difficult, you can use the reconfigure query to put all the shards on one server, then you can scale down the other servers.