Giter VIP home page Giter VIP logo

fcmxmppserverv2's People

Contributors

afolarin avatar carloscharz avatar kicktipp avatar py4x3g avatar yatharthranjan avatar

Watchers

 avatar  avatar  avatar  avatar

fcmxmppserverv2's Issues

Use a different database for related data

Use a different database for storing subject info and messages sent and delivery stats for each subject.

This will also help track the association between FCM tokens and subject IDs

Related to #6

Add last opened time

Add last request time metric for each subject which will denote when the app was last opened or last interaction since the notification requests are sent whenever the app is opened.

Add caching for schedule requests

Right now each request is scheduled as it is received but we can have some sort of time based caching that accumulates the requests and processes them all together (after some time or based on the number of entries) since the requests will probably come in bursts.
A nice one to use is CacheBuilder from Guava library

The scheduling should only be done if a task does not exist for the specific time

Right now, the tasks are scheduled even if the task with same token and subject id with exactly the same time already exists.
An alternative way to schedule should be included which is based on time and equality of notification.
If notifications are exactly the same and scheduled time is also the same, these should be ignored.

Investigate moving to Spring JPA

Investigate the feasibility of moving from Spring JDBC to Spring JPA for better interface with the database and not handling raw queries.

Send delivery information to kafka

We can send the delivery information of a notification to a kafka topic using Rest Proxy.
This will help in calculating the compliance of subjects.

Depends on #7 and #6

Create a Simple web UI for accessing notifications

Create a Simple web app with UI for accessing notification details for each subject.
Probably should take project and subject info from MP after authenticating with the MP using authorization code or password grant type
At first this can just be basic auth with info of all participants available to everyone.

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.