orchestracities / boost

BOOST4.0 EIDS FIWARE CIM Connector
MIT License
0 stars 0 forks source link

Mixer caching fun #34

Open c0c0n3 opened 4 years ago

c0c0n3 commented 4 years ago

So I've had endless fun debugging Mixer calls to find out why with the latest changes and our caching in place the Mixer hits the adapter twice for each incoming HTTP request. Thanks to our caching though we basically pay no price for this as the second call returns in about 0.2ms on average which is peanuts but still annoying. I don't think it's a good idea to waste any more dev cycles on this, so will park the issue here for posterity.

c0c0n3 commented 4 years ago

Oh, almost forgot to mention. It doesn't happen consistently. Sometimes if you try again the exact same HTTP request later, the Mixer only calls the adapter once. Go figure, how fun!