Strategy for gradual Akka → Pekko migration with shared library and rollback capability? #2592
Replies: 4 comments 10 replies
-
|
If you don't depend on clustering, the migration is very easy with a package change then. |
Beta Was this translation helpful? Give feedback.
-
|
hi @travissarles I just went through this myself with ~20 services in a monorepo with loads of shared sbt projects between them as well as roughly the same number of internal libraries hosted in another repo. the method i used was what my sensei would call "brutal duplication for total domination" 😤😁🐲 otherwise known as the bottom up approach. in a nutshell:
all the leaves and shared branches of the dependency graph being duplicated, we were in a position to migrate each application one at a time—no application had both akka and pekko dependencies. yes, it meant for a period of time we were careful in PR reviews to make sure changes were replicated in duplicate projects, but the migration took less than a week. since we tag our docker images with the commit sha, rollback would have been easy but never happened. we experienced two minor difficulties:
it's been four months since, no issues reported |
Beta Was this translation helpful? Give feedback.
-
Also an interesting approach. I think with our setup it would be difficult to manually keep changes in sync over a few months. If we did it in a week, like you did, that could work. |
Beta Was this translation helpful? Give feedback.
-
|
We have migrated to Pekko for some important scenarios. We mainly use Pekko streams and actors, such as live streaming, translation, proxying, and MCP server, and have not encountered any problems. We are using pekko with Java and Java 21. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We're planning a gradual migration from Akka to Pekko and would appreciate guidance on the best approach.
Our setup:
Our goals:
What we've considered:
Our concerns:
Has anyone implemented a similar incremental migration strategy? What patterns or tooling would you recommend for maintaining parallel Akka/Pekko builds during a transition period? Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions