News for hackers. Stuff that matters.
Re:You Want Modules, Not Microservices by ElectricalUnion on Tuesday January 03, 2023 @02:00PM (#34236210)
You can run most applications on a single server - IBM S/390 big iron has very high reliability, redundancy and I/O bandwidth.
Re:You Want Modules, Not Microservices by catlifeonmars on Tuesday January 03, 2023 @02:56PM (#34237081)
Yes but it’s literally a single point of failure. You probably want at least two servers in separate physical locations. Also how do you do deployments without interruption of service on a single server?
Re:You Want Modules, Not Microservices by SgtBastard on Tuesday January 03, 2023 @05:59PM (#34239361)
Blue/green deployments and request draining like with any other deployment topology.
Re:You Want Modules, Not Microservices by ElectricalUnion on Thursday January 05, 2023 @06:58PM (#34268851)
> it’s literally a single point of failure.

Those machines are made very redundant.

All components in a Parallel Sysplex configuration can operate in redundant mode.

Redundant power. Redundant central processor complex. Redundant multichip module (what would be a chipset on microcomputer platforms). Redundant RAM Memory. Redundant Storage. Redundant internal interconnects. Redundant network adapters.

That's why corporations that require high availability to not get sued for millions/billions use them.

Re:You Want Modules, Not Microservices by catlifeonmars on Thursday January 05, 2023 @10:28PM (#34270599)
Redundant physical location. That means different power dependencies and different cities.
Re:You Want Modules, Not Microservices by ElectricalUnion on Thursday January 12, 2023 @08:58AM (#34353515)
> Redundant physical location. That means different power dependencies and different cities.

Geographically Dispersed Parallel Sysplex.

Re:You Want Modules, Not Microservices by vbezhenar on Tuesday January 03, 2023 @04:26PM (#34238299)
What if I have $500/month to spend and still need high reliability and redundancy?
Re:You Want Modules, Not Microservices by JAlexoid on Tuesday January 03, 2023 @06:39PM (#34239753)
That's a budget for a local crafts store website hosting, not "high availability" system
Re:You Want Modules, Not Microservices by KronisLV on Wednesday January 04, 2023 @02:44AM (#34243124)
> That's a budget for a local crafts store website hosting, not "high availability" system

I'm not sure about that: you could still put something together within that budget, say, a few different VPSes across Hetzner and Contabo (or different regions within the same provider's offerings), with some circuit breaking and load balancing between those. Probably either a managed database offering, or a cluster of DBs running on similar VPSes.

Of course, this might mean that you have 1-3 instances of a service instead of 10-30, but as long as availability is the goal and not necessarily throughput, that can go pretty far.

Re:You Want Modules, Not Microservices by JAlexoid on Wednesday January 04, 2023 @12:39PM (#34248741)
If you're a amateur something, that just does it for fun - sure

Otherwise what you have is a budget that is lower than the possible implications of temporary downtime. That doesn't make sense in the real world.

Re:You Want Modules, Not Microservices by KronisLV on Wednesday January 04, 2023 @02:58PM (#34250557)
> If you're a amateur something, that just does it for fun - sure

  sed "s/amateur/comparatively poor, from a third world country, without VC money, or have cheap labor/g"
Not everyone can afford advanced tools or platforms, or even using something like AWS/Azure/GCP. Some of those can indeed be amateur use cases (e.g. side project or bootstrapped SaaS), others simply stretching your money for any number of considerations (e.g. non profit, limited budget etc.), but it's definitely possible. In some countries it probably makes more sense to just build your own solution, as long as you're not doing anything too advanced.

500 USD a month would get you approximately the following resources (taxes vary) on the aforementioned platforms:

  Contabo
  Nodes: 15 to 83 (depending on configuration)
  CPU: 150 to 332 cores
  RAM: 664 to 900 GB
  SSD: 4150 to 6000 GB
  
  Hetzner
  Nodes: 7 to 110 (depending on configuration)
  CPU: 86 to 192 cores
  RAM: 192 to 384 GB
  SSD: 2200 to 4800 GB
  
  (this includes regular VPS packages, not storage optimized ones, or dedicated hosting etc.)
I'm not sure about you, but in my experience that could be enough for some pretty decent systems, albeit some storage heavy workloads would need the storage packages instead of the regular VPS ones. It's mostly a matter of picking a suitable topology and working towards your goals.

> Otherwise what you have is a budget that is lower than the possible implications of temporary downtime. That doesn't make sense in the real world.

This (depending on the circumstances) does sound like a good point! Maybe "the real world" isn't the best wording, though, and choosing "enterprise settings" or anything along those lines would be more suitable.

Re:You Want Modules, Not Microservices by ElectricalUnion on Thursday January 05, 2023 @10:47AM (#34261363)
>> Otherwise what you have is a budget that is lower than the possible implications of temporary downtime. That doesn't make sense in the real world.

> Maybe "the real world" isn't the best wording, though, and choosing "enterprise settings" or anything along those lines would be more suitable.

This is the point - for-profit corporations, by definition, don't want to waste money, and if "high reliability" isn't required (or they don't know about it), they don't waste money. Most of the time, they don't waste the money.

However, if "being cheap" would means billions in lost income (and they know about it), they really want to have reliable, redundant infrastructure and systems around.

Re:You Want Modules, Not Microservices by JAlexoid on Thursday January 05, 2023 @03:48PM (#34266325)
I could probably design and deploy an HA system for way less. Maybe less than $200/month. It wouldn't be the most performant, but would be HA in three regions.

But it leads me back to my original statement - extreme requirements for uptime don't come out of nothing.

If you're in a location where IT related labor is extremely cheap - you're just going to have people keep one server up.

I know I used to do exactly that, because the server was more than my annual income. But that didn't last long. After the first 20 minute downtime, the budget for HA solution was allocated. But before a certain point downtime wasn't expensive.

Non-profits would probably be the only reasonable exception, where HA and low budgets could coincide. Otherwise - nah...

Re:You Want Modules, Not Microservices by KronisLV on Thursday January 05, 2023 @05:01PM (#34267458)
Those are all fair points, perhaps even more so given the trend of compute and other resources generally becoming more cheap with time (things like Wirth's law and limited IPv6 support aside), thanks for expanding on your arguments!
Re:You Want Modules, Not Microservices by catlifeonmars on Thursday January 05, 2023 @10:32PM (#34270626)
* * *
Re:You Want Modules, Not Microservices by unity1001 on Tuesday January 03, 2023 @06:47PM (#34239819)
Go to Digitalocean or a similar provider. Launch a managed HA db. (starts at ~$120/month). Launch an autoscaling HA K8 cluster (starts from ~$80) , deploy 1-2 stateless pods. There you go.
Re:You Want Modules, Not Microservices by vbezhenar on Wednesday January 04, 2023 @09:47AM (#34246076)
That's what I do. But it's not IBM.