News for hackers. Stuff that matters.
Re:So many bad takes. Learn from the Prime Video microservic... by eternalban on Sunday May 07, 2023 @05:03PM (#35855569)
(quite impressed by the sheer number of comments you have made in this thread, btw)

> For example it can be way simpler to use a in-memory cache than a network attached cache and by doing so you save yourself a dependency, a potential network request that can fail, etc.

Elsewhere you decided against using cloudflare's kv because it was a poor fit for "cache invalidation" -- "way simpler"? -- and then of course turns out you really don't know if it's a bad fit.

> by spaghetti I'm more referring to the architecture of your application being turned into networked components, i.e a distributed system.

That is a novel definition of "spagetti". It's a pejorative term in software sense. Why?

> It's pretty much accepted fact now that distributed systems are by far the most challenging area of both computer science and software engineering.

Ahem. So it caching and cache invalidation. But that didn't stop you, so exactly how is this line you seem to draw with such vocal authority regarding "bad hard", "good hard" informed technically?

Re:So many bad takes. Learn from the Prime Video microservic... by _gabe_ on Sunday May 07, 2023 @05:26PM (#35855769)
> That is a novel definition of "spagetti". It's a pejorative term in software sense. Why?

I don't necessarily agree with everything OP is saying, and I certainly don't speak for them, but I completely understand what they mean by a big ball of microservice spaghetti. The spaghetti is distributed across a massive literal network of dependencies instead of being distributed off a giant graph of object dependencies, or goto statements or something. The spaghetti is real and just as messy in the microservice world as the monolith world. I should know, we inherited a massive one.

But this shouldn't be too much of a revelation since there is no silver bullet in taming software architecture. Architecting software is very subjective, and more often than not we make the wrong decisions and have to untangle the mistakes further down the road.

Re:So many bad takes. Learn from the Prime Video microservic... by eternalban on Sunday May 07, 2023 @05:59PM (#35856023)
> I completely understand what they mean by a big ball of microservice spaghetti

Sure, I understand that too, but that's not what was said. Here it is again:

> by spaghetti I'm more referring to the architecture of your application being turned into networked components, i.e a distributed system.

Re:So many bad takes. Learn from the Prime Video microservic... by Aeolun on Sunday May 07, 2023 @10:46PM (#35857558)
How is that not what was said. Your application is going to be spaghetti anyway, networked spaghetti is orders of magnitude worse.

I should know, I have a ball of networked spaghetti.

Re:So many bad takes. Learn from the Prime Video microservic... by intelVISA on Monday May 08, 2023 @05:35AM (#35859735)
Chef's law: spaghetti cannot be removed or added, only distributed.
Re:So many bad takes. Learn from the Prime Video microservic... by jpgvm on Sunday May 07, 2023 @06:24PM (#35856189)
> Elsewhere you decided against using cloudflare's kv because it was a poor fit for "cache invalidation" -- "way simpler"? -- and then of course turns out you really don't know if it's a bad fit.

I evaluated it at the time. I don't have the context loaded to remember exactly why it didn't work for my use-case but I'm going to look again because CFs platform moves pretty fast and perhaps it could be simpler than what we are currently doing.

> That is a novel definition of "spagetti". It's a pejorative term in software sense. Why?

Elsewhere it's been coined Lambda Pinball, perhaps you find that a more pleasing description?

> Ahem. So it caching and cache invalidation. But that didn't stop you, so exactly how is this line you seem to draw with such vocal authority regarding "bad hard", "good hard" informed technically?

Yes, both of which are generally necessary in distributed systems. i.e not only is it a hard problem in and of itself it requires solving sub-problems which are also some of the hardest problems.

I think you may have made my points for me.

Re:So many bad takes. Learn from the Prime Video microservic... by zerbinxx on Monday May 08, 2023 @12:17AM (#35858036)
I think in general you’re right on the money and have been throughout your comments here. Lambda pinball is a great term as well. I agree that serverless incentivizes a “nanoservice” approach that flies in the face of patterns like classes/factories or DDD, since everything is atomic you lose the concept of a service or domain boundary and everything can get muddled as hell.