The advent of the Internet of Things (IoT) technology has made it possible for different devices to be widely connected to the Internet and interact. It has led to the production of large amounts of heterogeneous data. On the other hand, cloud computing is a convenient and efficient processing model for storing and processing data. Still, the increasing demand for real-time and delay-sensitive applications is increasing day by day. Due to network bandwidth limitations, these problems cannot be solved using cloud computing alone. A fog layer located between the IoT devices and the cloud computing layer has been proposed to overcome the problem of resource constraints in mobile devices. delay-sensitive applications run that require more volume and power resources. In this paper, end-to-end architecture for integrating IoT, fog, and cloud layers into a large-scale dispatched application is proposed to support high availability to make efficient use of fog-cloud resources and achieve the appropriate quality of service (QoS) in terms of delay and failure probability criteria. The mentioned architecture consists of three hierarchal layers: IoT devices, fog nodes, and cloud data centers. Depending on the processing power of each layer's resources, user requests may be executed on the same layer or sent to a higher layer. Then, quality characteristics such as availability, performance, and interoperability for the proposed architecture are evaluated by the ATAM scenario-based method. The basis of architectural evaluation and analysis in this method is the study of the requirements and the quality characteristics of the system architecture.