jeudi 10 janvier 2019

Should Front-end make calls to Database directly or through a micro-service?

I have a frontend written in JSP and the database in DyanmoDB. Write now I have two options to create an application.

1.Either to make a call directly from JSP to DynamoDB.

2.Call a MicroService from JSP and then call the DB from that service.

I have to fetch data from the DynamoDB, not write data into it.

Which approach would be better and recommended for this and why?

Aucun commentaire:

Enregistrer un commentaire