Single database vs multiple databases – Microservices Architecture [closed]

You can use a single shared database with tables that owned by different microservices if your data is heavily related. Also in case you have strong requirements on data consistency and availiblty of a service. There is pros and cons. Pros Reliability You can have totally consistent incremental backup of the entire system without downtime … Read more

What is a microservice architecture? [closed]

Microservices in my own, hopefully simple terms Monoliths Traditionally web applications are big. You write one piece of software that runs on a server and answers requests in form of HTML, XML or JSON. If you want your web application to do something new, you add that functionality to the existing application. Such big systems … Read more

Microservices: what are pros and cons?

Pros Sam Newman in Building Microservices, enumerates the key benefits of Microservices as following: Technology Heterogeneity With a system composed of multiple, collaborating services, we can decide to use different technologies inside each one. This allows us to pick the right tool for each job, rather than having to select a more standardized, one-size-fits-all approach … Read more

CRUD in a use-case diagram?

Out of these, I would say #3 is actually the worst, because “CRUD” on its own is not a use case at all; you always CRUD something. Don’t confuse use case <<extend>> with class inheritance. Option #2 is not very good either, because running through a “manage user” use case does not mean you perform … Read more

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