Microservices with shared database? using multiple ORM’s? [closed]

You are not likely to benefit from a Microservices architecture if all the services share the same database tables. This is because you are effectively tightly coupling the services. If a database table changes all the services will have to change. You have to understand that the whole reason for a Microservices architecture is to … Read more

How to handle HTTP requests in a Microservice / Event Driven Architecture?

As I was expecting – people try to fit everything into a concept even if it does not fit there. This is not a criticism, this is an observation from my experience and after reading your question and other answers. Yes, you are right that microservices architecture is based on asynchronous messaging patterns. However, when … Read more

How to bring a gRPC defined API to the web browser

Edit: Since Oct 23,2018 the gRPC-Web project is GA, which might be the most official/standardized way to solve your problem. (Even if it’s already 2018 now… 😉 ) From the GA-Blog: “gRPC-Web, just like gRPC, lets you define the service “contract” between client (web) and backend gRPC services using Protocol Buffers. The client can then … Read more

How does data denormalization work with the Microservice Pattern?

This is subjective but the following solution worked for me, my team, and our DB team. At the application layer, Microservices are decomposed to semantic function. e.g. a Contact service might CRUD contacts (metadata about contacts: names, phone numbers, contact info, etc.) e.g. a User service might CRUD users with login credentials, authorization roles, etc. … Read more

Where does Elixir/erlang fit into the microservices approach? [closed]

This is a very open question but I will try to illustrate why Elixir/Erlang may be the best platform out there for developing distributed systems (regardless if you are working with microservices). First, let’s start with some background. The Erlang VM and its standard library were designed upfront for building distributed systems and this really … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)