Passing the ISUCON6 qualifiers with C++
What we did before the day of the contest
- make it so that you do not need to touch the same file, so that development does not conflict even when working together;
- provide functions specific to SQL and the web (URL encoding, HTML escaping) and the like; and
- give up on reimplementing everything, so that you can implement things little by little.
What we did on the day
- Around 10:30 … The first profiling finished, and each of us started reading the code.
- Around 11:30 … Made it possible to modify the reference implementation little by little in the repository (imos)
- Around 12:00 … Installed phpMyAdmin (imos)
- 13:07 … SQL tuning (zuisou)
- 13:54 … Stored sessions in cookies instead of storage (imos)
- 14:22 … Also stored user_name in the session (imos)
- 14:28 … Fully implemented /stars in C++ (iwiwi)
- 16:55 … Finished implementing the / and /keywords/* caches (zuisou)
- 17:21 … Finished implementing HTMLify in C++ using a trie (iwiwi)
- 17:37 … Completely eliminated the PHP HTMLify (iwiwi)
- 17:46 … Fully implemented /keywords/* in C++ (imos)
Figure: The score situation at final submission