by kstrauser · 6y ago · 0 comments
To put it bluntly, mainframes are wonderful solutions to problems that I don't personally find interesting. (Note: personally. It's not like I don't think there's a legitimate need for the financial systems that mainframes power, it's just that I'm glad I'm not the one who has to run them.) The problems I enjoy involve horizontal scaling at levels that a mainframe just isn't going to reach, and those are the kinds of problems that most people would describe as "modern". And as I don't think mainframes are a good solution to what I consider to be modern problems, neither do I consider them to be a modern platform.
Again, not that this makes them less valuable for the problems they do solve. I don't want to run a stock exchange with its gazillion transactions (as in the database and financial kind) per second on a cluster of x86 VMs.
Edit: But you want to make them modern, make it easier to play with the damn things. I can get almost any other kind of computing tech into my house for under $1,000, but it's freaking impossible to experiment on a mainframe without selling a kidney or signing a contract in blood. If your platform's "learn more" link goes to a form read by a salesperson, you've already lost me. If I have to pull out a credit card to tinker with it, you've already lost me. Contrast with AWS, for example, which practically throws free resources at you to get you interested and invested in the platform. Where are my free IBM resources that get me a mainframe login and access to developer-useful documentation? As it stands today, if I want to learn how to operate Big Iron, I pretty much have to take a job doing it full-time. Make it easy for me to poke at one at night and on weekends if you want me to tell my boss about this cool thing you're trying to sell.
https://www-01.ibm.com/events/wwe/ast/mtm/audit.nsf/enrollal...
All z/OS docs are freely accessible online:
https://www-01.ibm.com/servers/resourcelink/svc00100.nsf/pag...
That's just the base OS docs. Middleware and compiler docs are also free from other places at ibm.com.
One is data integration. Hopefully, https://www.categoricaldata.net/ will make a dent into this.
Another is RAD. Modern trend is to use Turing-complete languages such as Java, while in the past, a mix of application-oriented languages (COBOL on the MF) and system-oriented languages (assembler on the MF) was used.
I think there is some value in having a high-level language that is more domain specific for certain applications. For example like SAS, but SAS is old. Yet I don't see anything (at least anything open source or popular enough) that would be able to replace it. SQL can do some things, but it is also getting a bit old.
I will not comment much on the "modern" thing, I think the hardware is actually plenty modern (for example, IIRC z/Series processors were the first that had hardware transactional memory, and they have amazing hardware tracing capabilities), and as far as the software - I find that the older software is usually more performant, for whatever reason. There is also difference between Unix and mainframe philosophy about how to approach stuff (Unix is more permissive, mainframe is more tight), which I think has its merits as well.
That sounds interesting, any examples? The usual complaint about Unix is lack of fine-grain control over filesystem, but in practice this does not seem to be a problem, there are ACLs, selinux, etc. Is the situation better on mainframes?
I don't know if there is anything you can't do on Linux, except perhaps pervasive encryption, which allows to have some file operations (such as backups) running on encrypted files that the user (under which the backup or restore is running) cannot read.
There are also some really old things that would be considered unsafe today, but IBM is gradually fixing and deprecating them. This is pretty much because historically, z/OS was quite customizable, and lot of user space programs (utilities and middleware, not applications) had pretty intimate hooks into the operating system.
Also the auditing (not only in security) is excellent. The visibility into what the mainframe system is doing is unmatched on any other platform, I think.
Anyone who spent more time with emulating MVS (and possibly with weird accent emulating z/OS ;) ) probably encountered things like the assembly routine that you can link into every MVS version since 3.8 (all the way to recent z/OS) which hijacks tape mount requests before they are sent to operator, enabling you to connect whatever kind of tape-switching you want - in this case, doing special Hercules magic to change the tape image based on one of the parameters.
My point wasn't that mainframes aren't useful - they are! - but that they're not good solutions for a lot of the new problems people are trying to solve lately. For instance, a huge portion of fun challenges are perfectly fine with eventually consistent solutions that optimize for availability, where one single piece of reliable hardware behind a couple of redundant peering connections simply can't compete with 1,000 reasonably reliable nodes distributed globally.
Obviously, nobody cares if the data that makes up your FB/Twitter timeline or Google search results page is less than completely reliable. The new problems people are trying to solve with horizontal scaling and distributed computing may well be "fun" for users and developers alike, but fun is quite different from generally worthwhile.
Financial transactions aren't the only "real" work out there, and there are lots of "fun" projects that are deadly serious.
Even today, reading the specs for the unit mentioned in the linked article, I’d have a hard time imagining running the Amazon.com website off a single mainframe. The shopping cart? Sure. The funny matching like “pjama wih ft” showing me “pajamas with feet”? I’d hate to be the one who had to power a million of those per second.
I remember playing with neural networks on my home Amiga way back when, and that was a fun toy. Now we say “here’s a petabyte of epidemic records. See anything unexpected?”
Or one time someone really wished they could do math even faster than the GPU would allow, and happened to glance at their graphics card, and now we have Dogecoin.
I think our industry has a great record of figuring out new ways to use things that was wholly unlike what the inventors had expected, and that’s probably what makes predicting our future directions so difficult. Like, we have ideas about problems we’d like to solve with quantum computers, but once they’re widely available I guarantee someone will realize they can also be used to make better Spotify playlists or such.
(Side note: the custom keyboard I bought last week has Amiga caps for the command keys).