Hacker News new | past | comments | ask | show | jobs | submit login

Every microsecond counts. We've done some pretty crazy sounding things to get the last bit of juice out of the system:

1. Write a converter to convert a proprietary interpreted business rule language to C++

2. Make all messages fit the maximum ethernet frame size to avoid fragmentation overhead

3. Make the transported message format the same as the memory object format to avoid the packing/unpacking overhead

4. Predict and pre-allocate object pools in heap memory to avoid heap lock overhead

5. Statically link all libraries

6. Optimize key functions at assembly level

7. Turn all record ID's into zero based indexes and covert most lists and maps into arrays for rapid lookup

8. No indexes or foreign constraints in the rapid-write areas of DB

9. Hand rolled on-disk cache file formats that only operate in append mode to prevent seek overhead

10. And finally (this was after my time) trying to implement the TCP stack in FPGA




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: