All,
Writing to see if anyone has any input on what they feel the best tech would be for the following scenario. Be it python, solr, redis, memcache, etc.
The situation is as follows.
I have 100 million+ binary strings which are around 1100 characters long...
'0010100010101001010101011....'
What in your opinion would be the most logical way to do the following?
For a given string of the same number of characters, what would be the most efficient way to find the closest match? By closest, I mean sharing the greatest number of 0's and 1's at a given position. Hamming Distance, I believe.
My use case would actually involve taking 100k or so strings and trying to find their best match in the pool of 100 million+ strings.
Any thoughts? No particular tech has to be used, just preferably something that is fairly common.
Curious to see what ideas anyone may have. 
Thanks,
Tbone
You could use numpy, R, or MATLAB, or anything else that works with large matrices for this:
Say you have a NxM matrix A, where N is len(string) and M is the number of strings. And say you have a string S you're trying to match. You could:

Subtract the array version of S from A 
Take the the absolute value of all the elements of the result of (1)
Sum the result of (2) along the axis of N
Argsort the result of (3) to find the indexes of the strings that have the lowest distance to S.
Comparing Large Number of Binary Strings