I'm start to develop a web application in microservice architecture with SenecaJS framework.
It has good documentation but I don't understand if I can solve the problem of "transaction across microservices" with it or I should implement something by myself.
Have you a suggestions?
Related
I have been breaking my head over this for over 2 weeks now and I don't seem to understand if what I'm doing is considered right or good practice. So I have been trying to implement a simple todolist of sorts with 2 services, the task service and the user service. I have created a few AMQP connections by reading through the documentation and was able to implement a request/reply pattern. What I don't get is, Am i doing this the right way? or is there a better way to do this? I'm pretty new to rabbitMQ and have plans of using this in my upcoming project with microservices. I understand the concept behind it but the implementation aspects of it seem bleak and I'm tired of going through very simple demo explanations.
Heres the application. Hope I get some help with this.
RabbitMQ and Nodejs with RestAPI
I have posted it in rabbitmq groups but I have no luck yet. Any help will be nice.
Im interested in talking to anybody who has migrated or started to migrate a monolith using the Micro Front End Architecture.
The monolith Im looking to migrate is a single page application based upon a in house built framework.
Which approach did you take? Iframes, WebComponents etc?
Which tools/libraries did you use to help this process?
We just started implementing micro front-end to existing application. we started with single spa. it is a framework for micro front-end. the advantage is each module can write in different languages (vue, react, angular, etc...).
there is an another way like creating webcomponents and include without any framework vue-cli.
Much like Vishnu, we took the single-spa route. We've combined 2 independent applications so far.
Micro-frontend is a microservice approach to frontend web development.
Microservice is an architectural style that structures an application as a collection of small autonomous services, modeled around a business domain.
But
What are the main differences beetween micro-frontend and microservices?.
Microservices are related to back-end side functionalities while
Microfrontends is related to the frontend & the idea is to divide your application on the client side.
This division is especially helpful when you have a group of many developers working over the same product/codebase.
Take a look at the below links for understanding the difference, the idea of micro-frontends & their pros and cons.
https://www.youtube.com/watch?v=BuRB3djraeM
https://www.youtube.com/watch?v=Bnmy5zMY14s
https://www.youtube.com/watch?v=asqgKaUMXq0
Just naming. Microfrontend is client version of microservices. You can implement your frontend as multiple applications (microfrontends). On backend side you create multiple deployables (microservices) to build an application. Of course, there are some patterns and best practices (API Gateway, Service Discovery etc.) for microservices and microfrontends which may not be applicable to one or differ between each other. However the main idea is same.
I need your help in Loopback Framework.
Actually, my need is how we can achieve Microservices related functionality with Loopback Framework.
Please share any links/tutorials/knowledge if you have any.
I have gone through below links,
https://strongloop.com/strongblog/creating-a-multi-tenant-connector-microservice-using-loopback/
I have downloaded the related demo from below links but doesn't work it.
https://github.com/strongloop/loopback4-example-microservices
https://github.com/strongloop/loopback-example-facade
Thanks,
Basically it depends on your budget and size of your system. You can make some robust and complex implementations using tools like Spring Cloud or KrakenD. As a matter of fact, your question is too broad. I've some microservices architecture knowledge and I can recommend just splitting your functionality into containerized solutions, probably orchestrated by Kubernetes. In that way, you can expose for example, the User microservice with loopback, and another Authentication microservice with loopback and/or any other language/framework.
You could (but shouldn't) add communication between those microservices (as you should expose some REST functionality) with something like gRPC.
The biggest cloud providers have some already made solutions, eg AWS has ECS or Fargate. For GCP you have Kubernetes.
We have created an open source catalog of microservices which can be used in any microservice project using LB4. Also, you can get an idea of how to create microservices using LB4. https://github.com/sourcefuse/loopback4-microservice-catalog
i am a beginner at developing hybrid apps. And i came across of this magnificent cloud-based framework named Monaca. Now the issue is this, the Backend it provides is not useable for my chat application(well if there is a miss from my side feel free to comment), so my question is how can i approach this issue? i have heard of Backend as Service(BaaS), PubNub, Jabber and more but its really expensive on the long run. There is a solution with node.js and websockets. But i donĀ“t know how to use them with Monaca. Help would be much appreciated.
You should not have any issue to integrate any backend service to your Monaca project, as long as the service provides a JS API. You just need to follow the API integration docs and integrate it in Monaca. Did you already took a look at Azure? There is already a tutorial on Onsen UI & Monaca Blog:
https://onsen.io/blog/tutorial-todo-app-with-onsen-ui-and-azure/
Hope it helps!