Sunday, August 20, 2023

Saturday, August 19, 2023

Show HN: Rivet (YC W23) – Open-Source Game Server Management with Nomad and Rust https://ift.tt/sx598LT

Show HN: Rivet (YC W23) – Open-Source Game Server Management with Nomad and Rust Hey HN! Rivet is an OSS game server management tool that enables game developers to easily deploy their dedicated servers without any infra experience. We recently open-sourced Rivet after working on it for the past couple of years. I wanted to share some of my favorite things about our experience building this with the HN community. My cofounder and I have been building multiplayer games together since middle school for fun (and not much profit [1]). In HS, I stumbled into building the entire infrastructure powering [Krunker.io]( http://Krunker.io ) (acq by FRVR) & other popular multiplayer web games. After wasting months rebuilding dedicated server infrastructure + DDoS/bot mitigation over and over, we started building Rivet as a side project. Some interesting tidbits: - ~99% Rust and a smidgeon of Lua. - Bolt [2] – Cluster dev & management toolchain for super configurable self-hosted Rivet clusters. It’s way over-engineered. - The entire repo is usable as a library. Our EE repo uses OSS as a submodule. - Traefik used as an edge proxy for low-latency UDP, TCP+TLS, & WSS traffic. - Apache Traffic Server is under-appreciated as a large file cache. Used as an edge Docker pull-through cache to improve cold starts & as a CDN cache to lower our S3 bill. - ClickHouse used for analytics & game server logs. It’s so simple, I have nothing more to say. - Serving Docker images with Apache TS is simpler & cheaper than running a Docker pull-through cache. - Nebula has been rock solid & easy to operate as our overlay network. - We use Redis Lua scripts for complex, atomic, in-memory operations. - Obviously, we love Nix. - We keep a rough SBOM [3]. - Licensed under Apache 2.0 (OSI-approved). We seriously want people to run & tinker with Rivet themselves. We get a lot of questions about this: [4] [5] Some HN-flavored FAQ: > Why not build on top of Agones or Kubernetes? Nomad is simpler & more flexible than Agones/Kubernetes out of the box, which let us get up and running faster. For example, Nomad natively supports multiple task drivers, edge workloads, and runs as a standalone binary. > [Fly.io]( http://Fly.io ) migrated off of Nomad, how will you scale? Nomad can support 2M containers [6]. Some quick math: avg 8 players per lobby * 2M lobbies * 8 regional clusters = ~128M CCU. That’s well above PUBG’s 3.2m CCU peak. Roblox’s game servers also run on top of Nomad [7]. We’re in good company. > Are you affected by the recent Nomad BSL relicensing [8]? Maybe, see [9]. > How do you compare to $X? Our core goal is to get developers up and running as fast as possible. We provide extra services like our matchmaker [10], CDN [11], and KV [12] to make shipping a fully-fledged multiplayer game require only a couple of lines of code. No other project provides a comparably accessible, OSS, and comprehensive game server manager. > Do you handle networking logic? No. We work with existing tools like FishNet, Mirror, NGO, Unreal & Godot replication, and anything else you can run in Docker. > Is anyone actually using this? Yes, we’ve been running in closed beta since Jan ‘22 and currently support millions of MAU across many titles. [1]: https://ift.tt/uQN5eZ6 [2]: https://ift.tt/0B9u5PY... [3]: https://ift.tt/YBVpiX1... [4]: https://ift.tt/3Jzs7hZ... [5]: https://ift.tt/3Jzs7hZ... [6]: https://ift.tt/3ceU4Qr [7]: https://ift.tt/Hy352uf [8]: https://ift.tt/bJ8S0dy... [9]: https://ift.tt/hFBMZ3g [10]: https://ift.tt/3Sln7F2 [11]: https://ift.tt/f0ELj4W [12]: https://ift.tt/M23vu7o https://ift.tt/5LkcHnF August 19, 2023 at 07:08PM

Show HN: A simple, open-source Notion-like avatar generator https://ift.tt/gzxLnb6

Show HN: A simple, open-source Notion-like avatar generator https://ift.tt/FtBvcWD August 19, 2023 at 06:02PM

Show HN: AI that summarize news and analyze potential stock impact https://ift.tt/c6LlH1M

Show HN: AI that summarize news and analyze potential stock impact Hi Everyone, I was frustrated with the terrible news reading experience (Paywall, advertisements) so I created a free tool that summarizes the latest news articles and analyzes the potential stock impacts. This experiment has saved me so much time to help me understand what might be more important than others. It's completely free, no ad whatsoever. However, AI is a blackbox so take the rating (positive, negative, long-term, and short-term impact) with a grain of salt. It may have picked up some nuances within the article to give a rating and you might not agree with it. Please let me know if you have any feedback! https://ift.tt/IF0ym41 August 19, 2023 at 03:15AM

Show HN: A Mastodon bot that writes poems about AWS status updates https://ift.tt/TGbvIqk

Show HN: A Mastodon bot that writes poems about AWS status updates https://ift.tt/VAOvdTb August 19, 2023 at 08:48AM

Show HN: Saf – simple, reliable, rsync-based, battle tested, rounded backup https://ift.tt/c1Rh9In

Show HN: Saf – simple, reliable, rsync-based, battle tested, rounded backup I had this backup code working reliably for years, using local file system, vps/dedicated server, or remote storage for backup, then I finally get time to wrap README, iron few missing switches and publish. Should be production ready and reliable, so it could be useful to others. Contributors are welcome. < https://github.com/dusanx/saf > https://ift.tt/ujJvmqd August 19, 2023 at 02:49AM

Show HN: This project allows you to easily implement parallel training https://ift.tt/7UOedF2

Show HN: This project allows you to easily implement parallel training https://ift.tt/jPvQMqo August 18, 2023 at 05:31PM

Show HN: Anti-Cluely – Detect virtual devices and cheating tools on exam systems https://ift.tt/onuTQWR

Show HN: Anti-Cluely – Detect virtual devices and cheating tools on exam systems Anti-Cluely is a lightweight tool designed to detect common...