News for hackers. Stuff that matters.
Re:What Have We Forgotten? by orf on Wednesday January 29, 2025 @03:24AM (#42862773)
> The Weblogic servers were configured to enable distributed transactions, so … there was a high degree of assurance that there will be no data corruption nor race conditions.

> we have forgotten how to make distributed apps

Have you, really? Did you ever know? It sounds like you just:

- used a framework (I hope the “high assurance” bit is a joke…)

- then forgot to configure it correctly for a new deployment environment.

Honestly, “Engineering excellence” and “we build things with Weblogic distributed transactions” are two things that are not commonly put together.

Re:What Have We Forgotten? by sam_lowry_ on Wednesday January 29, 2025 @03:57AM (#42862958)
> “high assurance” bit is a joke…

OP here.

It is not, Weblogic distributed transactions are using two-phase commits under the hood. From the point of view of contemporary Computer Science, two-phase commits give up Availability in the CAP theorem. Deadlocks may still happen.

The issue with moving from Weblogic to Kubernetes is that previously, Weblogic enforced consistency and prevented partitioning. With Kubernetes, this responsibility moved from the Weblogic to application developers.

Re:What Have We Forgotten? by sriram_malhar on Wednesday January 29, 2025 @04:18AM (#42863066)
Ouch!

I wrote much of the Weblogic server's distributed transactions framework back in the day. Forget EJB (which too I wrote :(, but in my defense it was forced on us by IBM and Oracle, and I personally hated it).

The JTA bit was a thin sliver over the various db and messaging product vendors' XA drivers, which differed in important and annoying ways. Some were not thread-safe (SQLServer), some drivers' connections had to be pinned to the same thread (Informix) etc. As a user, if you had to have distributed transactions, you would have done worse than Weblogic, methinks.

Re:What Have We Forgotten? by orf on Wednesday January 29, 2025 @04:28AM (#42863120)
Sorry! I didn’t mean to throw shade on your work.

What I mean is that being able to turn a key in a car ignition doesn’t make one a car mechanic.