scholarly journals Durable functions: semantics for stateful serverless

2021 ◽  
Vol 5 (OOPSLA) ◽  
pp. 1-27
Author(s):  
Sebastian Burckhardt ◽  
Chris Gillum ◽  
David Justo ◽  
Konstantinos Kallas ◽  
Connor McMahon ◽  
...  

Serverless, or Functions-as-a-Service (FaaS), is an increasingly popular paradigm for application development, as it provides implicit elastic scaling and load based billing. However, the weak execution guarantees and intrinsic compute-storage separation of FaaS create serious challenges when developing applications that require persistent state, reliable progress, or synchronization. This has motivated a new generation of serverless frameworks that provide stateful abstractions. For instance, Azure's Durable Functions (DF) programming model enhances FaaS with actors, workflows, and critical sections. As a programming model, DF is interesting because it combines task and actor parallelism, which makes it suitable for a wide range of serverless applications. We describe DF both informally, using examples, and formally, using an idealized high-level model based on the untyped lambda calculus. Next, we demystify how the DF runtime can (1) execute in a distributed unreliable serverless environment with compute-storage separation, yet still conform to the fault-free high-level model, and (2) persist execution progress without requiring checkpointing support by the language runtime. To this end we define two progressively more complex execution models, which contain the compute-storage separation and the record-replay, and prove that they are equivalent to the high-level model.

Constraints ◽  
2020 ◽  
Vol 25 (3-4) ◽  
pp. 319-337 ◽  
Author(s):  
Mark Wallace ◽  
Neil Yorke-Smith

AbstractThe cyclic hoist scheduling problem (CHSP) is a well-studied optimisation problem due to its importance in industry. Despite the wide range of solving techniques applied to the CHSP and its variants, the models have remained complicated and inflexible, or have failed to scale up with larger problem instances. This article re-examines modelling of the CHSP and proposes a new simple, flexible constraint programming formulation. We compare current state-of-the-art solving technologies on this formulation, and show that modelling in a high-level constraint language, MiniZinc, leads to both a simple, generic model and to computational results that outperform the state of the art. We further demonstrate that combining integer programming and lazy clause generation, using the multiple cores of modern processors, has potential to improve over either solving approach alone.


2016 ◽  
Vol 30 (05) ◽  
pp. 1650040
Author(s):  
Furkan Dincer ◽  
Oguzhan Akgol ◽  
Muharrrem Karaaslan ◽  
Emin Unal ◽  
Ekrem Demirel ◽  
...  

In this paper, we have designed, simulated and analyzed a new generation chiral metamaterials (MTMs) with two geometries. There are various types of chiral MTM structures in the literature and almost all of them are indented to be designed for high level of chirality. In fact, small chirality and its application areas were mostly ignored by researchers. In this sense, our study is one of the pioneer works for this type of research. Each structure based on omega resonators (ORs) with small chirality value is investigated both numerically and experimentally. The results are in very good agreement which will lead us to conclude that our structures can be easily used as devices for controlling polarization, EM wave transmission filtering, antireflection and so on for a wide range of the EM spectrum.


2012 ◽  
Vol 2012 ◽  
pp. 1-11 ◽  
Author(s):  
Ghislain Roquier ◽  
Endri Bezati ◽  
Marco Mattavelli

The new generation of multicore processors and reconfigurable hardware platforms provides a dramatic increase of the available parallelism and processing capabilities. However, one obstacle for exploiting all the promises of such platforms is deeply rooted in sequential thinking. The sequential programming model does not naturally expose potential parallelism that effectively permits to build parallel applications that can be efficiently mapped on different kind of platforms. A shift of paradigm is necessary at all levels of application development to yield portable and scalable implementations on the widest range of heterogeneous platforms. This paper presents a design flow for the hardware and software synthesis of heterogeneous systems allowing to automatically generate hardware and software components as well as appropriate interfaces, from a unique high-level description of the application, based on the dataflow paradigm, running onto heterogeneous architectures composed by reconfigurable hardware units and multicore processors. Experimental results based on the implementation of several video coding algorithms onto heterogeneous platforms are also provided to show the effectiveness of the approach both in terms of portability and scalability.


2021 ◽  
Vol 18 (4) ◽  
pp. 1-25
Author(s):  
Paul Metzger ◽  
Volker Seeker ◽  
Christian Fensch ◽  
Murray Cole

Existing OS techniques for homogeneous many-core systems make it simple for single and multithreaded applications to migrate between cores. Heterogeneous systems do not benefit so fully from this flexibility, and applications that cannot migrate in mid-execution may lose potential performance. The situation is particularly challenging when a switch of language runtime would be desirable in conjunction with a migration. We present a case study in making heterogeneous CPU + GPU systems more flexible in this respect. Our technique for fine-grained application migration, allows switches between OpenMP, OpenCL, and CUDA execution, in conjunction with migrations from GPU to CPU, and CPU to GPU. To achieve this, we subdivide iteration spaces into slices, and consider migration on a slice-by-slice basis. We show that slice sizes can be learned offline by machine learning models. To further improve performance, memory transfers are made migration-aware. The complexity of the migration capability is hidden from programmers behind a high-level programming model. We present a detailed evaluation of our mid-kernel migration mechanism with the First Come, First Served scheduling policy. We compare our technique in a focused evaluation scenario against idealized kernel-by-kernel scheduling, which is typical for current systems, and makes perfect kernel to device scheduling decisions, but cannot migrate kernels mid-execution. Models show that up to 1.33× speedup can be achieved over these systems by adding fine-grained migration. Our experimental results with all nine applicable SHOC and Rodinia benchmarks achieve speedups of up to 1.30× (1.08× on average) over an implementation of a perfect but kernel-migration incapable scheduler when migrated to a faster device. Our mechanism and slice size choices introduce an average slowdown of only 2.44% if kernels never migrate. Lastly, our programming model reduces the code size by at least 88% if compared to manual implementations of migratable kernels.


2013 ◽  
Vol 61 (3) ◽  
pp. 569-579 ◽  
Author(s):  
A. Poniszewska-Marańda

Abstract Nowadays, the growth and complexity of functionalities of current information systems, especially dynamic, distributed and heterogeneous information systems, makes the design and creation of such systems a difficult task and at the same time, strategic for businesses. A very important stage of data protection in an information system is the creation of a high level model, independent of the software, satisfying the needs of system protection and security. The process of role engineering, i.e. the identification of roles and setting up in an organization is a complex task. The paper presents the modeling and design stages in the process of role engineering in the aspect of security schema development for information systems, in particular for dynamic, distributed information systems, based on the role concept and the usage concept. Such a schema is created first of all during the design phase of a system. Two actors should cooperate with each other in this creation process, the application developer and the security administrator, to determine the minimal set of user’s roles in agreement with the security constraints that guarantee the global security coherence of the system.


Author(s):  
V. Dodokhov ◽  
N. Pavlova ◽  
T. Rumyantseva ◽  
L. Kalashnikova

The article presents the genetic characteristic of the Chukchi reindeer breed. The object of the study was of the Chukchi reindeer. In recent years, the number of reindeer of the Chukchi breed has declined sharply. Reduced reindeer numbers could lead to biodiversity loss. The Chukchi breed of deer has good meat qualities, has high germination viability and is adapted in adverse tundra conditions of Yakutia. Herding of the Chukchi breed of deer in Yakutia are engaged only in the Nizhnekolymsky district. There are four generic communities and the largest of which is the agricultural production cooperative of nomadic tribal community «Turvaurgin», which was chosen to assess the genetic processes of breed using microsatellite markers: Rt6, BMS1788, Rt 30, Rt1, Rt9, FCB193, Rt7, BMS745, C 143, Rt24, OheQ, C217, C32, NVHRT16, T40, C276. It was found that microsatellite markers have a wide range of alleles and generally have a high informative value for identifying of genetic differences between animals and groups of animal. The number of identified alleles is one of the indicators of the genetic diversity of the population. The total number of detected alleles was 127. The Chukchi breed of deer is characterized by a high level of heterozygosity, and the random crossing system prevails over inbreeding in the population. On average, there were 7.9 alleles (Na) per locus, and the mean number of effective alleles (Ne) was 4.1. The index of fixation averaged 0.001. The polymorphism index (PIC) ranged from 0.217 to 0.946, with an average of 0.695.


2020 ◽  
Author(s):  
Sina Faizollahzadeh Ardabili ◽  
Amir Mosavi ◽  
Pedram Ghamisi ◽  
Filip Ferdinand ◽  
Annamaria R. Varkonyi-Koczy ◽  
...  

Several outbreak prediction models for COVID-19 are being used by officials around the world to make informed-decisions and enforce relevant control measures. Among the standard models for COVID-19 global pandemic prediction, simple epidemiological and statistical models have received more attention by authorities, and they are popular in the media. Due to a high level of uncertainty and lack of essential data, standard models have shown low accuracy for long-term prediction. Although the literature includes several attempts to address this issue, the essential generalization and robustness abilities of existing models needs to be improved. This paper presents a comparative analysis of machine learning and soft computing models to predict the COVID-19 outbreak as an alternative to SIR and SEIR models. Among a wide range of machine learning models investigated, two models showed promising results (i.e., multi-layered perceptron, MLP, and adaptive network-based fuzzy inference system, ANFIS). Based on the results reported here, and due to the highly complex nature of the COVID-19 outbreak and variation in its behavior from nation-to-nation, this study suggests machine learning as an effective tool to model the outbreak. This paper provides an initial benchmarking to demonstrate the potential of machine learning for future research. Paper further suggests that real novelty in outbreak prediction can be realized through integrating machine learning and SEIR models.


Author(s):  
Сергей Иванович Вележев ◽  
Антон Михайлович Седогин

В представленной статье авторами рассматриваются вопросы уголовно-правовой охраны топливно-энергетического комплекса Российской Федерации от преступных проявлений, в том числе от коррупционной противоправной деятельности должностных лиц. Такие действия причиняют значительный ущерб нормальному функционированию предприятий топливно-энергетического комплекса. Авторами приводятся результаты исследования некоторых криминологических характеристик должностных лиц, совершивших преступления коррупционного характера. Дан анализ причин и условий, способствующих совершению вышеуказанных противоправных действий. Определена типовая модель преступника для данной категории преступлений и его характеристики: в первую очередь, это высокий уровень компетентности, специальное образование и т. д. Авторами отмечается высокий уровень латентной преступности в данной отрасли. Предложены некоторые пути профилактики данной категории правонарушений. Исследование проводилось на основе анализа конкретных уголовных дел, возбужденных следственными органами по результатам оперативно-розыскной деятельности правоохранительных органов. In the article the authors consider the issues of criminal and legal protection of the fuel and energy complex of the Russian Federation from criminal activity including corrupt illegal practices of officials. The authors cite the results of some criminological characteristics study of the fuel and energy complex staff committed corruption crimes. As a result of these illegal actions significant damage is caused to the normal functioning of the fuel and energy enterprises. Such officials` actions determine not only a wide range of other illegal activities, but also lead to public outcry and discredit the industry as a whole. The analysis of the reasons and conditions contributing to the above illegal actions commission is given. A typical model of a criminal for a given crime category and its characteristics are determined. First of all it is a high level competence, special education, etc. A high level of latent crime in this industry is shown. The study results are presented on the example of specific criminal cases initiated by the investigating authorities based on the results of the operation detection activities of law enforcement agencies. Some ways of preventing this category of offenses are proposed.


1970 ◽  
Vol 19 (1-2) ◽  
pp. 264-267 ◽  
Author(s):  
F.H. Reuling ◽  
J.T. Schwartz

In the late 1950's and early 1960's, it became evident that some glaucoma patients developed elevations of intraocular pressure, which were difficult to control, following prolonged use of systemic or ocular medications containing corticosteroids (Chandler, 1955, Alfano, 1963; Armaly, 1963). In addition, some patients without glaucoma, when treated with steroids for long periods of time, developed clinical signs of chronic simple glaucoma (McLean, 1950; François, 1954; Covell, 1958; Linner, 1959; Goldman, 1962). Fortunately, the elevation of intraocular pressure was reversible if the drug was discontinued.Over the past decade, extensive investigation of the “steroid response” has been undertaken. For this presentation, the steroid response may be considered as a gradual elevation of intraocular pressure, occurring over several weeks, in an eye being medicated with corticosteroid drops several times a day. The elevation in pressure is usually accompanied by a reduction in the facility of aqueous outflow. When relatively large numbers of subjects were tested with topical steroids, so that a wide range of responsiveness could be observed, a variation in individual sensitivity was demonstrated. Frequency distributions of intraocular pressure or change in pressure following steroids showed a skew toward the high side. On the basis of trimodal characteristics which they observed in such frequency distributions, Becker and Hahn (1964), Becker (1965) and Armaly (1965, 1966) considered the possible existence of several genetically determined subpopulations. These investigators distinguished three subpopulations on the basis of low, intermediate, and high levels of pressure response. It was hypothesized that these levels of response characterized three phenotypes, corresponding to the three possible genotypes of an allele pair, wherein one member of the pair determined a low level of response, and the other member determined a high level of response (Armaly, 1967).


Author(s):  
Robin Orr ◽  
Takato Sakurai ◽  
Jordan Scott ◽  
Jason Movshovich ◽  
J. Jay Dawes ◽  
...  

Tactical personnel work in an occupation that involves tasks requiring a high level of cardiovascular fitness as well as muscular strength and endurance. The aim of this literature review was to identify and critique studies investigating the relationship between physical fitness, quantified by fitness assessment measures, and occupational task performance. Databases were searched for relevant articles which assessed a fitness measure and a measure of occupational performance. A total of 15 articles were included and were deemed to be of acceptable methodological quality (8.4/12 on the Critical Appraisal Skills Programme checklist). Included articles assessed a variety of fitness attributes and occupational tasks. Across tactical groups, there appear to be no standardized fitness tests that can determine occupational performance, with aerobic fitness, anaerobic fitness, strength, endurance, power, and agility all being associated with occupational task performance. A wide range of fitness assessments appears to be required to predict occupational performance within tactical personnel. Efforts should be made to base fitness assessments on occupational demands unique to both the environment and requirements of each individual tactical unit.


Sign in / Sign up

Export Citation Format

Share Document