TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

ListenBrainz moves to TimescaleDB

154 点作者 kingkool68将近 5 年前

15 条评论

mfreed将近 5 年前
Fun fact: TimescaleDB exists because we were using InfluxDB + Postgres for a previous IoT project and also found it unworkable (developer experience, query language, reliability, scalability and performance, operations, etc).<p>We first built TimescaleDB as &quot;Postgres for time-series&quot; for our own needs and then decided to open-source it for others. :-)
评论 #23917848 未加载
评论 #23920122 未加载
120bits将近 5 年前
Interesting read and thanks for sharing.<p>Not too long ago, I was asked to work on some analytics project and it required time-series data. I&#x27;m not a rockstar programmer and don&#x27;t really know much about trends. So, I ended up googling and stumble upon InfluxDB. It felt like that right choice and I started playing with it. As the time passed, I realized that it might be a good software and I&#x27;m sure people love InfluxDB, but it wasn&#x27;t the right choice for me. I didn&#x27;t really like the docs, maybe its good now. And I had the same feeling about query syntax, it felt weird.<p>I moved to TimescaleDB and never looked back. I have it production for almost 2 months now. 20 tables and over 100Million writes&#x2F;week. One of things I really liked was staging, I don&#x27;t use docker and or anything fancy. I have bash script that and it runs on centos box and all timescale extension and postgres database are packaged together.<p>I was impressed by the timescale compression feature. I wasn&#x27;t using it earlier because I had to be careful about what columns I need to segmentby. I would love to see some more features but I&#x27;m sure timescaledb team is already on it.
评论 #23919219 未加载
评论 #23922679 未加载
pgt将近 5 年前
+1 on escaping measurement names. Quoting from their source code:<p><pre><code> def get_escaped_measurement_name(user_name): # ... comment omitted return &#x27;&quot;\\&quot;{}\\&quot;&quot;&#x27;.format(user_name.replace(&#x27;\\&#x27;, &#x27;\\\\\\\\&#x27;).replace(&#x27;&quot;&#x27;, &#x27;\\&quot;&#x27;).replace(&#x27;\n&#x27;, &#x27;\\\\\\\\n&#x27;))</code></pre>
评论 #23916279 未加载
评论 #23916156 未加载
评论 #23916255 未加载
iliekcomputers将近 5 年前
Hey! I&#x27;ve been working on ListenBrainz [0] for the past 3-ish years. Happy to answer questions if anyone has any.<p>[0]: <a href="https:&#x2F;&#x2F;listenbrainz.org" rel="nofollow">https:&#x2F;&#x2F;listenbrainz.org</a>
评论 #23916468 未加载
评论 #23918941 未加载
RedShift1将近 5 年前
I&#x27;m in the process of moving from InfluxDB to TimescaleDB myself and can&#x27;t wait to get rid of the hoops I have to jump through to get InfluxDB to answer some basic questions, mostly stemming from the fact that InfluxQL doesn&#x27;t support boolean expressions. Something like &#x27;SELECT MAX(temperature) &gt; 10 FROM...&#x27; doesn&#x27;t work.
评论 #23917435 未加载
评论 #23917320 未加载
评论 #23918411 未加载
评论 #23919529 未加载
评论 #23922688 未加载
akulkarni将近 5 年前
(TimescaleDB co-founder). Thanks for the kind words! I feel especially proud about the first point &quot;openness&quot; - this is something we strive for both technically and culturally.<p>For example, we have a pretty active Slack channel[0] where you can ask us anything. We&#x27;ve probably given away $$$$ of free support over the years ;-)<p>[0] <a href="https:&#x2F;&#x2F;slack.timescale.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;slack.timescale.com&#x2F;</a>
gregors将近 5 年前
We too started off with influx but it wasn&#x27;t a good fit mainly due to use having issues with high cardinality. I don&#x27;t know if this is still the case with current implementations, but what it boils down to is if your data is searchable by a &quot;user_id&quot; really look elsewhere. That might be an oversimplification but that&#x27;s the gist of it.<p>I was fully ready to just roll my own partitioned table and gave TimescaleDB a shot. It worked well. There was a bug we ran into, but it was an existing one documented on github and was addressed pretty quickly.<p>I still like influx, and would use it again but beware of the cardinality issues.
评论 #23977388 未加载
awinter-py将近 5 年前
timescale is a postgres extension. &#x27;postgres as a platform&#x27; is an interesting world to live in.<p>postgres built-in RBAC is clunky or people would be relying on it, but an ecosystem of postgres plugins could include cleaner or smaller versions of this feature.<p>Even things like complex migrations (github&#x27;s gh-ost, for example) could exist as DB plugins.
decafninja将近 5 年前
As someone who wants to pick up a time series DB to learn, what would be the best in terms of being the &quot;industry standard&quot;? InfluxDB? TimescaleDB?<p>I&#x27;m familiar with some basics of kdb and use it often in my day job, but from what I understand that isn&#x27;t widely used outside of finance?
评论 #23977522 未加载
评论 #23921411 未加载
osigurdson将近 5 年前
In some cases it is difficult to define the table columns up front. Instead, a few tables: Object, Property, Time and Value (example below) are defined which make it possible to create new items on the fly. This works reasonably well up to a few billion records in the value table. However it does end up taking a lot of space (covering indexes&#x2F;requisite memory are required for performance). It would be great to see a Postgres compatible solution that solves this problem in a more optimal way than a stock RDMS.<p>Object objectId objectName other...<p>Property propertyId objectId FK propertyName other...<p>Time timeId time other..<p>Value timeId FK propertyId FK value
silvester23将近 5 年前
&gt; If you ever write bad data to a measurement in InfluxDB, there is no way to change it<p>Correct me if I&#x27;m wrong, but I&#x27;m fairly certain you can just write data with the same timestamp again and it gets updated. Deleting is also easily possible.
评论 #23916328 未加载
评论 #23916282 未加载
rweichler将近 5 年前
Figured I&#x27;d use this as an opportunity to plug my own service: <a href="https:&#x2F;&#x2F;eqe.fm" rel="nofollow">https:&#x2F;&#x2F;eqe.fm</a><p>Only works on jailbroken devices but it works well, has a local backup, and has been maintained (by me) for 2 years now.<p>Server costs are $2.50&#x2F;mo, so this will stay up as long as I am alive.
jbmsf将近 5 年前
I&#x27;d love to hear more about how your data ingestion works. I&#x27;m thinking of implementing TimescaleDB myself, but in my initial read of the docs, the focus seemed to be managing the database, not getting data into the database...
评论 #23919838 未加载
iEchoic将近 5 年前
Has anyone used Prometheus as well as TimescaleDB in production and have thoughts to share on those, comparatively?
评论 #23945583 未加载
thejosh将近 5 年前
I really want to love timescaledb, it&#x27;s great.. except for the minor issue of not being able to back up.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;timescale&#x2F;timescaledb&#x2F;issues&#x2F;1835" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;timescale&#x2F;timescaledb&#x2F;issues&#x2F;1835</a>
评论 #23917831 未加载
评论 #23918298 未加载
评论 #23919057 未加载
评论 #23917900 未加载