Token-based authentication in microservices: “You are locking the defenders out of the castle”

Microservices are all the rage now but this doesn’t mean they are a silver bullet. When you go down the microservices path you should expect to encounter several problems. JAXenter editor Gabriela Motroc caught up with Quentin Adam, CEO of Clever Cloud to talk about how tokens fit into the microservices ecosystem, when and why it’s better to transform a monolith into microservices and more.
Okay, Microservices are cool. But, as all the new trendy buzzword, it’s not a silver bullet, and there are several problems to manage. One is the authentication, distributed authentication is hard, and there is many ways to achieve it. Configuration is the second issue to be managed when dealing with distributed micro application strategy.
In one of his sessions at DevOpsCon 2017, Quentin Adam, CEO of Clever Cloud talked about the problems you’ll face in the microservices world such as
- Authentication: distributed authentication is hard and there are many ways to achieve it.
- Configuration is the second issue to be managed when dealing with distributed micro application strategy.
If you’re using microservices, you can have difference scaling agendas.
Quentin opined that HTTP is not for all and, more importantly, it is not ideal for microservices. Message brokers like Kafka and Redis are better in this case. Furthermore, the right size of microservices is very important — a lot of people are building a “noisy microworker army” but the network has two problems: it’s fragile and slow.
SEE ALSO: DevOpsCon takeaways: Ops is more important than ever & automation can lead you astray
JAXenter editor Gabriela Motroc caught up with Quentin after his talk to discuss how tokens fit into the microservices ecosystem, when and why it’s better to transform a monolith into microservices and more.
Watch the interview here:

If you want to know more about microservices, make sure to come to JAX DevOps 2018 in London!
asap
Leave a Reply
Be the First to Comment!