Better HN
topnewbestaskshowjobs
Log inSign up

dianasaur323

29 karma · joined Feb 16, 2017 (9y ago) · 22 submissions

Submissions

1.

Volunteer mentorship for biz talent who lost their jobs due to Covid-19(medium.com ↗)

1 points · by dianasaur323 · 6y ago · discuss

comment 7y ago · link · parent

Yeah! CockroachDB is also a really cool multi-cloud DB. That being said, they are really more for transactional workloads, and less purpose built for time-series.

I guess there are always trade-offs in the software world.

comment 7y ago · link · parent

You select the public cloud vendor you want your machine spun up on. So no, if AWS has a full outage, it won't fall back to a different cloud. Failover is done at an availability zone level.

Since TimescaleDB is also open-source, if you want that kind of replication scheme, you can always install on VMs across clouds. However, as you rightly pointed out, network latency is a definite concern and impacts the feasibility of RPO and RTO.

comment 7y ago · link · parent

I think the quickest comparison is SQL vs NoSQL. We haven't done performance benchmarks against Druid yet, but do know of several users who have switched because they want to use PostgreSQL instead.

comment 7y ago · link · parent

Very cool! I haven't been able to find a more real-time data source yet. Thanks for sharing!

comment 7y ago · link · parent

We spin up a separate instance that matches the type that you want to migrate to, restore a backup and stream the WAL logs. Then, we redirect.

comment 7y ago · link · parent

Certainly - I've been seeing a bunch of usage based pricing that price on a different metric (like metrics per second) etc.

Regardless, with Timescale Cloud, if you get a machine, you pay the price for that machine for as long as you use it. So I guess to avoid the confusion, we can call this just paying for the machine :)

comment 7y ago · link · parent

Yeah - TimescaleDB comes with a time_bucket function that allows you to group things by minute, and specify a where clause that queries for just the last 5 days. You can build indexes that include the ticker, and also reorder data on disk to optimize how much data you scan on disk. So, TLDR - you should definitely try it! I did some quick googling, and it looks like Metabase supports PostgreSQL, so it should work with Timescale. We would love to hear how it goes!

comment 7y ago · link · parent

We haven't done a formal price comparison, since it's actually a bit hard to compare apples to apples since the two databases are architected differently. Definitely something we should consider doing! Thanks for the idea.

Migration wise, I would use Outflux for batch migration and Telegraf to support a live migration (https://docs.timescale.com/v1.3/tutorials/outflux) and (https://docs.timescale.com/v1.3/tutorials/telegraf-output-pl...).

comment 7y ago · link · parent

Interesting point of view - it's certainly always a bit hard to find the right verbage that everyone can understand, but hopefully this discussion clarified things!

comment 7y ago · link · parent

It's more like pay-for-what-you use. You can check out the pricing calculator for more detail: https://www.timescale.com/cloud-pricing

Growing, shrinking, and migrating involve moving to a different instance type, so you have to select a different instance type. That being said, there is very very little downtime (on the order of 3-5 seconds while the DNS resolves)

12.

SQL vs. Flux: Choosing the right query language for time-series data(blog.timescale.com ↗)

14 points · by dianasaur323 · 8y ago · 1 comment

13.

CockroachDB and Baidu hold their first joint open source conference in China(cockroachlabs.com ↗)

3 points · by dianasaur323 · 8y ago · discuss

14.

Achieving zero RPO with CockroachDB(cockroachlabs.com ↗)

7 points · by dianasaur323 · 9y ago · discuss

comment 9y ago · link · parent

[cockroachdb here] We are big fans of RethinkDB, but also glad to hear that you'll explore CockroachDB. Let us know how it goes, and definitely file any issues / feature requests in our GitHub repo!

comment 9y ago · link · parent

Thanks for pointing that out! We will fix that to optional for us :)

comment 9y ago · link · parent

[cockroachdb here] Thanks for the great response, bpicolo!

comment 9y ago · link · parent

[cockroachdb here] Yes! In addition to being highly scalable, CockroachDB also comes with built-in replication. That means that even with a smaller project that hasn't scaled yet, you still get the benefit of a more resilient database.

Also, CockroachDB is super easy to install and get started with!

19.

Coming Soon: What to Expect in CockroachDB 1.0(cockroachlabs.com ↗)

5 points · by dianasaur323 · 9y ago · discuss

comment 9y ago · link · parent

CockroachDB employee here - Yes, CockroachDB is a completely different database from PostgreSQL. CockroachDB supports HA from the bottom up with data broken up into ranges that are consistently replicated using Raft. As mentioned earlier in the thread, it uses the PostgreSQL wire protocol and supports a good amount of SQL (but not all since the dialect is quite large if you include extensions). If you are looking for HA with SQL compatibility, it would be worth taking a look at CockroachDB.

comment 9y ago · link · parent

CockroachDB employee here. DBaaS is definitely on our roadmap. There are a lot of moving pieces to building out DBaaS, so our focus first is on honing our core product. In the meantime, we are working on making it as easy as possible to deploy CockroachDB across different cloud vendors and with orchestration tools like Kubernetes.