3 ms·
After dabbling with it for a couple of weeks, I wrote the backend (search & indexing implementation using the Go standard library's suffix array implementation)
by lazyjones 13y ago
After dabbling with it for a couple of weeks, I wrote the backend (search & indexing implementation using the Go standard library's suffix array implementation) of our websites' autocomplete feature. It's been running for 7 months without a crash and without leaking memory, serving several million requests/day.
I'd like to use it more, but we have so many layers of legacy Perl code, that it's difficult to replace single components because of their dependencies (rewriting anything worthwhile would mean rewriting 4-5 libraries also).
- vram22 13y agoCool ...
- workhere-io 13y agoIt's been running for 7 months without a crash and without leaking memory, serving several million requests/day. Sounds cool. What kind of server are you running this on?
- lazyjones 13y ago> What kind of server are you running this on? It runs on a single node of a 4-in-1 supermicro server with dual Opteron 6136 CPUs. Because it uses so little CPU time (about 15% of one core on average), we are now using the server for other things as well ...