News for hackers. Stuff that matters.
Re:We handle 80TB and 5M page views a month for under $400 by razemio on Thursday January 06, 2022 @02:13AM (#29820381)
This! Hetzner root servers, there is nothing else I know on the market that comes close in price/power ratio when you use the "Serverbörse". I run multiple low traffic websites, databases and a heavy traffic elk instance + my complete homelab in proxmox / docker for 48€ a month and there is even room for more. Highly recommended!
Re:We handle 80TB and 5M page views a month for under $400 by SergeAx on Thursday January 06, 2022 @02:33AM (#29820503)
What is your strategy for dealing with server failure?
Re:We handle 80TB and 5M page views a month for under $400 by mad182 on Thursday January 06, 2022 @02:55AM (#29820641)
My app allows for "share nothing" architecture, basically using multiple DNS A records as load balancing. Currently it has 6 servers.

Even if 5 of them would go down at the same time, the site would still work as intended (thought probably couldn't handle peak load with less than 3 or 4). If one of or two are down, nothing happens.

Also completely reinstalling a server takes around an hour.

Re:We handle 80TB and 5M page views a month for under $400 by SergeAx on Thursday January 06, 2022 @05:11AM (#29821647)
Yes, but comment I was replying to mentioned a 48 euro budget, it is a price of a single server.
Re:We handle 80TB and 5M page views a month for under $400 by razemio on Friday January 07, 2022 @01:45AM (#29835830)
I do not have an HA setup BUT all of my proxmox vms are snapshot backuped by proxmox backup server every night to my home NAS and to my office NAS. You can use one of many storage providers. SSHFS also works. This is the cheapest and lowest administration solution I used till today. For production usage I would recommend 3-4 similar speced 28€ machines and run a replicated proxmox cluster or ceph proxmox cluster.
Re:We handle 80TB and 5M page views a month for under $400 by heipei on Thursday January 06, 2022 @04:52AM (#29821454)
As long as you treat servers as cattle, you can use Hetzner's own load balancer service and then you don't have a SPOF that you manage yourself. Their LBs are advertised as redundant / fault tolerant.
Re:We handle 80TB and 5M page views a month for under $400 by SergeAx on Thursday January 06, 2022 @05:10AM (#29821642)
I don't know if it is possible to treat "Serverbörse" servers as cattle. They are all different. I know that k8s and Docker Swarm could in theory balance load between different machines, but never tried it in practice. But I had in practice some weird glitches with different CPU/motherboards/memory.

Also, comment I was replying to mentioned a 48 euro budget, it is a price of a single server.

Re:We handle 80TB and 5M page views a month for under $400 by hansel_der on Thursday January 06, 2022 @07:26AM (#29822693)
i think the whole point of vm/container is to enable "servers as cattle"
Re:We handle 80TB and 5M page views a month for under $400 by SergeAx on Thursday January 06, 2022 @07:38AM (#29822808)
Yes, but "Serverbörse" machines are very non-uniform, which may be bad for load balancing. See yourself: https://www.hetzner.com/sb
Re:We handle 80TB and 5M page views a month for under $400 by halilduygulu on Thursday January 06, 2022 @08:50AM (#29823485)
Still you can get a nice server with i7 cpu 32gb memory with 20tb traffic for ~28 euro, vat incl. This is super competitive even with DO or others.
Re:We handle 80TB and 5M page views a month for under $400 by hansel_der on Sunday January 09, 2022 @04:59AM (#29861925)
yes, it may be bad for indiscriminate/dumb load balancing. then again this only works in the firstplace if the work units represent a somewhat equivalent and small-ish workload.

once you place value on determinism (in regards to time spent on a task) you want a tightly specced distribution mechanism and/or a feedback loop to communicate busystate back to the LB.

Re:We handle 80TB and 5M page views a month for under $400 by withinboredom on Thursday January 06, 2022 @09:32AM (#29823939)
I have 3 servers, 2/3 don't have hardware timestamping on the interface, 1 does. Makes a huge difference when it comes to NTP.
Re:We handle 80TB and 5M page views a month for under $400 by csdvrx on Thursday January 06, 2022 @06:09PM (#29831925)
Which hetzner server have hardware timestamping on the interface?

I'd be really interested to know, since to the best of my knowledge, they don't have PTP solutions in their datacenter.

Re:We handle 80TB and 5M page views a month for under $400 by withinboredom on Thursday January 06, 2022 @06:49PM (#29832436)
I have two of the AX41-NVMe, and only one was lucky enough to get a "Intel Corporation I210 Gigabit Network Connection (rev 03)" which has the hardware timestamping.

In the finland datacenter, it appears there is a PTP running, though the offset is ~2.33 seconds off from NTP. Chrony says its a false-ticker, but I haven't really figured out how to get it configured correctly nor have I asked Hetzner for help. I've mostly just played around with it.

I did manage to also accidentally discover a local ISP's stratum 1's server is extremely close to me, as in a few microseconds away (I accidentally put hetzner's servers as a pool instead of a server and my NTP 'discovered' the stratum 1) ... I'm not using it, but I've thought about reaching out to them to ask if I can use it if I'm very nice.

Re:We handle 80TB and 5M page views a month for under $400 by csdvrx on Thursday January 06, 2022 @08:13PM (#29833314)
Would you care to share the IPs? (both for the Hetzner PTP one and the local ISP stratum 1)

Is the 2.33s stable? If so, after deducing the stable offset, it could still be valuable.

Re:We handle 80TB and 5M page views a month for under $400 by withinboredom on Friday January 07, 2022 @03:20AM (#29836458)
`/dev/ptp0` and `/dev/pps0` magically showed up and yeah, it appears to be stable. Chrony actually has it marked as a non-false ticker atm and is marked as a backup. Here's the stats:

  Name/IP Address            NP  NR  Span  Frequency  Freq Skew  Offset  Std Dev
  ==============================================================================
  PPS                        64  40   67m     -6.827     33.059    -72ms    99ms
  PTP                         6   3    20     -9.585      0.005   -119ms    10ns
  192.168.100.1               6   3   88h     -0.159      0.000    -12ms  3815ns
  192.168.100.2               6   3   29h     -0.176      0.299    -11ms  2817us
  ntp1.hetzner.de            14  10  154m     -0.003      0.006    -47us    12us
  ntp2.hetzner.de            11   6  103m     -0.001      0.005    -21us  5711ns
  ntp3.hetzner.de             9   6  137m     -0.006      0.007    -72us  8949ns
I don't feel great about sharing the discovered stratum 1's on the open internet, but my email address is in my profile.
Re:We handle 80TB and 5M page views a month for under $400 by ornornor on Thursday January 06, 2022 @03:14AM (#29820755)
That sounds very cool, did you happen to write about it? I currently run all this at home using a dedicated computer but electricity here isn’t cheap and I’d like to move everything to proxmox (although I’m struggling to figure out how to move all these more or less manually set up docker compose services and lxc containers)