
Apple vertelt details over hoe Siri werkt
Dat Siri de afgelopen tijd heel erg veel beter is geworden weet iedereen die Siri regelmatig gebruikt. Een tijdje geleden betekende een foute interpretatie gewoon dat Siri je niet begreep, terwijl je nu kan zien dat Siri zichzelf erg snel corrigeert. Dus als je niet meteen goed begrepen wordt, dat Siri je nu in tweede instantie vaak toch nog begrijpt.
De cultuur bij Apple wordt duidelijk steeds opener, dat is ook te zien doordat er gisteravond een meetup word georganiseerd op de campus van Apple voor techneuten. Daar werd verteld dat het onder andere Apache Mesos is dat er voor zorgt dat Siri sneller en beter werkt. Bij Apache Mesos zijn ze daar natuurlijk erg trots op, en op hun blog kunnen we daar dan ook meer details
over lezen.
Hieronder een quote van dat blog, waarin de belangrijkste punten die Apple gisteravond deelde duidelijk opgesomd worden:
Here are some of the high-level details that Apple engineers shared at the meetup:
- Apple's custom Mesos scheduler is called J.A.R.V.I.S., which is short for Just A Rather Very Intelligent Scheduler. It's named after Tony Stark's intelligent computer assistant in the Iron Man movies (and technically, I'm told, his human butler in the old comic books).
- Apple uses J.A.R.V.I.S. as its internal platform-as-a-service (similar in functionality to our open source Marathon framework) meaning it's an easier way for Siri's developers and engineers to deploy the services that the application needs to answer all those iOS users' voice queries. (If it answers them badly, blame the algorithms not the infrastructure.)
- Apple's Mesos cluster spans thousands of nodes - let's assume many thousands - and runs about a hundred services that comprise Siri's backend. It's one of the largest Mesos clusters around.
- Siri stores data in HDFS.
- Siri's Mesos backend represents its third generation, and a move away from "traditional" infrastructure. Apple's work with Mesos and J.A.R.V.I.S. predates the open-sourcing of Marathon (by Mesosphere) and Apache Aurora (by Twitter) in 2013.
- Not only has Mesos helped make Siri scalable and available on the infrastructure front, it has also improved latency on the app itself.
Met andere woorden, Siri is slimmer geworden. En dat niet alleen, op de servers worden de vragen aan Siri veel sneller afgehandeld. En dat is niet de enige verbetering, ook lokaal werkt Siri al sneller en beter.