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

Merged
merged 7 commits into from
Nov 18, 2024

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.

@devinbileck
Copy link
Member Author

@alejandrogarcia83 are you able to merge this?

@gabernard gabernard merged commit 399ad78 into bisq-network:main Nov 18, 2024
@devinbileck devinbileck deleted the rewrite branch November 18, 2024 15:40
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.

2 participants