This paper introduces a new resource allocation problem in distributed computing called distributed serving with mobile servers (DSMS). In DSMS, there are $k$ identical mobile servers residing at the processors of a network. At arbitrary points of time, any subset of processors can invoke one or more requests. To serve a request, one of the servers must move to the processor that invoked the request. Resource allocation is performed in a distributed manner since only the processor that invoked the request initially knows about it. All processors cooperate by passing messages to achieve correct resource allocation. They do this with the goal to minimize the communication cost.
Routing servers in large-scale distributed systems requires a scalable location service. We introduce the distributed protocol GNN that solves the DSMS problem on overlay trees. We prove that GNN is starvation-free and correctly integrates locating the servers and synchronizing the concurrent access to servers despite asynchrony, even when the requests are invoked over time. Further, we analyze GNN for "one-shot" executions, i.e., all requests are invoked simultaneously. We prove that when running GNN on top of a special family of tree topologies---known as hierarchically well-separated trees (HSTs)---we obtain a randomized distributed protocol with an expected competitive ratio of $O(\log n)$ on general network topologies with $n$ processors. From a technical point of view, our main result is that GNN optimally solves the DSMS problem on HSTs for one-shot executions, even if communication is asynchronous. Further, we present a lower bound of $Ω(\max\{k, \log n/\log\log n\})$ on the competitive ratio for DSMS. The lower bound even holds when communication is synchronous and requests are invoked sequentially.
FlexPipe: Adapting Dynamic LLM Serving Through Inflight Pipeline Refactoring in Fragmented Serverless Clusters
Shenzhen Institutes of Advanced Technology, CAS(中国科学院深圳先进技术研究院);UCAS(中国科学院大学);UC San Diego(加州大学圣地亚哥分校);Nanyang Technological University(南洋理工大学);University of Macau(澳门大学)
Batch is back: CasJobs, serving multi-TB data on the Web
斯隆数字巡天(SDSS)科学数据库描述了超过1.4亿个物体,大小超过1.5 TB。SDSS目录存档服务器(CAS)通过SkyServer网站提供了对SDSS数据的几个级别的查询接口。大多数查询在几秒或几分钟内执行。但是,有些查询可能需要数小时或数天的时间,因为它们需要对最大的表进行非索引扫描,或者因为它们请求非常大的结果集,或者因为它们表示非常复杂的数据聚合。这些“怪物查询”不仅花费很长时间,还影响其他所有人的响应时间-其中一个或多个查询可能会阻塞整个系统。为了改善这一问题,我们开发了一个多服务器多队列批量作业提交和跟踪系统的CAS称为CasJobs。通过网络传输查询的非常大的结果集是另一个严重的问题。统计数据表明,这种数据传输大部分是不必要的;用户更愿意将结果存储在本地,以便允许进一步的连接和过滤。为了允许本地分析,开发了一个系统,在服务器端为用户提供他们自己的个人数据库(MyDB)。用户可以将数据传输到他们的MyDB,然后在将其提取到自己的机器之前进行进一步分析。MyDB表还提供了一种与协作者共享查询结果的方便方法,而无需下载它们。CasJobs是使用SOAP XML Web服务构建的,自2004年5月以来一直在运行。