A quick update: I’ll be heads down, brain elsewhere for another month, at least. Here’s a diagram I whipped together that illustrates a tiny piece of the puzzle we’re trying to work on. SLA = Service Level Agreement. The names of these “things” are nothing you’ve probably run into, but they’re substantial parts of my coding universe now.
I’m with Sam. The order entry page shouldn’t advance with bad or missing data. The old school insurance company data input would trudge on ahead with bad data. Now, if the post office ping doesn’t add up or a generic model VIN is used it will stall until it’s happy. No vendor code? No order. No supplier code? No order. Dyslexic order entry clerk? Stall. It should also be smart enough that if the qty is outside of history a verification is triggered. I can’t tell you how many times something stupid like 12 mic stands turning into 12 dozen mic stands because the sales coordinator just had her nails done.
LikeLiked by 1 person
All the red was my way of pointing out that this multi-step order update is fraught. And that we should be allowed to use an atomic transaction to hit the mongodb directly. Eliminate all but one of the failure states.
We’ll see what they say.
Failure must be expected. Contingency wrapped in retries with alarms when the thing throws up its hands is the goal.
LikeLiked by 1 person
Eeek!
LikeLiked by 1 person
There’s a lot of failures written into this diagram. You have to change your mindset, or else you will fail.
LikeLiked by 1 person
Planning for failure is the key to success.
LikeLiked by 1 person
Looks like an interesting project. Good luck with it!
LikeLiked by 1 person
You’re going to get in HUGE trouble. You’re not supposed to say mongo anymore!!! 😀
LikeLiked by 1 person
What? Really? Am I gonna have to go look that word up? All I’ve ever heard of it was this javascript database.
Oh, you had me going there for a minute. (It’s got quite the varied etymological history.)
LikeLiked by 1 person
Really? I thought everyone knew that word. When I was a child two of the choice insults were mongo and retard, meaning the same thing.
LikeLiked by 1 person
Oh, right, mongoloid, due to the epicanthic eyelid. OK, well, I never used that variation, but I can see how it might have been used.
LikeLiked by 1 person
They used to say “rebo” in NY but I’m not sure why.
LikeLiked by 2 people
“rebo
a combination of the words retard and boce, a New York State term for a person of inferior academic ability who takes the short bus to B.O.C.E.S. for special ed classes; synonymous with botard”
LikeLiked by 2 people
Aw people are so mean 😞 I wonder how they’d feel someday if it were their kid.
LikeLiked by 2 people
Kids are cruel. Adults should know better.
(We used to tease our kids they’d have to take the short bus… shameful, I know.)
LikeLiked by 1 person
Precisely! Which is exactly why I decided to be a bully, but never have children 😀
LikeLiked by 2 people
I guess “Pink” is the color of diluted blood. (Wash them in cold water else the iron gets fixed and stains the fabric.)
LikeLiked by 1 person
Maybe it’s time to walk out.
LikeLiked by 1 person
If by “walk out” you mean go take a break and clear my mind, I’m in agreement. If, on the other hand… Way too many $Gs involved here to pass up.
LikeLiked by 1 person
Puts a whole new spin on the phrase, “getting Rusty.”
LikeLiked by 1 person
Oh goody – a flowchart! Bugs are now cockroaches?
LikeLiked by 2 people
Good catch. CockroachDb is an apocalypse proof distributed database.
LikeLike
I assume an SLA follows an RFB. Do you also have to do a PIA and a TRA for the SLA? Your chart is much prettier than the ones my company creates!
LikeLiked by 1 person
RFB: Request for Beer
PIA: Zadora (one of my primary youthful fantasies)
TRA: la, la, la, la, la, la, la
LikeLiked by 1 person
You got them all right although at my company an RFB is a Request for Beaujolais (half of them are French).
LikeLiked by 1 person
I don’t see the international symbol for “peace” in there. Can’t you get it in some how? Duke
LikeLiked by 1 person