{"id":166008,"date":"2013-12-10T00:00:00","date_gmt":"2013-12-10T00:00:00","guid":{"rendered":"https:\/\/www.microsoft.com\/en-us\/research\/msr-research-item\/servicing-mice-streaming-queries-as-a-service\/"},"modified":"2018-10-16T20:55:24","modified_gmt":"2018-10-17T03:55:24","slug":"servicing-mice-streaming-queries-as-a-service","status":"publish","type":"msr-research-item","link":"https:\/\/www.microsoft.com\/en-us\/research\/publication\/servicing-mice-streaming-queries-as-a-service\/","title":{"rendered":"Servicing “mice”-streaming queries as a service"},"content":{"rendered":"
\n

Processing streaming queries at scale has received a lot of attention recently. Systems, such as S4, Storm, Photon, MillWheel, and Kinesis, can efficiently execute (“elephant”) queries that process streams with high rates, and typically scale-out the execution of each query. We envision a platform in the opposite side of the spectrum. Our queries process relatively slower streams, but the challenge is to handle very high density of queries per server. Such a system democratizes the access to a streaming platform, and enable “mice” queries, on behalf of users, to consume stream data, e.g. news, weather, travel related information, and so on. A challenging problem for the design of such a system is how to place queries among available servers. On one hand, we expect balanced workload among servers. On the other hand, we expect queries are packed into servers such that the network traffic is minimized by reducing the chance of sending identical data streams to multiple servers. This trade-off makes it hard to effectively place queries into servers. When we consider queries subscribing to more than one sources and query\/server dynamics, this problem becomes even harder.<\/p>\n

In this paper, we formalize the problem of placing “mice” queries into the servers of a streaming platform. We propose approximation algorithms and derive approximation bounds for the cases, including (1) the offline case where queries are stable and known ahead of time, akin to an “oracle”, and (2) the online case without departures and known query popularities.For the general online problem, we propose effective heuristic algorithms. An extensive set of experiments demonstrate that the proposed algorithms provide good performance in a wide-range of scenarios.<\/p>\n<\/div>\n

<\/p>\n","protected":false},"excerpt":{"rendered":"

Processing streaming queries at scale has received a lot of attention recently. Systems, such as S4, Storm, Photon, MillWheel, and Kinesis, can efficiently execute (“elephant”) queries that process streams with high rates, and typically scale-out the execution of each query. We envision a platform in the opposite side of the spectrum. Our queries process relatively […]<\/p>\n","protected":false},"featured_media":0,"template":"","meta":{"msr-url-field":"","msr-podcast-episode":"","msrModifiedDate":"","msrModifiedDateEnabled":false,"ep_exclude_from_search":false,"_classifai_error":"","footnotes":""},"msr-content-type":[3],"msr-research-highlight":[],"research-area":[13547],"msr-publication-type":[193718],"msr-product-type":[],"msr-focus-area":[],"msr-platform":[],"msr-download-source":[],"msr-locale":[268875],"msr-post-option":[],"msr-field-of-study":[],"msr-conference":[],"msr-journal":[],"msr-impact-theme":[],"msr-pillar":[],"class_list":["post-166008","msr-research-item","type-msr-research-item","status-publish","hentry","msr-research-area-systems-and-networking","msr-locale-en_us"],"msr_publishername":"Microsoft Technical Report","msr_edition":"","msr_affiliation":"","msr_published_date":"2013-12-10","msr_host":"","msr_duration":"","msr_version":"","msr_speaker":"","msr_other_contributors":"","msr_booktitle":"","msr_pages_string":"","msr_chapter":"","msr_isbn":"","msr_journal":"","msr_volume":"","msr_number":"MSR-TR-2013-124","msr_editors":"","msr_series":"","msr_issue":"","msr_organization":"","msr_how_published":"","msr_notes":"","msr_highlight_text":"","msr_release_tracker_id":"","msr_original_fields_of_study":"","msr_download_urls":"","msr_external_url":"","msr_secondary_video_url":"","msr_longbiography":"","msr_microsoftintellectualproperty":1,"msr_main_download":"218041","msr_publicationurl":"","msr_doi":"","msr_publication_uploader":[{"type":"file","title":"Streamin mice-streaming queries as a service.pdf","viewUrl":"https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2013\/12\/Streamin-mice-streaming-queries-as-a-service.pdf","id":218041,"label_id":0}],"msr_related_uploader":"","msr_attachments":[{"id":218041,"url":"https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2013\/12\/Streamin-mice-streaming-queries-as-a-service.pdf"}],"msr-author-ordering":[{"type":"text","value":"Bo Zong","user_id":0,"rest_url":false},{"type":"user_nicename","value":"chrisgk","user_id":31424,"rest_url":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/microsoft-research\/v1\/researchers?person=chrisgk"},{"type":"user_nicename","value":"milanv","user_id":32922,"rest_url":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/microsoft-research\/v1\/researchers?person=milanv"}],"msr_impact_theme":[],"msr_research_lab":[],"msr_event":[],"msr_group":[],"msr_project":[],"publication":[],"video":[],"download":[],"msr_publication_type":"techreport","related_content":[],"_links":{"self":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-research-item\/166008"}],"collection":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-research-item"}],"about":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/types\/msr-research-item"}],"version-history":[{"count":2,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-research-item\/166008\/revisions"}],"predecessor-version":[{"id":531347,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-research-item\/166008\/revisions\/531347"}],"wp:attachment":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/media?parent=166008"}],"wp:term":[{"taxonomy":"msr-content-type","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-content-type?post=166008"},{"taxonomy":"msr-research-highlight","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-research-highlight?post=166008"},{"taxonomy":"msr-research-area","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/research-area?post=166008"},{"taxonomy":"msr-publication-type","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-publication-type?post=166008"},{"taxonomy":"msr-product-type","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-product-type?post=166008"},{"taxonomy":"msr-focus-area","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-focus-area?post=166008"},{"taxonomy":"msr-platform","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-platform?post=166008"},{"taxonomy":"msr-download-source","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-download-source?post=166008"},{"taxonomy":"msr-locale","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-locale?post=166008"},{"taxonomy":"msr-post-option","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-post-option?post=166008"},{"taxonomy":"msr-field-of-study","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-field-of-study?post=166008"},{"taxonomy":"msr-conference","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-conference?post=166008"},{"taxonomy":"msr-journal","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-journal?post=166008"},{"taxonomy":"msr-impact-theme","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-impact-theme?post=166008"},{"taxonomy":"msr-pillar","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-pillar?post=166008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}