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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

The Inner Guts of Bitbucket [video]

53 点作者 xvirk大约 10 年前

3 条评论

nodesocket大约 10 年前
Interesting at their scale, they haven&#x27;t needed to shard PostgreSQL. +1 for PostgreSQL.<p>Also, would be super curious to see and hear more about their patch to SSHD to allow it to read from a database instead of disk. This would be super useful for us as well (<a href="https://commando.io" rel="nofollow">https:&#x2F;&#x2F;commando.io</a>).<p>Lastly, it was really interesting that switching to bcrypt took their servers down, and they were forced to write a custom sha1 to bcrypt cache. One solution would be to not hash (bcrypt) API tokens, but instead just encrypt them and store in PostgreSQL. The side benefit of this, is users could view their API tokens again if needed.<p>Obviously it is less secure, but Stripe for example allows you to view your API tokens, and thus they are not hashing them.
评论 #9182941 未加载
Nelkins大约 10 年前
Random tidbit I learned at Atlassian Road Trip NYC last night: apparently Stash is written in Java instead of Python, and BitBucket and Stash are developed semi-independently.
teh_klev大约 10 年前
From last time around:<p><a href="https://news.ycombinator.com/item?id=8165745" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8165745</a>