News for hackers. Stuff that matters.
Re:How to Improve Your Monolith Before Transitioning to Micr... by pulse7 on Wednesday July 06, 2022 @04:52PM (#32006673)
IBM has a hardware for that and it is called "IBM WebSphere DataPower SOA Appliance". It has special hardware-accellerated XML processing...
Re:How to Improve Your Monolith Before Transitioning to Micr... by indymike on Wednesday July 06, 2022 @09:39PM (#32009025)
There was also a version that would automatically turn JSON into XML and vice versa. When REST started pushing out SOAPy stuff, we actually had a meeting where the sales guy (at the behest of our XML loving CTO) showed us a diagram that was roughly this:

Web ------------- Premisis

JSON ---> || ---> XML

JSON <--- || <--- XML

Price was $9,600 for the 2U appliance that makes all your non-enterprisy JSON into something fitting of today's modern enterprise, circa 2001. To this day, I laugh when I think about it.

Re:How to Improve Your Monolith Before Transitioning to Micr... by sonthonax on Wednesday July 06, 2022 @08:20PM (#32008555)
How does such a thing work? Parsing XML is full of branches and dynamic allocations that general purpose CPUs are good at.
Re:How to Improve Your Monolith Before Transitioning to Micr... by kqr on Thursday July 07, 2022 @12:59AM (#32010089)
I would assume it works by encoding primarily a strict, predictable format. And when decoding, primarily accelerating the stricter, more predictable parts, and including some regular CPUs for the difficult bits.