Computing systems and associated networks have revolutionized the way human beings work, play, and communicate. Nearly every aspect of our lives is affected in some way by computing systems. Computing systems rely on having ready access to data. To promote ready access, file systems typically organize data within files, and allow those files to be placed within a directory structure. The file system also allows for creation, modification and deletion of files or directories. Accordingly, data may be organized in a fashion that is convenient, intuitive, and deterministic way for a human user and/or a computer program so that data can be properly retrieved as needed.
A directory structure for a file system may be confined to a particular local hard drive. However, more recently, the directory structure may include directories that include files accessible over a network. Remoting software often allows a local view of a file system in which the entirety of the file system is remotely located. Accordingly, file systems may conventionally be distributed.
The subject matter claimed herein is not limited to embodiments that solve any disadvantages or that operate only in environments such as those described above. Rather, this background is only provided to illustrate one exemplary technology area where some embodiments described herein may be practiced.
At least some embodiments described herein relate to a distributed file system that includes multiple computing node tiers. Each of at least some of the multiple computing node tiers has multiple computing nodes having like characteristics. For instance, the computing nodes of a front end computing node tier may each be front end computing nodes that have a similar topological proximity to file system requestors. As an example, such front end computing nodes may handle connections from a load balancer that has a common web address or Internet Protocol (IP) address. Also for instance, the computing nodes of a back end computing node tier may each be back end computing nodes that have a similar topological proximity to a durable store. As an example, such back end computing nodes may be able to mount data portions (e.g., shares, partitions, directories) within the durable store.
The distributed file system also has an executable component in the form of a distribution component that comprises logic that distributes state of file system entities amongst the computing node tiers. The distribution is performed so that durability guarantees remain met and/or to reduce latency of file system requests due to state responsive to many requests being much closer latency wise to the file system requestor(s). This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.
In order to describe the manner in which the above-recited and other advantages and features can be obtained, a more particular description of various embodiments will be rendered by reference to the appended drawings. Understanding that these drawings depict only sample embodiments and are not therefore to be considered to be limiting of the scope of the invention, the embodiments will be described and explained with additional specificity and detail through the use of the accompanying drawings in which:
At least some embodiments described herein relate to a distributed file system that includes multiple computing node tiers. Each of at least some of the multiple computing node tiers has multiple computing nodes having like characteristics. For instance, the computing nodes of a front end computing node tier may each be front end computing nodes that have a similar topological proximity to file system requestors. As an example, such front end computing nodes may handle connections from a load balancer that has a common web address or Internet Protocol (IP) address. Also for instance, the computing nodes of a back end computing node tier may each be back end computing nodes that have a similar topological proximity to a durable store. As an example, such back end computing nodes may be able to mount data portions (e.g., shares, partitions, directories) within the durable store.
The distributed file system also has an executable component in the form of a distribution component that comprises logic that distributes state of file system entities amongst the computing node tiers. The distribution is performed so that durability guarantees remain met and/or to reduce latency of file system requests due to state responsive to many requests being much closer latency wise to the file system requestor(s).
Some introductory discussion of a computing system will be described with respect to
Computing systems are now increasingly taking a wide variety of forms. Computing systems may, for example, be handheld devices, appliances, laptop computers, desktop computers, mainframes, distributed computing systems, datacenters, or even devices that have not conventionally been considered a computing system, such as wearables (e.g., glasses). In this description and in the claims, the term “computing system” is defined broadly as including any device or system (or combination thereof) that includes at least one physical and tangible processor, and a physical and tangible memory capable of having thereon computer-executable instructions that may be executed by a processor. The memory may take any form and may depend on the nature and form of the computing system. A computing system may be distributed over a network environment and may include multiple constituent computing systems.
As illustrated in
The computing system 100 also has thereon multiple structures often referred to as an “executable component”. For instance, the memory 104 of the computing system 100 is illustrated as including executable component 106. The term “executable component” is the name for a structure that is reasonably well understood to one of ordinary skill in the art in the field of computing as being a structure that can be software, hardware, or a combination thereof. For instance, when implemented in software, one of ordinary skill in the art would understand that the structure of an executable component may include software objects, routines, methods that may be executed on the computing system, whether such an executable component exists in the heap of a computing system, or whether the executable component exists on computer-readable storage media.
In such a case, one of ordinary skill in the art will recognize that the structure of the executable component exists on a computer-readable medium such that, when interpreted by one or more processors of a computing system (e.g., by a processor thread), the computing system is caused to perform a function. Such structure may be computer-readable directly by the processors (as is the case if the executable component were binary). Alternatively, the structure may be structured to be interpretable (e.g., as in the case of intermediate language component) or compiled (as in the case of a source code component) so as to generate such binary that is directly interpretable by the processors. Such an understanding of example structures of an executable component is well within the understanding of one of ordinary skill in the art of computing.
The term “executable component” is also reasonably well understood by one of ordinary skill as including structures that are implemented exclusively or near-exclusively in hardware, such as within a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or any other specialized circuit. Accordingly, the term “executable component” is a term for a structure that is reasonable well understood by those of ordinary skill in the art of computing, whether implemented in software, hardware, or a combination. In this description, the terms “service”, “engine”, “module” of the like may also be used. As used in this description and in the case, these terms are also intended to be synonymous with the term “executable component”, and thus also have a structure that is sufficiently well understood by those of ordinary skill in the art of computing.
In the description that follows, embodiments are described with reference to acts that are performed by one or more computing systems. If such acts are implemented in software, one or more processors (of the associated computing system that performs the act) direct the operation of the computing system in response to having executed computer-executable instructions that constitute an executable component. For example, such computer-executable instructions may be embodied on one or more computer-readable media that form a computer program product. An example of such an operation involves the manipulation of data.
The computer-executable instructions (and the manipulated data) may be stored in the memory 104 of the computing system 100. Computing system 100 may also contain communication channels 108 that allow the computing system 100 to communicate with other computing systems over, for example, network(s) 110. The computing system 100 may also include a display, which may be used to display visual representations to a user.
Embodiments described herein may comprise or utilize a special purpose or general-purpose computing system including computer hardware, such as, for example, one or more processors and system memory, as discussed in greater detail below. Embodiments described herein also include physical and other computer-readable media for carrying or storing computer-executable instructions and/or data structures. Such computer-readable media can be any available media that can be accessed by a general purpose or special purpose computing system. Computer-readable media that store computer-executable instructions are physical storage media. Computer-readable media that carry computer-executable instructions are transmission media. Thus, by way of example, and not limitation, embodiments of the invention can comprise at least two distinctly different kinds of computer-readable media: storage media and transmission media.
Computer-readable storage media includes RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other physical and tangible storage medium which can be used to store desired program code means in the form of computer-executable instructions or data structures and which can be accessed by a general purpose or special purpose computing system.
A “network” is defined as one or more data links that enable the transport of electronic data between computing systems and/or modules and/or other electronic devices. When information is transferred or provided over a network or another communications connection (either hardwired, wireless, or a combination of hardwired or wireless) to a computing system, the computing system properly views the connection as a transmission medium. Transmissions media can include a network and/or data links which can be used to carry desired program code means in the form of computer-executable instructions or data structures and which can be accessed by a general purpose or special purpose computing system. Combinations of the above should also be included within the scope of computer-readable media.
Further, upon reaching various computing system components, program code means in the form of computer-executable instructions or data structures can be transferred automatically from transmission media to storage media (or vice versa). For example, computer-executable instructions or data structures received over a network or data link can be buffered in RAM within a network interface module (e.g., a “NIC”), and then eventually transferred to computing system RAM and/or to less volatile storage media at a computing system. Thus, it should be understood that storage media can be included in computing system components that also (or even primarily) utilize transmission media.
Computer-executable instructions comprise, for example, instructions and data which, when executed at a processor, cause a general purpose computing system, special purpose computing system, or special purpose processing device to perform a certain function or group of functions. Alternatively or in addition, the computer-executable instructions may configure the computing system to perform a certain function or group of functions. The computer executable instructions may be, for example, binaries or even instructions that undergo some translation (such as compilation) before direct execution by the processors, such as intermediate format instructions such as assembly language, or even source code.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the described features or acts described above. Rather, the described features and acts are disclosed as example forms of implementing the claims.
Those skilled in the art will appreciate that the invention may be practiced in network computing environments with many types of computing system configurations, including, personal computers, desktop computers, laptop computers, message processors, hand-held devices, multi-processor systems, microprocessor-based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, mobile telephones, PDAs, pagers, routers, switches, datacenters, wearables (such as glasses) and the like. The invention may also be practiced in distributed system environments where local and remote computing systems, which are linked (either by hardwired data links, wireless data links, or by a combination of hardwired and wireless data links) through a network, both perform tasks. In a distributed system environment, program modules may be located in both local and remote memory storage devices.
Each of at least some of the computing node tiers includes multiple computing nodes. For instance, first computing node tier 210 is illustrated as including three computing nodes 211, 212 and 213, though the ellipses 214 represents that there may be any number of computing nodes within the computing node tier 210. Furthermore, the second computing node tier 220 is illustrated as including four computing nodes 221, 222, 223 and 224, though the ellipses 215 again represent that there may be any number of computing nodes within the computing node tier 220 as well. Each computing node may be a virtual machine or a physical machine. For instance, each computing node may be structured as described above for the computing system 100.
The tiers are organized according to like characteristics. For instance, the first computing node tier 210 may include computing nodes that have a given like characteristic; and the second computing node tier 220 may include computing nodes that have another given like characteristic. The like characteristic for a given computing node may, for instance, be those computing nodes that are able to perform a particular function. As another example, the like characteristic may include an ability to respond to a file system request within a given latency performance range provided the information required to respond to the request is at the computing node. Furthermore, ready access to a durable store helps to meet durability guarantees.
The distributed file system 200 may also include a distribution component 240 that includes logic 241 that distributes state of a file system entities amongst the computing node tiers so that latency of file system requests are reduced while maintaining expected durability guarantees. For instance, such reduction in latency may be due to state of the file system entities sufficient to respond to some of the file system requests being placed in a computing node tier that is topographically closer to the file system requestor than the state might otherwise be absent such distribution.
As an example,
Furthermore, in this example, the computing node tier 520 is a back end computing node tier that interfaces with a durable store 502. The durable store 502 may store a mountable data share 503 that has an associated directory structure. For instance, any one or more or all of the back end computing nodes 521, 522, 523, 524 or 525 may mount the data share 503 so as to have claim on the ability to execute file system commands on the data share 503. In this example, possible mountings between the respective back end computing node 521 through 525 and the data share 503 is represented by dotted lines 541 through 545.
The environment 500 also includes an executable component 540 called herein a distribution component 540. The distribution component 540 of
The execution of the executable component thereby triggers logic (act 602) that distributes (act 603) state of multiple of the file system entities amongst at least some of the computing node tiers. Accordingly, in
The exact mechanism for distribution is not important. However, the distribution occurs such that durability guarantees are met, and/or such that the latency of file system requests are reduced due to state of the file system entity that is the subject of the corresponding file system request being in a computing node tier that is closer to the corresponding file system request than another computing system node. For instance, in the case of
This reduced latency may be achieved by distributing state such that state that has a state lifetime that tends to be shorter (i.e., transient state) is placed in a front end computing node within the front end computing node tier 510, while state having a state lifetime that tends to be longer (i.e., durable state) and/or that is more critical to maintaining durability guarantees is placed in a back end computing node within the back end computing node tier 520. In other words, the more transient the state and/or the fewer durability guarantees associated with the state, the topologically closer the state might be placed in the computing node tiers.
However, the lifetime of state and the durability guaranty levels of the state might be just be a few of a host of parameters that are considered by the executable components 240 and 540 in determining which computing node tier to place particular file system entity state within. Other factors might include size of the state, reproducibility (e.g., difficulty in reproducing) the state, and so forth. An example algorithm might include, for instance, a simple weighted summation of each of these factors, comparing the summation to a threshold range for each tier, matching the weighted sum to a threshold range of a given tier, and assigning the state to that tier. Another consideration is that back end nodes by their very nature of mounting some or all of a data share are a centralized contended resource. For instance, the back end nodes may be mounted to a partition. Furthermore, the mechanics of data share movement can introduce significant delays.
Accordingly, the principles described herein provide an effective mechanism to distribute file system entity state amongst multiple tiers of a distributed file system entity in a manner that reduces latency of file system requests while maintaining expected durability guarantees. The distribution mechanisms might factor in other goals as well, such as effective use of bandwidth between computing node tiers, effective use of processing capability, and so forth, so as to achieve closer to maximum utilization efficiency of the distributed file system as a whole. Thus, the principles described herein provide a technical improvement in the field of distributed file system that are stateful in that the file system entities have associated state.
The present invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described embodiments are to be considered in all respects only as illustrative and not restrictive. The scope of the invention is, therefore, indicated by the appended claims rather than by the foregoing description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.