-
Notifications
You must be signed in to change notification settings - Fork 1
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
Refactor events collection? #135
Comments
Yeah, we can def do some improvements there. The original intention of the im out the door for buddy's bachelor party weekend. we're gonna backpack On Thu, Aug 13, 2015 at 9:31 AM, Eyal Cohen [email protected]
|
It would be a lot of work, and would rip the site up. Not sure if its worth it or not... Off to the Emeralds myself for the weekend, have fun! |
Think about it, maybe there's a better way thats less intrusive. |
I was playing with @ mentions today, and I still think something like this would be beneficial to do before we add much more to the site. Hard to balance infrastructure stuff with getting more features out though! Probably white board sesh worthy. I need a diagram of how events/subs/notifications work because I keep forgetting =) |
yeah I hear ya - more and more the duplicated info under "data" is not even On Wed, Sep 23, 2015 at 1:39 PM, Eyal Cohen [email protected]
|
Hey @sanderpick,
started to look at creating some of the DB tools. Taking
merge crags
as an example, most of the work is pretty straightforward. Updating the events collection will be the most complicated, because we have duplication of data there. Here is an example session event.and the target_id inflated:
Notice that
data.target
on the event duplicates quite a bit of information.Wondering if it would be simpler to refactor Events in the database without the
data
property, and then fill them as necessary. Of course, the downside is that you increased the number of hits to the database and probably slow down the whole operation.Whatcha think?
The text was updated successfully, but these errors were encountered: