[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


>Monolyth retards think that microservices and the basics of cloud computing are a scam.
Why would you hate having a decoupled and redundant infrastructure. That's like begging to be sued by one of those litigious retards that sign the 99.999% uptime contracts.
>>
My server has a better uptime than either Google or Cloudflare.
>>
>>106510030
They cry “scam” because they’ve never run real infra. Monolith dies once, you’re screwed. Microservices keep chugging, you swap the dead part out. 99.999% uptime doesn’t happen with a single fat binary.
>>
>>106510130
you can have multiple replicas of your monolith running

there are tons of examples of microservices going completely down because there are still a few critical services which can be taken down by a bad update
>>
>>106510130
your discord bot on Kubernets isn't "real infra"
>>
pro tip:
The big corpos, with their distributed servers, themselves do not run on microservices.
You fell for a scam.
>>
>>106510130
Microservice niggers think monolith means a single server running in your basement.
>>
>>106510130
The "monolith" is still behind a webserver like nginx and still talks to a database.
So in a modern SPA, where javascript renders everything and the server only provides APIs, it doesn't have to do anything else than taking a request, querying a database, and respond.

What benefit does a microservice provide? Except that it becomes far more expensive when you have a high amount of users.

Microservices are unironically only useful if you can leech off a free tier. So they are the exact opposite of what you claim: They are for shitty hobby projects, while everything that becomes large has to fuck off as soon as possible.
>>
>>106510126
My server's kernel can be patched without reboot (e years uptime)
>>
>>106510030
What does monolith vs microservices have to do with uptime and redundancy? You sound like an absolute retard who fell for a meme and thinks that a monolithic codebase has to run on a single server.

>>106510130
Samefag.
>>
>>106510030
You seem very confused about the purpose of microservice architectures. Microservices aren't a redundancy technique - you can just run several copies of a monolith and in fact, that's what some of the most redundant systems on Earth do. Microservices aren't a technique to make code more understandable - they actually make the system way harder to understand. Microservices also aren't a performance technique - adding network hops to an operation won't magically make it faster.
In reality, microservices are an organizational technique and nothing more. You take on extra technical complexity in the hopes that it will be outweighed by gains at the people management layer. Everything else is just midwits cargo culting large companies like Google.
>>
>>106510030
>litigious retards that sign the 99.999% uptime contracts
retards? they pay 4x the price. you better follow through.
>>
>>106510030
>tfw my shit PHP+Node single server service only has 99.99% uptime
feels bad man
>>
>>106510030
>decoupled
bad for latency, more complexity, API-change coordination dev overhead, adds networking as additional points of failure

>redundant
monolith refers to code, you can still instantiate it N times, at least as long as it doesn't rely on critical in-memory state that somehow can't be replicated.

>monolith
>microservices
There's a middleground. just services. Split just those things that must be split. orchestrator + leaf services if you need to scale to many machines. perhaps backend + database if you sqlite isn't good enough. Having a separate watchdog running is fine too.

You don't need to on-demand-start leftpad it in its own serverless function.

>That's like begging to be sued by one of those litigious retards that sign the 99.999% uptime contracts
Unless you're operating critical infrastructure, medical devices or stuff like that customers rarely really care about the uptime. They SAY they want all the nines, but when you show them the pricetag then suddenly they'll tolerate a day or two of downtime over the year.
>>
>>106511870
Exactly. The optimal choice for the vast majority of businesses (not FAANG-scale) is the "boring technology" stack: nginx reverse proxy -> monolith in a popular backend language -> Postgres. If you want more performance and redundancy, you replicate Postgres, stand up several copies of the monolith, and use nginx as a load balancer. You stand up extra services when you really need to use a different technology (maybe your backend is in Java but you have a problem for which the library ecosystem is far better in Python or C++) or when you need a completely independent service (maybe it's an internal system for HR).
>>
>>106510130
is this ai generated?



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.