When comparing Bitbucket vs TFS, the Slant community recommends Bitbucket for most people. In the question“What are the best alternatives to GitHub for Open Source projects?” Bitbucket is ranked 2nd while TFS is ranked 5th. The most important reason people chose Bitbucket is:
BitBucket comes with an integrated issue/tickets management system.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Integrated issue tracking system
BitBucket comes with an integrated issue/tickets management system.
Pro Free unlimited private repositories for small teams
Bitbucket offers unlimited private repositories for free, as long as the number of members in a team is not larger than 5. In other words, it does not charge for each number of private repository, instead it charges by the number of team members.
Pro Native application for both Mac and Windows
Atlassian, the company behind BitBucket is also behind SourceTree, a free application for Windows and Mac wich works as a client for both Git and Mercurial and can be connected to BitBucket and/or other code hosting services.
Pro Multiple authentication methods
BitBucket supports Twitter, Facebook, OpenID, Google and even GitHub authentication.
Pro JIRA integration
JIRA, the widely used project and issue tracker is developed by Atlassian, the same team that's behind BitBucket.
When the two are integrated, JIRA automatically updates issues when a new commit is made in the BitBucket repo.
Pro Allows importing existing repositories
BitBucket has a feature which allows users to import an existing repository that has been hosted elsewhere.
The process is very simple, either a service is selected from a dropdown menu and then a repo can be chosen and the URL for a repository can be added in the specified field. Once that's done, the repository is now uploade into BitBucket and can be edited, forked and compared to other repos hosted there.
Pro Supports hosting static websites
BitBucket supports uploading and hosting static HTML pages for it's users.
Pro Unlimited contributors for private repositories for students/educators
Atlassian offers student licenses for both students and educators for Atlassian products that will be used in a classroom setting for education. This includes BitBucket, which means that students and teachers can have unlimited private repositories with and unlimited number of contributors.
Pro Backed by a trustable company that has proved it's worth
BitBucket is developed and maintained by Atlassian, which is not an unknown venture, especially for developers. Atlassian has a great number of other products used by million of users worldwide, including JIRA, HipChat, Confluence and Stash.
Pro Easy Trello integration
You can link BitBucket with your Trello board easily.
Pro Excellent tutorials
Pro Concurrent
TFS contains very few locks and aims to be as suitable for multithreaded
systems as possible. It makes use of multiple truly concurrent structures
to manage the data, and scales linearly by the number of cores. This is
perhaps the most important feature of TFS.
Pro Usable in other systems
It was never planned to be Redox-only.
Pro Revision history
TFS stores a revision history of every file without imposing extra
overhead. This means that you can revert any file into an earlier version,
backing up the system automatically and without imposed overhead from
copying.
Pro Data integrity
TFS, like ZFS, stores full checksums of the file (not just metadata), and
on top of that, it is done in the parent block. That means that almost all
data corruption will be detected upon read.
Pro Copy-on-write semantics
Similarly to Btrfs and ZFS, TFS uses CoW semantics, meaning that no cluster
is ever overwritten directly, but instead it is copied and written to a new
cluster.
Pro O(1) recursive copies
Like some other file systems, TFS can do recursive copies in constant time,
but there is an unique addition: TFS doesn't copy even after it is mutated.
How? It maintains segments of the file individually, such that only the
updated segment needs copying.
Pro Guaranteed atomicity
The system will never enter an inconsistent state (unless there is hardware
failure), meaning that unexpected power-off won't ever damage the system.
Pro Improved caching
TFS puts a lot of effort into caching the disk to speed up disk accesses.
It uses machine learning to learn patterns and predict future uses to
reduce the number of cache misses. TFS also compresses the in-memory cache,
reducing the amount of memory needed.
Pro Better file monitoring
CoW is very suitable for high-performance, scalable file monitoring, but
unfortunately only few file systems incorporate that. TFS is one of those.
Pro All memory safe
TFS uses only components written in Rust. As such, memory unsafety is only
possible in code marked unsafe, which is checked extra carefully.
Pro Full coverage testing
TFS aims to be full coverage with respect to testing. This gives relatively
strong guarantees on correctness by instantly revealing large classes of
bugs.
Pro Improved garbage collection
TFS uses Bloom filters for space-efficient and fast garbage collection. TFS
allows the FS garbage collector to run in the background without blocking
the rest of the file system.
Pro SSD friendly
TFS tries to avoid the write limitation in SSD by repositioning dead sectors.
Pro Full-disk compression
TFS is the first file system to incorporate complete full-disk compression
through a scheme we call RACC (random-access cluster compression). This
means that every cluster is compressed only affecting performance slightly.
It is estimated that you get 60-120% more usable space.
Pro Asynchronous
TFS is asynchronous: operations can happen independently; writes and
reads from the disk need not block.
Cons
Con Private repositories are free for only 5 users
Private repositories are free for teams with 5 members or less. If a team is larger, then BitBucket charges for each additional team member.
Con Proprietary
Con Not as stable as github
Users have experienced several half a day downtimes, almost every month. True, github is down once in a while, but when GitHub is down complaints breaks loose on Twitter, TechCrunch, and other major media outlets. For the past 5 years github has been down only three times, and two of these times they were attacked by major adversaries.
Con Requires registration of a "universal atlassian account"
Not a big con for some, but annoying to others.
Con Not ready for use
While many components are complete, TFS itself is not ready for use.
