News for hackers. Stuff that matters.
Re:Software component names should be whimsical and cryptic by makeitdouble on Tuesday September 13, 2022 @06:38PM (#32831071)
You version your APIs, but do you version your services ?

Think of your new service as having a different deployment target, its own DB, and could be under a different repo altogether.

Re:Software component names should be whimsical and cryptic by 0x457 on Tuesday September 13, 2022 @07:41PM (#32831526)
So? Have you heard of API Gateway and/or HTTP routing based on path prefix or header?
Re:Software component names should be whimsical and cryptic by makeitdouble on Tuesday September 13, 2022 @09:12PM (#32832136)
You're right about the external interface, but you still need to give a name to the actual service behind the URL.

From your point on versioning, I'd assume you'd actually call it UserProfileV2 ?

PS: to get back to the original point, you're still stuck with a "UserProfileV2" service that does a lot more than just user profiles, but that's not reflected in the name.

Re:Software component names should be whimsical and cryptic by 0x457 on Wednesday September 14, 2022 @02:46PM (#32841493)
It depends on the language, but I would probably call it `UserProfile` and change a major version even if it's in an entirely different language. Maybe even kept in the same repo.

> PS: to get back to the original point, you're still stuck with a "UserProfileV2" service that does a lot more than just user profiles, but that's not reflected in the name.

From what it said in the original comment, it still seems like a user profile to me.

Re:Software component names should be whimsical and cryptic by qaq on Wednesday September 14, 2022 @01:37AM (#32833659)
You def don't want a new DB and for it to be under new repo