3 ms·
My experience writing an bidder for realtime ad exchanges in Java -- which was a mistake driven by our use of some 'legacy' code -- the numbers work out on aver
by cmrdporcupine 11y ago
My experience writing an bidder for realtime ad exchanges in Java -- which was a mistake driven by our use of some 'legacy' code -- the numbers work out on average but not in the 90+th percentile. Heavy tuning of the GC yields better results but there's always something that comes along and causes burps. Throughput is usually on average fine -- but the latency spiky.
If your problem domain is fine with that, that's great. But I will never use Java for something latency sensitive again.
After I left that job I worked on the other side of RTB, on the exchanges themselves. They were both written in C++, and performance was reliable and awesome.
I would only use something like C++ or Rust for this purpose.
- poooogles 11y agoWere having a lot of success with our RTB app being written in Go. All we've done is tune the back pressure on the GC up so we trade off some memory for less GC time.