Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite for performance and testability reasons #3

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

devinbileck
Copy link
Member

@devinbileck devinbileck commented Jan 28, 2024

One of the biggest issues with the old code base was its poor performance; the production instance was always at/near 100% CPU. Also, it was hard to update/extend due to its structure and lack of tests. Therefore, a complete rewrite was necessary.

Changelog

  • Use spring boot instead of spark; this has drastically improved performance
  • Introduce separate endpoints for sending to APNs vs FCM; this eliminates the need for providing numerous query parameters
  • Deprecate relay endpoint (to be removed once mobile client apps are updated to use the new APNs/FCM specific endpoints)
  • Add tests

Outstanding tasks

  • Review TODO's and either resolve them or create issues
  • Perform complete system testing using Android and iOS client apps

- Use spring boot instead of spark
- Introduce separate endpoints for sending to APNs vs FCM
- Deprecate relay endpoint (to be removed once clients are
updated to use the new APNs/FCM specific endpoints)
- Add tests
@devinbileck devinbileck changed the title Rewrite entire project [WIP] Rewrite entire project Jan 31, 2024
@devinbileck devinbileck marked this pull request as draft January 31, 2024 20:11
@devinbileck devinbileck marked this pull request as ready for review March 14, 2024 23:32
@devinbileck devinbileck changed the title [WIP] Rewrite entire project Rewrite entire project Mar 14, 2024
@devinbileck devinbileck changed the title Rewrite entire project Rewrite for performance and testability reasons Mar 21, 2024
@devinbileck
Copy link
Member Author

This is now running in production.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant