Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
C0D4681457ycreate a feature branch, do what needs to be done, await front-enders to do their part, and merge
-
C0D4681457y@uuid depends how you're deploying and how time sensitive the system is, does it need to run 24/7?
usually you'll schedule an hour to two at a very low usage period to deploy the changes so the affected users / dependent systems are kept to a mininum.
what kind of system are we talking about here?
im assuming a website but you haven't given much detail there. -
C0D4681457y@uuid in that case I would still find a low user period to deploy the changes (I hope you have analytics of some type) or setup rolling deployments (if the webapps servers are scaled) so that you won’t be affecting many, or if any users as they will be pushed over to a new instance of the web app as it becomes available to them, and the current instance is taken down.
Worst case go old fashioned and show a “we will be down between x and y” for a few days so the downtime is atleast planned for by both your team and the users.
Some info on blue/green or rolling deployments.
https://medium.com/@mateusfreira/... -
BrianK8447y@uuid go for something like Jenkins. Build it on the server and replace and back it up. If you have 5 seconds of downtime it's long.
-
API versioning. All endpoints start with /vx/... breaking changes = new version. Deprecated API versions are left running for a few months unless they have serious issues.
-
uuid27747y@ItsNotMyFault API versioning is indeed a better solution, but unfortunately, my team is not ready for it yet.
-
I don't understand.
Do you have a dev shared environment of your application?
Is this supposed to stay live? I don't think so -
Versioning of your api is always nice, especially when the backend API is public to multiple applications.
Other way of doing it is to initially add stuff and only remove when the frontend changed their code to only use the new stuff. This way you’re always backwards compatible. Things could get ugly tho if you add too much.
Related Rants
Question:
in teams with backenders and frontenders, how do you guys coordinate introducing breaking changes to the API while the system is live ?
question
coordination
fronend
api
breaking changes
backend
live system