assaultpotato

@assaultpotato@sh.itjust.works

This profile is from a federated server and may be incomplete. For a complete list of posts, browse on the original instance.

Are microservices really the future?

Serious question. I know there are a lot of memes about microservices, both advocating and against it. And jokes from devs who go and turn monoliths into microservices and then back again. For my line of work it isn't all that relevant, but a discussion I heard today made me wonder....

assaultpotato ,

The reality is, as always, "it depends".

If you're a smaller team that needs to do shit real fast, a monolith is probably your best bet.

Do you have hundreds of devs working on the same platform? Maybe intelligently breaking out your domains into distinct services makes sense so your team doesn't get bogged down.

And in the middle of the spectrum you have modular domain centric monoliths, monorepo multi-service stuff, etc.

It's a game of tradeoffs and what fits best for your situation depends on your needs and challenges. Often going with an imperfect shared technical vision is better than a disjointed but "state of the art" approach.

assaultpotato ,

Tech people tend to be very black-and-white when discussing ideology. Reality is more forgiving.

If you can get your hands on it, the opening chapters of "Practical Event Driven Microservices Architecture" by Hugo Rocha gives a reasonable high level view of when you might decide to break a domain out of a monolith. I wouldn't exactly consider it the holy grail of technical reading, but he does a good job explaining the pros and cons of monolith v microservices and a bit of exploration on those middle grounds.

assaultpotato , (edited )

You know if these single issue voters could read, they're be really mad at you.

You're completely right, and I find the fact that this needs to be explained very funny. Ancaps and ancoms are so wild to me conceptually - they want someone to enforce their will on others but hate the idea of a government. Both get really whiny when they realize that democracy doesn't mean "we get what we want" but instead means "we get what the plurality of people around me want". Sucks when you're a minority opinion, even if it's the "right" opinion.

assaultpotato ,

Eh... my partner is Turkish and I gotta say, there's some truth to the meme. From a psychological perspective it's tough to critique your tribe with an outsider, so not exclusively Turkish, but outside of Americans, Brazilians and Turks I've never met someone so willing to wave their own flag. Considering many expat Turks continue to vote for the parties that are causing the inflation, corruption, etc. the post is somewhat accurate (especially given the explicit callout to German Turks).

Not every critique of a demographic's behavior comes from ignorant western superiority.

assaultpotato ,

Eh, its like how love of the US/"patriotism" is kinda culturally baked into the US... Turks are very similar. My partner and I only ever had one fight, caused by a friend of mine who brought up Armenia early in our relationship. My partner is more liberal than I am, like almost Fox News strawman liberal, but having left Turkey a couple years prior was still deeply entrenched in "Turkey has never done anything wrong". Complete genocide denial, which caused a bit of a blowout hearing a very liberal, freedom-to-the-people person say "what were we supposed to do?". North occupied Cyprus, occupied Syria, Kurdistan are all deeply sensitive topics, even for the most western/liberal Turks. Luckily she chose to educate herself on Armenia, etc. and it's not a problem anymore, but it was a journey.

The whole history of democracy essentially being gifted to Turks by Ataturk, the creation and assignment of last names, etc. really results in some interesting cultural quirks. Amazing people, great food, but man do they hold onto grudges and history!

Why doesn't the concept of national debt apply on a smaller level to individual cities?

So the gist of national debt in my understanding is Nation A asks for aid of some kind from (or commits unintentional damages to) Nation B who later on deems Nation A owes them based on their interpretation of the ordeal, with varying layers of complexity....

assaultpotato ,

That's not really what "national debt" refers to... national debt is literal borrowing: "hey who wants to buy some bonds from my national government so we can invest in our economy?" Someone buys those bonds with the expectation of getting the invested amount + interest back.

What you're talking about is most closely represented by "reparations" which is money owed by an aggressor to a victim state, and is only enforceable really by a stronger third party or by the aggressor losing the war.

As to why cities don't take on debt the same way: they do take on millions of dollars of debt for infrastructure, but usually they're loans from the federal government as opposed to bonds. The difference between city debt and national government debt is the national government controls its own monetary supply, meaning is defacto cannot default on its bonds. Cities can default on their loans, but typically the lender is the higher level government anyways so the repercussions tend to be political only. That's why worrying about "the national debt clock" is typically not meaningful, but your city borrowing 300 million for a new highway definitely is.

assaultpotato ,

The monetary supply thing in particular is why using bitcoin or any other externally managed currency as a national currency is typically regarded as a bad idea.

And also the above statements get much more complex when dealing with multiple currencies like with Russia where despite it issuing the ruble, it can default on USD debt because the ruble/USD exchange rate is such shit.

Monetary policy is very interesting.

assaultpotato ,

Wait did beehaw fall off? I have two accounts, one here and one on beehaw. I actually made my sh.itjust.works account because beehaw defederated from some instances with communities I wanted to keep and now I use both semi regularly. Mostly lurk though.

assaultpotato ,

Yep. Work profile and apps are completely disparate, and it's actually kind of tough to transfer any data across the boundary even if you wanted to. Any time I need to send a picture to my work Slack I have to remind myself to use the work profile camera app.

It's the same tech that powers the Secure Folder thing in Android devices. My older S8 was on Android 8 or 9 and still had this functionality, so I'm not sure how old you'd have to go to have a less secure setup.

I think this mastodon post is inaccurate.

assaultpotato ,

Ah yes, communist regimes are famous for never having any human rights atrocities attributes to them.

assaultpotato ,

Zizek is based as fuck, even if you don't agree with everything he says his books are really good

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • test
  • worldmews
  • mews
  • All magazines