• 0 Posts
  • 36 Comments
Joined 1 year ago
cake
Cake day: June 23rd, 2023

help-circle
  • Something to consider is a monolith can have different entry points and a focused area of work. Like my web application monolith can also have email workers, and background job processers all with different container specs and scaling but share a code base.

    And coming from a background where I work heavily with Postgres a bunch of smaller segregates databases sound like a nightmare data integerity wise. Although I’m sure it can be done cleanly there are big advantages with having all your tables in one database.


  • Imo if your doing it right your monolith is also broken up into chunks that are segmented with clear defined apis and well tested (apis in this context are whatever your public functions/method/top level objects). With clean internal apis and properly segmented code it should be easy to read and do what you need.

    I don’t know if I agree with the infra level. What makes you say it has advantages there?

    Biggest two advantages to micro services in my mind is you can use different tools / languages for different jobs and making it easier for multiple teams to work in parallel. Two biggest disadvantages in my mind is you lose code sharing and services become more siloded to different teams which can make it more difficult to roll out changes that need multiple services updated.

    There is also the messaging problem with micro services. Message passing through the network rather then in memory. (Ex calling the user_service object vs user_service micro service)

    One other big disadvantage of a monolith I also can think of is build time and developer tools can struggle with them. A lot more files/objects to keep track of and it can often make for an annoying development flow.

    My preference is to monolith most things and only split off something into a micro service if you really get a big benefit from another tool or language for a specific task.





  • cooljacob204@kbin.socialtoProgrammer Humor@lemmy.mlSTOP DOING ASYNC
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    5 months ago

    Have you programmed with rust a day in your life? Once you introduce one library that requires Tokio async you have to start wrapping all your calls that involve it in async shit.

    So many better concurrency patterns out there.

    And these libraries are not easily avoidable. Ex: most AWS libraries require it.

    And forgive me for a stupid typo, I have had little sleep the last week but you are an asshole that thinks belittling people somehow makes you right so it doesn’t really matter.








  • And I’m not trying to argue that they didn’t. I do believe Russia paid the biggest price and contributed the most. Especially in regard to the lives given to defeat the Axis. And I don’t really want to down play that.

    But op is using WW2 to attack the US which is dumb. They also paid a large price in the war on both fronts, contributed a ton to allies through lend lease / material goods and were on the correct side of history in this instance.

    Not to mention post WW2 was the one time we got nation building done correctly.



  • It’s been a very common thing recently with Russian to claim the West basically did nothing in WW2.

    They are quite literally rewriting history in their classrooms.

    Now I won’t deny they took the brunt of the force and paid an absolutely huge price in lives.

    But op is trying to use WW2 as a way to say the US is bad. That we did nothing and only joined when it was basically over. It’s a super common Russian nationalist talking point right now.


  • Japan was not closer to conditionally surrendering to the USSR instead of the US. Even if they were that doesn’t magically make their war with the US end.

    The reason for the bombs being dropped is very clear and you’re free to read countless books, articles, papers on it.

    The Cold War started even before WWII ended.

    Yes but not every choice during WW2 was about countering communism. We supplied them with an absolute ton of weapons and cutting edge vehicles, planes during the war. The threat of the axis/fascism far outweighed the threat of communism spreading at the time.