Skip to content

Latest commit

 

History

History
 
 

level3

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Stripe CTF3: level3

Description

git grep is nice and convenient for finding code in a single repository on your current disk. Google Code Search, and now GitHub Code Search, have shown how great it is to be able to search across all of your code at once.

But what if you want to search across all of your on-disk code? Ideally, there’d be a tool which indexes all of it for you, allowing you to perform instant search. For very low latency (which would allow cool things like typeahead search), you might distribute that work across multiple machines.

Any guesses where this is going? :)

For this level, you’ll be building a distributed instant code search. We’ve provided a skeleton of a code search system written in Scala for you; it’s too slow for anyone to be happy calling it instant code search though. Your job is to get queries to complete with much lower latency.

Write-up

One solution is to implement a path-sharded in-memory scan.

(TODO)

Other write-ups or solutions