How to Implement Microservice Coded In Hackathon Event

Microservices in GraphQL

Hey Family,

As you already know with the title we are going to discuss, Trending topics of 2020 today. I promise today's Blog would change your thinking about how Projects are currently working and how they will work in the coming time.

Hold it and stay tuned for the below-mentioned topics:

  1. What is Microservices Architecture?

  2. GraphQL with Microservice using Docker
    GraphQL with Microservice using Docker

    • Construct an application as a set of services that are, Highly maintainable and testable.
    • Loosely coupled. 
    • Deployed, Maintained and Developed independently
    • From the starting separated by service boundaries which make it more convenient to scale up the development effort if needed
    • Making it more convenient to choose the technology stack (programming databases, languages, etc.) which is best suited for the required service

  3. Monolithic vs Microservices
    • Monolithic
    • Monolithic Architecture
      Monolithic Architecture
      • Single Code Base
      • Often time-consuming and confusing
      • Difficult deployment with maintenance window and schedule downtime
      • Generally entirely developed in one programing language
      • Required you to scale the whole application even through impasses are localized
    • Microservice
    • Microservice Architecture
      Microservice Architecture
      • Multicode codebase, every microservice has its own codebase
      • Much easy to maintain and readability of code
      • Simple deployment, as each microservice can be deployed individually, with zero downtime
      • Each microservice can be implemented in a different programming language.
      • Enables you to scale impasses services without scaling the entire application

  4. How does microservice solve current issues in project development?
    • Current situation
      • Monolithic Architecture
      • High time consuming 
      • Too large and complex code structure
      • Hard to understand & make changes
      • Which eventually cause slow, repetitive development
      • At last effects at the Project Closure
    • Problem Solving Statement
      • Microservices Architecture
      • Simple to develop
      • Service/Technology/Platform/OS Independent 
      • One time API Development with Single End Point
      • Stable, faster, flexible and secure application development
      • Server Virtualization for better resource management
      • On-Demand Architecture

  5. What is Docker?
    • Docker is a tool planned to make it simpler to create, deploy, and run applications by using containers.
    • OS-level virtualization to deliver software in packages called containers
    • Enables more effective use of system resources
    • Enables Faster software Delivery & Integration cycles
    • Best suitable tech to implement a microservices architecture
    • Instances of containerized apps use far less memory than virtual machines, they start up and stop more quickly

  6. Implement microservices with docker
    • Now as you know what is microservices and what is docker.
    • Let's get started by creating multiple microservices using a docker container.
    • Just imagine that every container is your individual microservices which are into multiple languages or technologies.
    • Each container works are an independent service that can be run on multiple ports under the same Operating System.
    • This is known as OS-level virtualization.
    • Let's see how we can achieve the same:
      • Step 1: Install Docker
      • Step 2: Install Docker Compose
      • Step 3: Prepare the Environment
        • Step 1: NGINX / Apache
        • Step 2: Database
        • Step 3: Web
      • Step 4: Create a docker-compose.yml
      • Step 5: Test the Microservice
    • You can run multiple containers for every individual microservice under a single OS.

  7. What is GraphQL?
    • GraphQL is a syntax that characterizes how to ask for data and is commonly used to load data from the server to a client.
    • GraphQL has three main features:
      • The client specifies exactly what data it needs.
      • It makes it simple to collect data from multiple sources.
      • It uses a type system to explain data.

  8. Pros and Cons of GraphQL vs REST
  9. GraphQL vs REST
    GraphQL vs REST

Thus here is the award for our achievement on this idea:

Credethon 4.0
Credethon 4.0


Thanks & Regards,
Tapan Patni
Email: tapanpatni58@gmail.com


Comments

  1. Replies
    1. Thank you so much please check my other blogs on Trending Topics

      Delete
  2. Hii tapan dhanga here ,
    I dont know you but i reall liked your work wishing you all the best for your future.hope to meet you soon..

    ReplyDelete
  3. Hi Tapan,

    You Rock, Saw your all posts till date. The concept of docker has been explained very well to get a clear picture on docker.

    I thank you for the provided subject till date and will be waiting for further updates on other DevOps tools and topics in the blog.

    ReplyDelete
  4. This is an amazing blog, thank you so much for sharing such valuable information with us.
    Microservices Online Training
    Microservices Training in Hyderabad

    ReplyDelete
  5. Harrahs Atlantic City Hotel in Atlantic City, NJ
    ‎Book the 카지노 Harrahs 토토 캔 Atlantic City 바카라 전략 Hotel. ‎Entertainment 카지노 사이트 · ‎Live Casino · ‎Dining · ‎Reservation 바카라 사이트 · ‎Hotel

    ReplyDelete

Post a Comment

People also Look For

All about DevOps (A Complete Guide to DevOps)

Upcoming DevOps trends

All about Cloud Computing