Live data from Hacker News

My manager spent $1M on a backup server that I never used

blog.dijit.sh

81–90 of 244 posts

Re: My manager spent $1M on a backup server that I never used

#81

Earlier quoted context omitted.

It definitely can do this, though obviously it can details wrong here and there. For example: Describe what this code does in clear english: from datetime import datetime import pytz utcmoment_naive = datetime.utcnow() utcmoment = utcmoment_naive.replace(tzinfo=pytz.utc) # print "utcmoment_naive: {0}".format(utcmoment_naive) # python 2 print("utcmoment_naive: {0}".format(utcmoment_naive)) print("utcmoment: {0}".forma…

So you’re telling me if one writes a plug-in that integrates with source control checkins and provides these summaries plus an additional terser summary to nontechnical users, I wonder if companies would buy that?

The obvious problem with this is that you'd be sending all your (presumably proprietary) source code directly to ChatGPT, i.e. OpenAI, i.e. Microsoft, with a dubiously vague license to use it to improve the ChatGPT product.

I can't think of a single company I or someone I know has worked at that has a security department/person that would allow this. Maybe very small businesses wouldn't care that much?

Re: My manager spent $1M on a backup server that I never used

#82
> Data Consistency as a Requirement

Probably only sort of consistent, I imagine? Game servers tend not to support seamless failover. If the server crashes at the wrong moment, data is going to be lost, regardless of how politely behaved the data backend is.

That is, if you kill a boss and successfully pick up an item, you know it'll be saved to DB. If the game crashes before you can pick it up, it's probably just gone.

Re: My manager spent $1M on a backup server that I never used

#83
post #8

My manager doesn't do almost anything. I wonder why they keep him around. He has like two reports and we're both fully self-directed. He can't understand technical issues, and whenever he proposes something, it's completely untenable due to his lack of understanding what's useful or possible.

It is definitely possible they indeed don't do anything. Fwiw though - a decade ago when I was a sysadmin I had a manager that I was certain never did anything. And then he was replaced. And then... We realized how much politics, uncertainty, churn, screaming, changing requirements, ambiguous priorities and other carp he protected us from :-/ Not saying it's the case with your manager. But managers have duties roles…

Gotta agree with this

Enabling people to be fully self directed and successful is a rare skill. Often it is done by diminishing their own importance; putting you on a good path and then getting out of your way; and giving you all the glory

For many, they could be a dream manager ;)

Re: My manager spent $1M on a backup server that I never used

#84
post #80
post #44

> and begin real investigation you will quickly find that many databases that are popular are totally fine losing data. MongoDB being the most famous example that I can think off of the top of my head. Always pisses me off. University teaches the principles of ACID and how hard databases work to adhere to these principles, and then so called "NoSQL" comes along and says "lol we have eventual consistency".

> Always pisses me off. University teaches the principles of ACID and how hard databases work to adhere to these principles, and then so called "NoSQL" comes along and says "lol we have eventual consistency". 99% of the organisations that pride themselves on using "real databases" and ACID aren't actually using those guarantees or gaining anything out of them. Transactions are inherently useless in a web service, for…

> the part of the system where the vast majority of consistency issues happen

This is survivorship bias: the reason the vast majority of consistency issues happen between the client and the server is _because_ the server can eliminate issues on its side with transactions and similar.

Re: My manager spent $1M on a backup server that I never used

#85
post #8

My manager doesn't do almost anything. I wonder why they keep him around. He has like two reports and we're both fully self-directed. He can't understand technical issues, and whenever he proposes something, it's completely untenable due to his lack of understanding what's useful or possible.

It is definitely possible they indeed don't do anything. Fwiw though - a decade ago when I was a sysadmin I had a manager that I was certain never did anything. And then he was replaced. And then... We realized how much politics, uncertainty, churn, screaming, changing requirements, ambiguous priorities and other carp he protected us from :-/ Not saying it's the case with your manager. But managers have duties roles…

And a lot of that stuff is inevitable at larger companies, so you either go your own way or be prepared to deal with it as part of your job requirements without a manager shielding you.

Re: My manager spent $1M on a backup server that I never used

#86

> Data Consistency as a Requirement Probably only sort of consistent, I imagine? Game servers tend not to support seamless failover. If the server crashes at the wrong moment, data is going to be lost, regardless of how politely behaved the data backend is. That is, if you kill a boss and successfully pick up an item, you know it'll be saved to DB. If the game crashes before you can pick it up, it's probably just gon…

the way we had it working was local storage (sqlite) and remote storage (postgresql with a middleware).

If you pick something up it flags as an “interesting event” and syncs your profile to local storage- on game server crash, there would be a crash collector which syncs the local database with the remote one and removes the lock - meaning you can join a working server.

The crash collector also did things like… well, collect the crash dump and send it for debugging.

But thats roughly how it worked.

Re: My manager spent $1M on a backup server that I never used

#87
post #52

The implied notion that the manager really had no idea what they actually wanted, or at the very least were unable to sensibly describe the requirements, is entirely believable, but from a systems development perspective nothing in this article makes any sense.

Care to elaborate?

Well, spending 3 months proving that MySQL can reliably store data raised an eyebrow. I mean, we are talking about gamer profiles here. Worrying about whether or not the log is on the same volume as the table really seems like a bit much in that context. Even worrying about fsync is honestly questionable.

Re: My manager spent $1M on a backup server that I never used

#88
post #8

My manager doesn't do almost anything. I wonder why they keep him around. He has like two reports and we're both fully self-directed. He can't understand technical issues, and whenever he proposes something, it's completely untenable due to his lack of understanding what's useful or possible.

If you think your manager doesn't do anything he's probably one of the good ones. Possibly not one of the great ones. But still, often one of the best things those who manage can do is get out of the way and allow their reports to do their jobs properly.

Re: My manager spent $1M on a backup server that I never used

#89
> The games industry is weird: It simultaneously lags behind the rest of the tech industry by half-a-decade in some areas and yet it can be years ahead in others.

I'd love to see examples of "ahead" coz I literally never saw it. Game dev studios act like automated testing is a new thing...

> PostgresSQL performed much better and had the additional benefit of being able to cleanly split write-ahead logs (which are largely sequential) and data to separate RAID devices. Something that MySQL doesn’t really support and would have to be hacked in using Symlinks on every table create.

It's funny that you can guess that it this happened good few years ago purely because the solution to above wasn't just "slap a NVMe on it"

>I tested this and ordered the storage I would need to have a rolling 90 day window of backups (with older backups being taken off-site)..

>The hardware request was rejected.

> When I inquired as to why, I was told that Ubisoft has a standard backup solution which is replicated globally and sent to cold storage in a bank vault somewhere in Paris. I was told this is because we had lost some source code once upon a time and we could no longer build certain games because of that.

My first thought was "why not just ship pg backups + wal logs there" and just a full backup from time to time. No read-back needed.

The whole problem seems to be "the admin overengineered solution without knowing the constraint, then tried to headbutt the constraints instead of changing approach

> Our EMC DataDomain system was optimised primarily for ingesting huge volumes of traffic, but if we want incremental backups then perhaps we needed a something a little more dynamic.

Nope, your incremental approach sucked. Majority of software that I've seen used to do incremental backups could generate incrementals on its own, without any readback from server.

The minority *was software that wholly managed backups*, so it was prepared for that, and often it was just "read metadata from database" instead of actual data.

> I don’t know what else to take away from this.

That people use tapes for backups so ? To get your requirements before implementing solution ? To find better solution when requirements are known ? To not get stuck in initial idea.

Literally the basic, recommended way of doing PostgreSQL backups with no extra software would work.

Re: My manager spent $1M on a backup server that I never used

#90

Earlier quoted context omitted.

So you’re telling me if one writes a plug-in that integrates with source control checkins and provides these summaries plus an additional terser summary to nontechnical users, I wonder if companies would buy that?

The obvious problem with this is that you'd be sending all your (presumably proprietary) source code directly to ChatGPT, i.e. OpenAI, i.e. Microsoft, with a dubiously vague license to use it to improve the ChatGPT product. I can't think of a single company I or someone I know has worked at that has a security department/person that would allow this. Maybe very small businesses wouldn't care that much?

Obfuscate the code, send to ChatGPT, then find replace the strange names in the summary with the normal ones ;)
Post reply on HN