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

Set up plugin tables #4

Open
tillmariajuergens opened this issue Sep 17, 2020 · 0 comments
Open

Set up plugin tables #4

tillmariajuergens opened this issue Sep 17, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@tillmariajuergens
Copy link
Collaborator

Scalable tables

post_emoji_id post_id emoji
1 2 👍
2 2 ❤️
post_emoji_id user_id
1 1
1 2
2 1
  • user 1 & 2 added a 👍 to post 2. user 2 added ❤️ to 2.
  • con: difficult setup, creates lots of tables.
  • con: lots of effort
  • con: can't use wordpress board-tools
  • pro: filter by user id
  • pro: quick

Post meta

compared to first solution post meta:

  • pro: easy to build
  • con: filter by user is slow for large blog
  • con: slows down large blogs

Decision

We went for postmeta to get it running first. If we want more scalability, we go for the custom tables. If we want network-wide visibility an event-bus (with a limited time) could be a solution.

@tillmariajuergens tillmariajuergens added the enhancement New feature or request label Sep 17, 2020
@tillmariajuergens tillmariajuergens mentioned this issue Sep 17, 2020
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant