News for hackers. Stuff that matters.
Re:Cobol Still Powers the Global Economy by 0815test on Tuesday July 16, 2019 @07:30PM (#20454902)
What do you mean by "transactions" in this context? I don't think either COBOL or old IBM mainframes support software transactional memory (STM) as that's a fairly exotic technique that's mostly seen in the context of Haskell and the like, even though it does seem interesting as a model for concurrency.
Re:Cobol Still Powers the Global Economy by 6thaccount2 on Tuesday July 16, 2019 @07:49PM (#20455035)
Like user bin0 said below, a mainframe can do 30k to 1.1M transactions like wire transfers in a second.

They also have rediculously high up times and much higher security (probably mostly via obscurity).

Unfortunately, they're insanely expensive.

Re:Cobol Still Powers the Global Economy by hermitdev on Tuesday July 16, 2019 @09:21PM (#20455565)
Probably more obscurity than actual security, in my experience. I once knocked off about 10k users off of a dev mainframe LPAR simply by running a SQL query (crashed DB2 and the underlying OS). With someone with more experience than I had, probably could have been exploitable. It was an accident, but it happened.

Mainframes weren't nearly as rock solid as their reputation in the 3 years of dealing with them that I had.

Mainframes were great at processes that need high IO.

I've not dealt with them in close to 20 years, so dont know how current x64 linux or Windows stacks line up.

Mainframes are hugely expensive. 20 years ago, entry level for the hardware was around $500k, IIRC. Dont think that even provided storage or software licenses. But, yeah, youve got one largely extremely reliable piece of big iron that can handle nearly all of your needs.

Re:Cobol Still Powers the Global Economy by 6thaccount2 on Wednesday July 17, 2019 @08:31AM (#20458703)
I assume the focus is on big businesses and banks that can afford those numbers.

Kind of like how KDB+ is so expensive as they're targeting a niche audience. Even though that is purely software.

Re:Cobol Still Powers the Global Economy by OskarS on Wednesday July 17, 2019 @08:00AM (#20458474)
I'm a little bit confused by the terminology here. What exactly is a "transaction", in a lower-level sense? What does it consist of? Is it pure CPU processing of one data structure to another? Is it shuffling things around in a (local? remote?) database? Is negotiating a transaction with another mainframe somewhere else over TCP?

It matters, because otherwise any kind of performance number is meaningless. If it's just CPU processing, then 1.1 million is not that much. If it's doing some sort of network handshake/transaction with other mainframes, then it's VERY impressive.

Re:Cobol Still Powers the Global Economy by fork1 on Wednesday July 17, 2019 @09:49AM (#20459428)
You tend to have two types of processing done in a mainframe, batch and online. Transactions usually refer to online work. In the old times, it used to be someone connecting in 3270 and issuing a bunch of "transactions" to bring up screens and perform various operations. Now, it would likely involve a web layer. The server part can be CICS for example, but they are others. Think of them as application servers. Proper batch jobs tend to perform even faster. There is a few reasons to that, one of them is the full integration of the systems (ie: the batch has "shared" memory access to the database, basically it's a big stored procedure).
Re:Cobol Still Powers the Global Economy by bin0 on Tuesday July 16, 2019 @07:41PM (#20454970)
Not in that sense, in the sense of "how many cart checkouts, wire transfers, other business logic transactions can I perform per unit x time?"
Re:Cobol Still Powers the Global Economy by greglindahl on Tuesday July 16, 2019 @11:58PM (#20456300)
The concept of a transaction predates software transactional memory. It's a database term going back to when databases were invented.