5 ms·
Are you keeping stats on your request? I'm curious how high 90210 stands out.
by ericfrederich 12y ago
Are you keeping stats on your request?
I'm curious how high 90210 stands out.
- couchand 12y agoThat's a great idea. (Un)fortunately it's all client-side.
- sudont 12y agoGuessing you could probably put everything into a redis instance and just hincrby/incr for either the individual queries ie "902", "9021", "90210." Not sure what would be more performant, REST or a websocket. Not doing anything would be the fastest, though! http://redis.io/commands/HINCRBY http://redis.io/commands/HINCRBY
- syntern 12y agoA Google Analytics tracking of the events would be just fine for this goal.
- couchand 12y agoOh, great idea! I've never dived (dove??) into event tracking. Is something like this what I want? ga('send', 'event', 'input', 'search', 'zip', zipCode);
- timboslice 12y agoThat will do the trick!