-1 points

Server less DBs ftw

permalink
report
reply
13 points

Serverless just means that the user doesn’t manage the capacity by themselves. This scenario can happen easily if the serverless provider is as incompetent as the Toyota admins.

permalink
report
parent
reply
7 points

Serverless means you don’t have control over it yourself when something goes wrong, so you can’t fix it yourself.

permalink
report
parent
reply
63 points

I blame lean philosophy. Keeping spare parts and redundancy is expensive so definitely don’t do it…which is just rolling the dice until it comes up snake eyes and your plant shuts down.

It’s the “save 5% yearly and stop trying to avoid a daily 5% chance of disaster”

Over prepared is silly, but so is under prepared.

They were under prepared.

permalink
report
reply
50 points

Lean philosophy is supposed to account for those dice-rolling moments. It’s not just “keep nothing in inventory”, there is supposed to be risk assessment involved.

The problem is that leadership doesn’t interpret it that way and just sees “minimizing inventory increases profit!”

permalink
report
parent
reply
7 points
*

In my own impression from the side of software engineering (i.e. the whole discipline rather than just “coding”) this kind of thing is pretty common:

  • Start with ad-hoc software development with lots of confusion, redundancy, inneficient “we’ll figure it out as when we get there” and so on.
  • To improve on this somebody really thinks things through and eventually a software development process emerges, something like Agile.
  • There are lots of good reasons for every part of this processes but naturally sometimes the conditions are not met and certain parts are not suitable for use: the whole process is not and can never be a one size fits all silver bullet because it’s way to complex and vast a discipline for that (if it wasn’t you wouldn’t need a process to do it with even the minimum of efficency).
  • However most people using it aren’t the “grand thinkers” of software engineering - software architect level types with tons of experience and who thus have seen quite a lot and know why certain elements of a process are as they are, and hence when to use them and when not to use them - and instead they’re run-of-the-mill, far more junior software designers and developers, as well as people from the management side of things trying to organise a tech-heavy process.

So you end up with what is an excellent process when used by people who know that each part tries to achieve, what’s the point of that and when is it actually applicable, being used by people who have no such experience and understanding of software development processes and just use it as one big recipe, blindly following it with no real understanding and hence often using it incorrectly.

For example, you see tons of situations where the short development cycles of Agile (aka sprints) and use cases are used without the crucial element which is actually envolving the end-users or stakeholders in the definition of the use cases, evaluation of results and even prioritization of what to do in the next sprint, so one of the crucial objectives of use cases - the discovery of the requirement details by interactive cycles with end-users where they quickly see some results and you use their feedback to fine-tune what gets done to match what they actually need (rather than the vague very high level idea they themselves have at the start of the project) is not at all achieve and instead they’re little more than small project milestones that in the old days would just be entries in Microsoft Manager or some tool like that.

This is IMHO the “problem” with any advanced systematic process in a complex domain: it’s excellent in the hands of those who have enough experience and understanding of concerns at all levels to use it but they’re generally either used by people without that experience (often because managers don’t even recognize the value of that experience until things unexpectedly blow up) or by actual managers whose experience might be vast but is actuallly in a parallel track that’s not really about dealing with the kinds of technical concerns that the process is designed to account for.

permalink
report
parent
reply
3 points
*

it’s excellent in the hands of those who have enough experience and understanding of concerns at all levels to use it but they’re generally either used by people without that experience

You’re just saying that skilled people can do stuff better than unskilled people. This is hardly a software engineering issue. It is common in all aspects of life

The difference with software engineering is that the field is still relatively young enough to not have figured out a working model or sets of working models (unlike farming, for example, or finance).This field is realistically 30 years old during which it continuously evolves and redefines itself so it’s still not going to produce good working models.

Agile, since you picked on it, is very difficult to implement because it specifically relies on engineering figuring out how to work and how to deliver. It’s really not a model at all. It’s just a set of guidelines meant to create the environment in which the figuring out happens. It’s no wonder that it only works when people have the ability to figure it out.

permalink
report
parent
reply
9 points

The problem is that leadership doesn’t interpret it that way and just sees “minimizing inventory increases profit!”

Yep. Managers prioritize short-term gains (often personal gains, too) over the overall health of a business.

There’s also industries where the “lean” strategy is inappropriate because the given industry is one that booms in times of crisis when logistics to get “just in time” supplies go kaput due to the same catastrophe that’s causing the industry to boom. Hospitals and clinics can end up in trouble like this.

But there’s other industries too–I haven’t looked for it, but I’m sure there’s a plethora of analysis already on what Covid did to companies and their supply chains.

permalink
report
parent
reply
1 point

Why would they prioritize long term gains? Their next review is only ever at most 6 months away and they’re either low-mid level and fighting for their lives every day or they’re upper mgmt and can always dump stick and YOLO out, potentially with a golden parachute.

permalink
report
parent
reply
28 points

I work in a manufacturing company that was owned by the founder for 50 years until about 4 years ago when he retired. He disagreed with a lot of the ideas behind lean manufacturing so we had like 5 years worth of inventory sitting in our warehouse.

When the new management came in, there was a lot of squawking about inefficiency, how wasteful it was to keep so much raw material on the shelf, and how we absolutely needed to sell it off or get rid of it.

Then a funny little thing happened in 2020.

Suddenly, we were the only company in our industry still churning out product. Other companies were calling us, desperate to buy our products or even just our raw material. We saw MASSIVE growth the next two years and came out of the pandemic better than ever. And it was mostly thanks to the old owners view that “Just In Time” manufacturing was BS.

permalink
report
parent
reply
3 points

Cool story, but a once every 150 years pandemic is hardly a good reason to keep wasting money on storing stuff. A fire or a flood was much more likely to wipe it all out in 50 years.

Even in your anecdote the owner never actually benefited from the extra costs.

Depending on what you’re producing costs to maintain extra inventory of raw materials can be massive and for the company the size of Toyota, multiply that by million.

permalink
report
parent
reply
12 points

You’re not wrong, but the real answer is somewhere in between.

permalink
report
parent
reply
2 points

Even in your anecdote the owner never actually benefited from the extra costs.

Imagine doing something or having a life/business philosophy that doesn’t exist for your own soul benefit, and exists maybe for the benefit of others.

permalink
report
parent
reply
0 points

Oh man. I work for an OEM and have almost the same story except the CEO didn’t retire so our shelves were never bare. A large part of our sales last year was because our competition couldn’t source parts and we could. Also since they have a skeleton engineering crew they couldn’t figure out how to improvise (at least this is what our salespeople are claiming).

2022 I spent 3 hours a day, every single working day, just making ECNs for parts out of stock.

Lean JIT is such fucking crap. When a customer line goes down they are bleeding who knows how many millions a day. They want a solution right freaken now. So they call the OEM and we tell them that part that died we have right here on the shelf and we can overnight it.

But you know how you really know that JIT Evengelical types are full of it? Talk to any of them now and they won’t say something like “look, normally it works but no one could have predicted this” they will double down on it and say it works but was implement incorrectly. It isnt “true” JIT.

Many years ago I read a sentence that I use every single week of my life “all ideology can do is reassert itself endlessly”. When I hear crap like that, how X works if and only if it is true-X I know I am dealing with ideology. When I hear that X works under very specific situations and only gives specific results I know I am dealing with facts. Yes if the customer is never in a rush, there isn’t a world shaking event, and you are running out of capacity for storage JIT might be an answer.

permalink
report
parent
reply
175 points

Sysadmin pro tip: Keep a 1-10GB file of random data named DELETEME on your data drives. Then if this happens you can get some quick breathing room to fix things.

Also, set up alerts for disk space.

permalink
report
reply
88 points
Removed by mod
permalink
report
parent
reply
20 points

Yes, alert me when disk space is about to run out so I can ask for a massive raise and quit my job when they dont give it to me.

Then when TSHTF they pay me to come back.

permalink
report
parent
reply
1 point

That high hourly rate is really satisfying, I guess…not been there.

permalink
report
parent
reply
15 points

A lot of companies have minimal alerting or no alerting at all. It’s kind of wild. I literally have better alerting in my home setup than many companies do lol

permalink
report
parent
reply
2 points

It’s certainly cheaper to not have any but it will limit growth substantially

permalink
report
parent
reply
30 points

Why not both? Alerting to find issues quickly, a bit of extra storage so you have more options available in case of an outage, and maybe some redundancy for good measure.

permalink
report
parent
reply
14 points

A system this critical is on a SAN, if you’re properly alerting adding a bit more storage space is a 5 minute task.

It should also have a DR solution, yes.

permalink
report
parent
reply
9 points

There’s cases where disk fills up quicker than one can reasonably react, even if alerts are in place. And sometimes culprit is something you can’t just go and kill.

permalink
report
parent
reply
-1 points

Had an issue like that a few years back. A stand alone device that was filling up quickly. The poorly designed device could only be flushed via USB sticks. I told them that they had to do it weekly. Guess what they didn’t do. Looking back I should have made it alarm and flash once a week on a timer.

permalink
report
parent
reply
4 points

And sometimes culprit is something you can’t just go and kill.

That’s what the Yakuza is for.

permalink
report
parent
reply
29 points
*

10GB is nothing in an enterprise datastore housing PBs of data. 10GB is nothing for my 80TB homelab!

permalink
report
parent
reply
28 points

It not going to bring the service online, but it will prevent a full disk from letting you do other things. In some cases SSH won’t work with a full disk.

permalink
report
parent
reply
29 points

It’s all fun and games until tab autocomplete stops working because of disk space

permalink
report
parent
reply
11 points

It’s nothing for my homework folder.

permalink
report
parent
reply
3 points

That’s an incredible collection of homework!

permalink
report
parent
reply
8 points

Or make the file a little larger and wait until you’re up for a promotion…

permalink
report
parent
reply
8 points

500Gb maybe.

permalink
report
parent
reply
54 points

The real pro tip is to segregate the core system and anything on your system that eats up disk space into separate partitions, along with alerting, log rotation, etc. And also to not have a single point of failure in general. Hard to say exact what went wrong w/ Toyota but they probably could have planned better for it in a general way.

permalink
report
parent
reply
31 points
*

Even better, cron job every 5 mins and if total remaining space falls to 5% auto delete the file and send a message to sys admin

permalink
report
parent
reply
3 points

At that point just set the limit a few gig higher and don’t have the decoy file at all

permalink
report
parent
reply
4 points

Also, if space starts decreasing much more rapidly than normal.

permalink
report
parent
reply
21 points

Sends a message and gets the services ready for potential shutdown. Or implements a rate limit to keep the service available but degraded.

permalink
report
parent
reply
3 points

Search for non system files older than 2020 and lmza zip archive that shit stat!

permalink
report
reply
4 points

You have now archived the encryption keys. Nothing can communicate and everything begins failing.

permalink
report
parent
reply
4 points

Ctrl+z?

permalink
report
parent
reply
33 points

Idiots, they ought to have switched to tabs for indenting. Everybody knows that.

permalink
report
reply
4 points
*
Deleted by creator
permalink
report
parent
reply
1 point

Jokes aside, this got me thinking, is there actual difference in term of file size?

permalink
report
parent
reply
4 points
*
Deleted by creator
permalink
report
parent
reply

Technology

!technology@lemmy.world

Create post

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


Community stats

  • 18K

    Monthly active users

  • 12K

    Posts

  • 553K

    Comments