• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Bear Bibeault
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • salvin francis
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Jj Roberts

Will an application with REST APIs for handling all CRUD operations be called a microservice?

 
Ranch Foreman
Posts: 2085
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I create an application with REST APIs which handle all the CRUD operations of an application, will it be called a microservice? If not so, then how can I create microservices in this case? Thanks
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think it would be correct to say this. Microservices are lightweight and are intended to make loosely coupled services. You can consider a microservice is like a small service which is capable enough to provide a particular feature wihtout having dependency on other services. If in a cluster of Microservices, one of the service goes down then (ideally) it should not prevent the other services to function.


It is something like writing a program for entire Car application, you can create microservices to different components separately and deploy them independently.

You can further ead this article https://martinfowler.com/articles/microservices.html  of Martin Fowler
 
 
Monica Shiralkar
Ranch Foreman
Posts: 2085
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks.So in that case what can be the different microservices for the requirement I mentioned that is for handling CRUD operations for an application ?
 
This tiny ad will self destruct in five seconds.
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic