If I run a scan with a prefix filter on the HBase shell, I get a response in less than 1 second no matter what I use for a prefix. (0 vs 9 or "a" vs "z" makes no difference in speed of response).
However, when I make the same query from the Microsoft HBase library (in C#), it can take up to 90 seconds to get an answer. Interestingly, if I pick a prefix closer to 0, it's faster, the further I move from 0, the longer it takes. ("a" is quicker than "f" as a prefix filter).
Not sure how to determine what the shell is doing differently than the restful query or how to make the restful query more performant.
Some details:
- There are a little over 20,000,000 records in this table
- The row key is designed as [guid]_[inverse timestamp], e.g. a6fc9620-5ff0-41c0-9ed9-660bc3fbb65c_9223370501253811889
Any thoughts of what I should be looking for or trying to improve the rest api request?