Coder Social home page Coder Social logo

notification-service's Introduction

Architecture of the system

diagram-export-2-17-2024-2_46_36-PM

Explanation of Components

Client

    -Notification service is called due to result of an event on client side.
    -For e.g user has updates something or user has made a transaction.

Notification Service

    -This service is responsible for putting the notifications in the message queue.
    -It must implement the logic of filtering out targeted user based on some criteria (like if the user has opted to subscribe to the notif)
    -Has access to Notification Info table which helps in implementing the filter logic.

Notification Info Database

    -SQL database:- reason we will be reading from it multiple times.
    -can have columns like user, targeted_user.

Messaging Queue

    -To handle large number of requests, since there are multiple users and each users might have multiple subscribers.
    -We can implement multiple messaging queue based on priority of the message.
    -For e.g we can assign 1st priority to OTP verification messages, followed by transactional messages, followed by promotional messages.
    -We can use Kafka or SNS

Email Service

    -It is responsible for sending emails to user.
    -It requires email id of the recipient, subject, email body to send, optional attachment.
    -We can use nodemailer, sendgrid.

SMS Service

    -It is responsible for sending SMS to user.
    -It requires phone number of recipient and text body to send.

Push Notification Service

    -It is responsible for sending push notification to user.

notification-service's People

Contributors

sufiyangolandaz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.