Posts

Featured Post

Mainframe Modernization Is Hard

Image
Update, November 2026: I tested six AI models on converting a 41,918-line Medicare COBOL program to Java. All six matched its outputs to the cent, but only one wrote maintainable Java. The full results are in LegacyBench . Mainframe modernization is like a balloon payment on your 7 year ARM mortgage that has come true or an unhedged call option that has been called. [bad-code-isnt-technical-debt-its-an-unhedged-call-option]( https://www.higherorderlogic.com/2010/07/23/bad-code-isnt-technical-debt-its-an-unhedged-call-option/ ). All code is technical debt and it is critical to understand the risk profile of your debt as you embark on a mainframe modernization project. [risk-profile-of-technical-debt]( https://tanzu.vmware.com/content/intersect/risk-profile-of-technical-debt ).  Also see derivatives of technical debt  for a detailed treatment of this topic.  Sticking with the financial analogy your payment is due, your option has expired and you are due a large amount. Our...

Modernizing Powerbuilder Apps

Image
If you have a massive data window system baked into a Powerbuilder client application persisting to a Oracle database you are likely in a world of pain. This is a business critical system that generates billions of dollars of revenue. Multiple attempts to modernize the system have cratered due to big-bang vendor product driven, technology infatuated soirees. You want to dip your toes into the modern cloud native microservices developer friendly world but have been burnt twice already. You have no interest or inclination in fielding yet another rewrite the system from scratch in 2 years sales pitch. What the hell do you do ? Hit the Bottle ? Pay ORCL another 25M$ in licensing fees.  Put a mask on and upgrade Powerbuilder to 2019 R2 ? Is there a way out of this black hole ? Yes. But it ain't easy. First acknowledge that this is a tough task. The short-cuts were already taken which is why we are at this F*#$ed up point.  Here is a path that can be trodden. A couple of the smart g...

Common Process Challenges When Breaking Monoliths

3 difficult challenges that we often come across when our team works with clients as they try to break monoliths: 1. Silver Bullets  - Enterprises have been burnt by vendor solutions that promise migration with a tool like BPM or some silver bullet methodology that promises seamless migration. The Truth is that disentangling your monolith's code and data is going to get messy. The entire business process will need to be disaggregated, visualized and seams will need to be identified to create a blueprint for a target architecture. Other than Pivotal/VMware there is no one else who has done this at enterprise scale. Our approach modernizes the monolith incrementally with demonstrated business value in weeks not years.  2. Over Engineering  - It is common to get distracted by technology choices and deployment options rather than focus on the difficult work of understanding the core domain. Identifying the business capabilities and assessing if they are core or supporting dom...

Eight Pitfalls Of Application Modernization (m11n) when Practicing Domain Driven Design (DDD)

Image
1. High Ceremony OKRs An application modernization effort is necessary broad in scope. Overly constraining the goals and objectives often results in premature bias and could lead to solving the wrong problems. Driving out premature Key Results means that you are tracking and optimizing for the wrong outcomes. If you are uncertain of the goals of modernization or if this is your first time refactoring and rewriting a critical legacy system, it is best to skip this step and come back to it later.  2. Mariana Trench Event Storming There are multiple variants of Event Storming (ES). ES can be used for big picture, detailed system design, greenfield  exploration, value stream mapping, journey mapping, event modeling etc., Beware of going too deep into existing system design with ES when modernizing a system. If the intent of ES is to uncover the underlying domains and the services it is counterproductive to look at ALL the existing constraints and hot spots in the system. Mode...

Designing Good APIs

Part 1  -- Principles of Designing & Developing APIs (for Product Managers, Product Designers, and Developers) Part 2 -- Process of Designing APIs (for Product Managers, Product Designers, and Developers) Part 3  -- Tips for managing an API backlog (for Non-Technical PMs) Part 4  -- Developing, Architecting, Testing, & Documenting an API (for Developers) API First Development Recipe How To Document APIs Shopify APIs API Design 

Don't Use Netflix Eureka For Service Discovery

So  … there are multiple issues with Eureka Deprecated by Netflix and no longer maintained by Pivotal/VMware.  So no long term future maintainer. The whole world seems to have moved on to either the service discovery provided natively by the platform like Kube DNS (Kubernetes) or Bosh DNS (Cloud Foundry) or service meshes (Istio) or service networking product like Consul.  See replacing-netflix-eureka-with-kubernetes-services  and polyglot-service-discovery-container-networking-cloud-foundry   Eureka does not work with Container to Container networking Stale Service Registry Problem - Eureka & Ribbon don’t react quickly enough to apps coming up and down due to aggressive caching see making-service-discovery-responsive

The Eight Factors of Cloud Native Gemfire Applications

If after moving the in memory JVM cache to Gemfire your pain still hasn't gone away take a look at this checklist of factors for getting you app to perform efficiently with Gemfire. Thanks to my buddy Jeff Ellin who is a expert ninja at Gemfire and PCC. TL;DR Look at queries and data. If you have a read problem then the query is not constructed correctly or the data is not partitioned correctly. If its a write problem it's probably a cluster tuning issue, network issue or some bad synchronous listeners that have been implemented. The best way to triage this is to  take some stats files you can be loaded up into vsd . Gemfire keeps a lot of statistics you can visualize. You can see throughput of various operations. Here are some of the other things you should probably look at. Data Partitioning  Non index lookups  Serialization  Querying on the server they should be using PDX for OQL Queries. If you aren’t using PDX the server needs to deserialize the obj...