this post was submitted on 08 Jul 2023
5 points (77.8% liked)

Programming

17450 readers
171 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

Hi,

I need to track feature usage for an application so I can do the following:

  • track feature usage for a user. We have 20+ features and we want to limit feature usage. Think, select count(*) from db where user_id = 1 and feature_id = 1 that have to be calculated on the fly.
  • must have fast read write ops.
  • able to do machine learning on data
  • do I need horizontal scaling?

I've been pointed towards elastic search and wondering if there's better alternatives.

you are viewing a single comment's thread
view the rest of the comments
[–] Hexarei@programming.dev 1 points 1 year ago

Good ol' read replica pattern.