Re:What I Wish I Had Known Before Scaling Uber [video]
by threeseed on Wednesday September 28, 2016 @06:24PM
(#12601832)
The point is that unless you use JVM hot reloading (not recommended in Production) you will need to take down your whole app to upgrade that JAR. Now what if your microservice was something minor like a black word filter. Is adding a swear word worthy of a potential outage ?
Re:What I Wish I Had Known Before Scaling Uber [video]
by nine_k on Thursday September 29, 2016 @11:42AM
(#12606126)
If you run multiple instances of your server and follow certain reasonable practices, you can take down old-version instances one by one and replace them with new-version instances, until you have upgraded the entire fleet.
Alternatively, you can deploy the new version to many machines, test it, then make your load balancer direct the new traffic to the new instances, until all old instances are idle, and then take down these.
Re:What I Wish I Had Known Before Scaling Uber [video]
by benx on Monday October 03, 2016 @03:58AM
(#12625948)
And in microservices you can just pick whatever stack you feel is the best for just that task
Re:What I Wish I Had Known Before Scaling Uber [video]
by rer on Wednesday September 28, 2016 @06:45PM
(#12601965)
Is hot reloading that big of a problem?
Re:What I Wish I Had Known Before Scaling Uber [video]
by betenoire on Wednesday September 28, 2016 @11:59PM
(#12603196)
not for everyone
Re:What I Wish I Had Known Before Scaling Uber [video]
by duaneb on Thursday September 29, 2016 @01:24AM
(#12603438)
You certainly can do that. A little discussed benefit (or curse) of a microservice is maintaining an API (as opposed to ABI). Changes are slower and people put more thought into the interface as a discrete concern. I am curious if an ideal team would work better with a lib--I think so, but I'm not sure!
Re:What I Wish I Had Known Before Scaling Uber [video]
by andrewchambers on Wednesday September 28, 2016 @06:08PM
(#12601736)
I think people don't maintain discipline if it isn't forced. So its a round about way of forcing people to maintain boundaries, that wouldn't be needed much of the time if people had stricter development practices.
Re:What I Wish I Had Known Before Scaling Uber [video]
by threeseed on Wednesday September 28, 2016 @06:26PM
(#12601847)
Exactly. Every single monolithic application I've seen has a utilities package that has classes shared amongst components.
With micro services you could have different versions of those utilities in use which would not be possible in a monolithic app.
I wrote about this a couple of years ago in more detail, so I'll just reference that: https://www.chrisstucchio.com/blog/2014/microservices_for_th...
HN discussion: https://news.ycombinator.com/item?id=8227721