8 ms·
Tau: Open-source PaaS – A self-hosted Vercel / Netlify / Cloudflare alternative
- yayr 2y agovery interesting... here is a comparison of the community and enterprise offering https://taubyte.com/pricing/ https://taubyte.com/pricing/ who is actually behind this?
- KomoD 2y ago> who is actually behind this? "Samy Fodil" https://github.com/samyfodil https://github.com/samyfodil
- bitpush 2y agoFirst coolify[1] and now Tau. More competition the better for users. From the quick look it seems like coolify is more fully featured? [1]: https://coolify.io/ https://coolify.io/
- TechDebtDevin 2y agoCoolify needs a lot of work imho.
- andruby 2y agoDo you mean it’s missing features or that it requires lots of maintenance and handholding? I’m evaluating some of the options for toy projects so I’m curious to read people’s experiences.
- pif_ 2y agoIt's still in beta (under active development), so for fairly serious projects it's not yet viable in production in my opinion. But I'm using it for two personal sites, and it works perfectly. It's exactly the kind of tool I was looking for: open source, self-hosting, easy to install, easy to use and well maintained.
- TechDebtDevin 2y agoIMO it adds a bunch of complexity (as these types of catch all frontend solutions usually do) to a problem that can be easily solved by becoming proficient in using Docker/Podman and spending a little bit of time reading the documentation for the services you want to run. Its a cool idea but uncessary IMO. There are also a ton of people that like it and I'm just one opinion. I reccomend you try it but I also think you'll realize you could host that hobby project with half the hardware requirements and half the effort with something like docker-compose or swarm.
- dsamy 2y agoEspecially when scaling beyond one server. The next Tau release will include `spore-drive`, a tool for deploying and updating on thousands of servers with a single command.
- ffsm8 2y agoBefore Coolify came CapRover and dokku. My toy server (64ram, ryzen 5600G 60tb HDD, 4tb NVMe) is currently running fedora/caprover, though I've been considering just putting truenas scale on it, as it added custom deployments as well...
- udev4096 2y agoThat's a beast server. What are you using it for?
- ffsm8 2y agoIt sounds bigger then it is, raid 10 cuts it in half after all (30tb HDD, 2tb NVMe) It's mostly just for the *arr stack, various self hosted services like vaultwarden, seafile etc and my personal toy projects. I.e. a pwa book reader along with the occasional dev tool I wanna experiment with.
- Tiberium 2y agoWhat HDDs do you have for it to be 60TB in total?
- ffsm8 2y ago6x6GB + 2x12gb
- NorwegianDude 2y agoThen you have 24 TB with RAID10, not 30 TB. I guess that's why he was wondering.
- ffsm8 2y agoTechnically I've got 18tb raid 10 and 12TB raid 1, I just didn't think it mattered and I was too lazy to explain that on my phone ( • ‿ • ) The 6x6TB were previouly in a Synology NAS (roughly 8yrs old now) and I was planning to slowly migrate everything over to 12TB disk's as things start failing
- dsamy 2y agoIt's a different approach. Coolify is a container management platform with CI/CD integration. Tau is meant for developers, and Git is the only way to make changes. Moreover, Tau can handle compute, storage, pub-sub, and more. Note that, besides CI/CD, Tau cannot orchestrate containers currently. So, being fully featured truly depends on your intended use case.
- niieani 2y agoBefore coolify there was also exoframe[1] [1]: https://github.com/exoframejs/exoframe https://github.com/exoframejs/exoframe
- hosh 2y agoThere are some neat ideas here -- building a PAAS off of p2p technologies to enable network autodiscovery, automated load-balancing, distributed storage, Webassembly-native, etc. Having put stuff through production though, I'm a bit skeptical about how well it works out in the wild, though I am interested in learning how well it does and what its failure modes are. If it works well-enough, it has the potential for democratizing production apps. I'm not sure how they are going to make money with their enterprise offering though.
- dsamy 2y agoScaling using p2p is something that some of the big Silicon Valley giants use internally. It scales very well. Tau uses a combination of techniques on top of the DHT to ensure response time is quick. Unfortunately, our documentation is not that great (working on it), but we have three services that accelerate discovery and routing: Seer (keeps tabs on nodes' health and offers a DNS interface as well), Gateway (a load balancer that forwards traffic to nodes it keeps tunnels with), and TNS (a replicated registry of resources: what is what). Between Seer and Gateway, the system handles resiliency. Internally, CRDT is used for replication, which: * allows nodes to still work offline or if the network gets partitioned * prevents split-brain The cons of CRDT are when it comes to orchestrating services like databases; we could end up with multiple instances of a master node, for example. This is why we plan to add a cluster mechanism that will allow the formation of dynamic clusters to facilitate the orchestration of stateful containers and VMs. For the money part, we have a managed offering, enterprise support, a web console, and are building more.
- alfonsodev 2y agoWould this be a good combo to combine with Hetzner server auctions, or just too much trouble ? or even with todays connections having a server at home ? any success stories ?
- winrid 2y agoThey only auction servers in one region
- dsamy 2y agoyes. the cool thing is with tau servers can be in different locations. looking at https://www.hetzner.com/sb/ https://www.hetzner.com/sb/: - you can build a beefy cloud for less than €150/mo! - plus you can run LLM inference (check https://github.com/ollama-cloud https://github.com/ollama-cloud) for another €150/mo per node not bad!
- joshmanders 2y agoWhat's with the vilification of kubernetes? 99% of this document (https://tau.how/99-Misc/kubernetes/01-k8s-cons/ https://tau.how/99-Misc/kubernetes/01-k8s-cons/) boils down to "You have to understand what a pod, deployment, container, etc is" once you remove every line that discusses the cons of managing a cluster yourself, because nobody actually does that except extremely large orgs. All of these problems go away when you utilize a managed offering like DOKS, EKS, AKS or GKE.
- mynameisvlad 2y agoIf your goal is to self-host your own PaaS, why would you use a managed k8s offering?
- joshmanders 2y agoWhy wouldn't you? If you decide to not use a PaaS and self host your own servers would you reach for a VPS or would you manage your own rack in a colocated data center?
- jpgvm 2y agoPrecisely, it's just about which abstraction and responsibility level you want to engage with. Managed k8s (from good vendors) means the scheduler is as far as you need to go which is enough to do a great many "self hosted" things.
- abound 2y ago"Self-hosting" doesn't necessarily mean you own the hardware. Many people self-host on cloud providers at different levels (Fly, Digital Ocean/Hetzner, GCP/Azure/AWS), and most of those have some managed K8s offering.
- anonzzzies 2y agoYeah and, as I see with my clients, you are always overpaying for that service. We run a one binary CL (save and die) cluster for $50/mo without containers that makes us millions $ profit a month. Even if it would cost $1000 (it would be far more); a) I rather give that to someone on the street b) it would be far far more busy work for no benefit. Anyone can do what they want; I like profit and I simply don’t like giving these companies money. But each their own. Tau seems the same philosophy as us, so I will add them to our sponsor list.
- memset 2y agoThis is really neat! I'm working a message queue in go (drop-in replacement for SQS) and also thinking about autoscaling. I've been playing with raft vs using a central store (ie, postgres) to coordinate. Can you tell me more about IPFS - I've never used it before. How has that been working, and can you tell me what you've observed when you have many nodes which need to coordinate?
- sneak 2y agoIPFS is slow and impractical. The design of the content addresssble system is cool, but having tried approximately annually to run it for production usage since it was released, I can say that it is still firmly in the “research project” category, a decade later.
- AgentME 2y agoThe weakest part of IPFS in my experience is how long it takes one node to find another with the requested data across the internet through the public DHTs. I imagine it might work much better in this system if they're limiting it to only do lookups and fetches within your own network of nodes.
- pdimitar 2y agoLately I've stumbled upon https://www.goqite.com/ https://www.goqite.com/ but haven't had a good use case for it yet.
- gedw99 2y agoI am using nats Jetstream with nex. It’s a self hosted Cloudflare. It uses nats Jetstream , as a work around to Nat having bog / anycast , like how Cloudflare does its magic. https://github.com/synadia-io/nex https://github.com/synadia-io/nex You have to run it on bare metal or any cloud that supports next virtualisation. I use nats Jetstream listening to git repo web hooks to deploy.
- dsamy 2y agolove NATS. tau is about the developer experience and speed of development. Integrating and maintaining nex is not something every dev can do
- taraparo 2y agoWouldn't using talos be better than having to run this on custom managed ubuntu servers?
- pdimitar 2y agoWhich Talos, can you send a link?
- taraparo 2y agohttps://www.talos.dev/ https://www.talos.dev/
- llama052 2y agoI assume https://www.talos.dev/ https://www.talos.dev/ Basically a small OS that will prop itself up and allow you to create/adopt into a Kubernetes cluster. Seems to work well from my experience and pretty easy to get set up on.
- dsamy 2y agowhy would that be?
- Ambroos 2y agoI've been reading through the docs and skipping through the one recentish YouTube tutorial trying to make sense of what this actually is. While it seems like an impressive thing for what appears to be a one-man-project, the almost complete lack of documentation makes it feel like a bit of a hard no in the current state. There seems to be a history of it being heavily linked to Web3 things that also feels weird. Some suggestions for this to be able to succeed: - Documentation, documentation, documentation, the only place where I could that the three supported ways to write a serverless function are with Go, Rust and AssemblyScript is somewhere hidden in a tutorial. It all has to compile to WebAssembly so I guess that's the limiting factor. - Examples? - Using git as source of truth for the configuration/state of a system is cool. Please link to sample repos so I can see what a system with a website, some functions that touch DB and files, and the configuration etc looks like. - How does the database part work? Client SDKs? - There are lots of protocols with unclear names that are only briefly mentioned here but then seen in random places in configuration: https://tau.how/01-getting-started/01-local-cloud/#protocols https://tau.how/01-getting-started/01-local-cloud/#protocols - The Concepts part of the documentation is buzzword soup, it's impossible to derive any meaning from it other than that the author dislikes Kubernetes and probably used some generative AI for the content. - Roadmap, plans, versioning, plans on how Tau version upgrades should go, ...
- dsamy 2y agoGreat feedback. We're working on some of these.
- breck 2y agoI love the verbiage. When I see a folder in the source named "dream", then files named "Universe" and "multiverse", it pulls me in :). I also love the single binary in Go. That's on my todo list for a few things. Well done!
- dsamy 2y agothanks! dream allows you to run tau locally and even write E2E unit tests. we always try to have cool names :)
- VyseofArcadia 2y agoI've been out of web dev for a few years, but my understanding of the appeal of serverless is that it is theoretically pay only for what you use. But if you're hosting Tau to do serverless via Tau, well, it's not really serverless anymore. You are now definitely paying for the server running the serverless infra. Why would anyone target Tau serverless, then? What am I missing?
- deleted 2y ago[deleted]
- cal85 2y agoThat’s not the only appeal of serverless. In fact it’s not even really true - I pay Vercel a flat rate every month whether I’m heavily using it or not. The appeal of serverless for me is simplicity. It abstracts the server away. Less to think about, more brain capacity focused on unique business logic.
- joshmanders 2y ago> The appeal of serverless for me is simplicity. That's interesting, because serverless is far from simple and Vercel is about the same distance from simplicity as the sun is from the edge of the observable universe.
- dsamy 2y agoas cal85 said, The appeal of serverless for me is simplicity. that said, tau will support containers and even VMs by the end of the year
- sqeaky 2y agoSelf-hosted platform as a service?! Isn't the whole point of platforms as a service (from the customer perspective) that you don't need to do the hassle of self hosting. There are pros and cons to using an external service and to self hosting. And just throwing all these words at me together makes me feel like there isn't a coherent mental model of what this is trying to be, or if there is it isn't clearly communicated. If this is some sort of CDN software or attempt at running Lambda-like code Snippets on your own distributed cluster that's cool. But a description of that would be nice. The GitHub read me jump straight into how this is just a single binary and how deploying it is easy, but not what the hell it is. CloudFlare can do like a million things, which features from cloudflare is this competing with? I just really want to know what the pros and cons of this are compared to other ways of rolling my own servers or renting out someone else's platform?
- deleted 2y ago[deleted]
- Kinrany 2y ago"Self-hostable as a service" is a common pattern because it provides the benefits of as-a-service without the threat of vendor lock-in. Plus you can run the same software in temporary or test environments.
- st3fan 2y agoWhere Vendor can also be an open source project. The cost of moving away from a project like Tau can be equally high as a closed source PaaS of course.
- rrix2 2y agoand if that cost of moving away is high enough, a team or org "locked in" to a FOSS solution can continue to pay humans to support it internally while evaluating off-ramps instead of being told they need to re-arch their cloud stack in three months' time.
- makestuff 2y ago
- turtlebits 2y agoLooks compelling, but the docs are extremely vague and full of fluff. The "Why One Binary" is hilariously bad. Almost feels like content to impress managers/recruiters. https://tau.how/02-concepts/03-one-binary/#the-genesis-of-taubytes-vision https://tau.how/02-concepts/03-one-binary/#the-genesis-of-ta...
- Ambroos 2y agoPretty much all of the docs are very clearly the output of what the typical LLM produces. It's just words, no meaning.
- mplewis 2y agoNothing like “docs by LLM” to warn you about the quality of the code you’re about to trust your entire infrastructure to.
- teruakohatu 2y agoI thought you were probably exaggerating… you were not.
- warkdarrior 2y agoBut, but,... "By emphasizing ease and simplification, Taubyte aspires to transform cloud computing into a catalyst for creativity and innovation"
- WD-42 2y agoOuch. This is llm output.
- klabb3 2y ago[flagged]
- lbltavares 2y ago"Taubyte's single binary philosophy advocates for a future where the full potential of cloud computing is unlocked through its accessibility and efficiency"
- KomoD 2y agoDon't call this a Cloudflare alternative because it simply isn't.
- TheAnkurTyagi 2y agoWhat key features make Tau a compelling self-hosted PaaS alternative?
- dsamy 2y agoeasy to deploy, built-in CI/CD, CDK and coming-up this month is spore-drive, a tool you can use to deploy and update tau on all your hosts with one command.
- sandGorgon 2y agohow is this achieving scale-up and scale-to-zero ? from my (rudimentary) investigation only knative k8s had scale-to-zero implemented well enough. and if you dont have scale-to-zero, you cant claim a vercel alternative.
- dsamy 2y agohow does k8s implement scale-to-zero?
- sandGorgon 2y agoknative
- dsamy 2y agoneither the knative controller nor the underlying kubernetes scales down to zero.
- localfirst 2y agohow does this compare to coolify and caprover already established and mature PaaS ? this is a welcome addition
- dsamy 2y agoit's developer-first, has a built in CI/CD, can do serverless, multi-hosts & scales across locations has a CDK and more. granted, it does not orchestrate containers as of today. for compute, WebAssembly (wasm) is used. but container runtime on the road-map for this year.
- trollied 2y agoAm I wrong, or all this ends up doing is round-robin DNS, which is no good for a geographic CDN?
- dsamy 2y agoright now, that is true. Seer (the dns service) returns all nodes that register with it, regardless of location. That said, we're working in adding advanced logic there that will: - take location into consideration - allows the execution of wasm code (we call smartops) to define custom logic
- kachapopopow 2y agoIsn't the entire point of vercel/netlify/cloudflare is that you *don't* have to self-host? The issue is the price of it, not the actual software. Waking up to a 10k vercel bill is pretty common, especially when a DDoS goes undetected. That 10k bill is roughly $50 dedi from hetzner, but the problem with that is that you need a distributed system, for that you need something more advanced that tau, let's say kubernetes, then you need multi-site storage ok so ceph and then you realize you need a degree in openssh and bluestack to continue on and realize that the hassle from all of that and instead just hire a sysops employee that costs 10k a month and spend $1000+/month on hardware for geo-distribution. Take this from personal experience. I've personally seen someone go k8s with very little experience and their general consensus was that they just want to go "managed" hosting instead. Still better than 10k bill once your app becomes large enough, but it's simply not something devs that just want to get something out there want to bother with. In the end even with the insane hosting costs compared to the revenue they bring in is tiny. $10/month service user only racks in around $1 of api usage a month, heavily depends on the app though.
- j45 2y agoThe point of the first two seems to be to host static files at the least, and in the case of cloudflare, cache existing hosting for the most part.
- kachapopopow 2y agotalking about cloudflare workers here
- nstart 2y ago> Isn't the entire point of vercel/netlify/cloudflare is that you don't have to self-host? No. There are two pieces to those platforms. The first is a platform that supports git commit as a deploy method out of the box. That’s the big one. The second is auto scaling. That’s where not having to self host is actually a big deal. But that’s also where the bills come. A lot of smaller builders are right now looking to have the same deploy experience but on their own cheap hetzner/DO server without crazy bandwidth and scaling bills that they can get hit with the moment they let their guard down. A decent sized player in this field right now is Coolify. They offer a hosted version of their PaaS but without the servers. So the PaaS part itself, coolify, is managed by them but it deploys to hardware that you control. The existence and usage of this plan is evidence of the needs of this market imo.
- AnnaMere 2y agoMissing SHOW HN: ?
- lagrange77 2y agoIs the advantage of this, that you only have to keep the one binary up to date, in contrast to e.g. a host with docker-compose and the containers therein?
- dsamy 2y agoyes. tau will take care of versioning your deployed code just like git does. internally even the registry is versioned using branches and commits.
- bionhoward 2y agoTau’s ability to self host platforms could be a huge boon to regulated industries because it avoids sending data and exposing connections. Great idea, keep it up! Right now as I understand it, if you want to connect Vercel securely to a database with more than a password, you need to “contact sales” about “enterprise” (no self service option for demos and MVPs) Might be a tech issue but imho needing to contact sales about enterprise level deals just for basic security stuff is not the best move since it forces people to expose their stuff or wait around and pay a bunch of money. Dunno about you guys but I don’t ever click “contact sales” I just go to something else where my dev work isn’t gated by salespeople (even if it’s significantly more complicated) and I say this as a big proponent of Vercel, I wish I could use it more, but expecting users to wait around for sales to invoice them just to have a secure database connection is a dealbreaker for my use case regardless of my opinions or preferences of liking their stuff. Sources [1] https://github.com/orgs/vercel/discussions/42 https://github.com/orgs/vercel/discussions/42 [2] https://github.com/orgs/vercel/discussions/7323 https://github.com/orgs/vercel/discussions/7323 [3] https://archive.ph/fQwMz https://archive.ph/fQwMz
- slillibri 2y agoIf it’s a single binary why is there an installer, and why does it need to be curl-piped to sh? Looking at the installer script, why does it create directories in the root dir, instead of /opt or /usr/local? Also, I couldn’t find the install script in the linked repo.
- dsamy 2y agothe script downloads the latest release. it's still one binary you can deploy yourself or compile with `go build`. the script is really there to automate some steps. next release a new tool `spore-drive` will allow to deploy all your nodes running one command. for the `/tb` folder, I see your point, i would love to discuss it further if you can open an issue on github.