Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #39662
| From | Graeme Geldenhuys <graemeg@example.net> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Going from java monolith to microservice |
| Date | 2021-01-16 16:16 +0000 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <rtv3hc$lg7$1@gioia.aioe.org> (permalink) |
| References | <a3d61fad-4b76-4383-95d8-34af8a32022cn@googlegroups.com> |
On 16/01/2021 2:29 pm, mike wrote: > We hear a lot of positives using microservices since it will > be easier to deploy separate and independen. So I thought that > it might be possible to transition over to use microservices since > products tends to be virtualized in the cloud. Our company transitioned from a huge monolith to 35+ Microservices. Microservices bring with them their own set of problems, so they are definitely not the "silver bullet" to fixing the problems associated with a monolith project. I would highly recommend you do some internet searches on reasons not to use a Microservice - just so you get the facts from both sides and have more information before you start making changes to your code. The question you should ask is: What do you think the Microservice Architecture will give you? A monolith project doesn't need to be maintenance nightmare either. It can be cleaned up and refactored. A possible alternative is to embrace Java 11 and split your project up using Java Modules to represent domains in your business model. You could have many of the same benefits Microservices offer and also new improvements, like much improved latency and memory usage, easier deployments, easier security model etc. Many of our Microservices became a nightmare to maintain too, so we started introducing the Ports & Adapters architecture inside a Microservice project to help improve things. This could equally have been applied to a Monolith project too. Regards, Graeme
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Going from java monolith to microservice mike <mikaelpetterson@hotmail.com> - 2021-01-16 06:29 -0800
Re: Going from java monolith to microservice Graeme Geldenhuys <graemeg@example.net> - 2021-01-16 16:16 +0000
Re: Going from java monolith to microservice mike <mikaelpetterson@hotmail.com> - 2021-01-16 08:44 -0800
Re: Going from java monolith to microservice Arne Vajhøj <arne@vajhoej.dk> - 2021-01-16 15:24 -0500
Re: Going from java monolith to microservice mike <mikaelpetterson@hotmail.com> - 2021-01-17 05:08 -0800
Re: Going from java monolith to microservice Graeme Geldenhuys <graemeg@example.net> - 2021-01-17 16:32 +0000
Re: Going from java monolith to microservice Arne Vajhøj <arne@vajhoej.dk> - 2021-01-21 19:02 -0500
csiph-web