Zhongchao Qian
Zhongchao Qian
Using the filter context may improve performance if it gets cached by Elasticsearch (which is, in the end, a maybe). Other than that, is there a specific reason that we...
Another thing is we can't make this opt-out, but it brings little benefit if it's opt-in. The user making the query probably doesn't care about the performance impact of the...
Typically a message queue is used to schedule things like these. RabbitMQ, ZeroMQ, or Apache Kafka (technically not just a message queue). Using a message queue can greatly decouple the...
Time stamps don’t have time zone. The convention is that it’s usually the time elapsed since Jan 1 1970 UTC. Variations do exist but on typical UNIX/POSIX systems it’s that...
Huh, never knew we were passing date time information as strings. To be honest I think we shouldn't be doing that, I think real timestamps (seconds or milliseconds since epoch)...
Personally I’d lean towards the 400 error. I know this will break some people’s code, but I guess it’s better when someone didn’t read the documentation and start scratching their...
My worry is that because people may be only programmatically reading specific fields from the response instead of manually inspecting the response, it’s likely that they won’t see the message.