Post

Replies

Boosts

Views

Activity

WeatherKit stumbles under heavy load. And I don't understand Apple "support."
After Apple essentially shut down Dark Sky early (you can't trust it if it's off-line 8 hours a day 2/3 days), I've transitioned production traffic to WeatherKit. Generally slower (higher p50's, significantly higher p90s) Under bursts of traffic, it just chokes. Always. I have many users who have things set up to retrieve the weather on the hour (e.g., 6:00am). I have to have a failover weather source for these peaks, because weather kits just stops returning data under heavy load. It's not really acceptable that I'm paying significant $$$ for an API, and have to have another source for when the API predictably chokes. Dark Sky handled the load without breaking a sweat. Ever. I'm not sure what to do here. It's not an issue with the code, so there's no point in opening a code level support ticket. The feedback assistant refers you to the forums. General performance issues are not addressed by Apple engineers on the forums. So, the whole thing is a bit Kafkaesque. Is stumbling under load expected behavior? Does Apple have any performance expectations for the API? I've never dealt with an API provider that you couldn't get some sort of acknowledgement about issues. It's just weird.
1
3
838
Mar ’23
Does WK snowfallAmount == Dark Sky precipAccumulation?
WeaktherKit REST API returns snowfallAmount. DarkSky used to return precipAccumulation (for snow.) Are these measuring the same thing? The Weatherkit Docs say that snowfallAmount represents: "The depth of snow as ice crystals forecasted to occur during the day, in millimeters." I'm not sure I really understand. Where is the "depth" to "occur"? Is it supposed to refer to the actual amount of snow predicted to accumulate (like, on the ground)? (The documentation for transitioning from DarkSky https://developer.apple.com/weatherkit/get-started/ doesn't really clarify, I don't think.)
3
0
737
Jan ’23