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

Scaling out the backend #75

Closed
3 tasks
juliusknorr opened this issue Jul 18, 2024 · 0 comments · Fixed by #90
Closed
3 tasks

Scaling out the backend #75

juliusknorr opened this issue Jul 18, 2024 · 0 comments · Fixed by #90
Assignees
Labels
backend: node enhancement New feature or request
Milestone

Comments

@juliusknorr
Copy link
Member

juliusknorr commented Jul 18, 2024

We need to investigate and be prepared to scale the whiteboard backend.

Luckily socket.io is well prepared for that with https://socket.io/docs/v4/using-multiple-nodes/

As Redis is a common architecture component with Nextcloud it probably makes the most sense to integrate https://socket.io/docs/v4/redis-streams-adapter/

  • First introduce redis as an optional layer for storing room data
  • Introduce redis adapter for socket.io to be able to scale the node process to multiple ones
  • Load testing #107
@juliusknorr juliusknorr added enhancement New feature or request backend: node labels Jul 18, 2024
@juliusknorr juliusknorr added this to the 1.0 milestone Jul 18, 2024
@hweihwang hweihwang moved this to 📄 To do (~10 entries) in 📝 Office team Jul 30, 2024
@hweihwang hweihwang moved this from 📄 To do (~10 entries) to 🏗️ In progress in 📝 Office team Jul 30, 2024
@hweihwang hweihwang linked a pull request Aug 7, 2024 that will close this issue
@github-project-automation github-project-automation bot moved this from 👀 In review to ☑️ Done in 📝 Office team Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend: node enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants