4 ms·
It actually took more time to write it plain-text than it would have to unpack a bitstring into a struct. With or without optimization it cost you more human re
by peterwwillis 15y ago
It actually took more time to write it plain-text than it would have to unpack a bitstring into a struct. With or without optimization it cost you more human resources (in terms of time and money) to do it their way. As you add more hardware (in cluster nodes), your CPU time on each proxy node needed to perform this operation every second will increase.
My original point was not to encourage over-optimization, but to design better. But deploy whatever you want, I don't care.
- nknight 15y agoIt's harder to debug and extend a bitmap, and in the real world, single service instances don't scale infinitely, more layers are added. You will never have enough back-ends behind a single proxy for the time spent parsing to be measured. This is a textbook premature optimization. You're designing for academic purity instead of the real world.