Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah I think it's better rephrased as "service reusability". A proper microservice should be able to be redeployed anywhere for anything.

If you have an authenticate() function in an auth helper library, you can move that around to new web apps to help users authenticate with different parts of your site(s).

Your authenticate() function for a microservice is probably going to be part of a broader "microservice api library" that gets reused, but I can't imagine reusing the microservice code itself - you're supposed to just spin up a new one.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: