This disclosure relates generally to data streaming systems, and more specifically to verifying the sequence of messages sent via data streaming systems.
A data storage system may provide computing resources to various groups of users. For example, a data storage system may be accessible to, and be configured to manage data for, users associated with the various groups. In various instances, a user or software application may generate a data event for data managed by the data storage system, e.g., by creating or modifying a database record. In some such instances, it may be desirable for a client to be notified of data events associated with a particular group of users that match one or more criteria.
In various instances, a data storage system may be configured to provide notification messages according to a publish/subscribe model, in which a client may specify one or more criteria for data events. When a data event then occurs that matches at least one of the criteria, the data storage system may send a notification message for the data event to the client. In various instances, it may be desirable for the client to receive notification messages for data events in the order in which the data events occurred.
In various instances, a data storage system may be configured to monitor data events associated with various groups of users. Further, the data storage system may be configured to provide notification messages to one or more systems in response data messages meeting one or more criteria. As provided below, the present disclosure generally describes various aspects associated with such data storage system. A first set of embodiments described with reference to
Referring to
In various embodiments, data storage system 102 may be configured to provide computing resources to various groups of users 116. As shown in
In the illustrated embodiment, data storage system 102 includes event monitor 103, messaging platform 104, event criteria 105, and data store 106. In some embodiments, data storage system 102 may include, or manage data used by, one or more application servers (not shown) configured to host software applications for the various groups 114. In implementing the software applications, data storage system 102 may be configured to store data to, and read data from, data store 106. For example, data store 106 may include one or more databases configured to store data for the various groups 114 and users 116.
In various embodiments, users 116 or software applications may generate various data “events” by manipulating one or more items of data stored by data store 106. For example, in some embodiments, such events may include the creation, deletion, or modification of a database record stored by data store 106. Users 116 may generate events, for example, by using one or more software applications provided by data storage system 102 to manipulate data stored by data store 106.
As shown in
In some instances, it may be desirable to notify one or more users or entities, such as external system 112, of data events that match certain criteria. In various embodiments, data storage system 102 may be configured to provide notification messages (or simply “messages”) according to a publish/subscribe model, in which data storage system 102 provides “push” notification messages to one or more clients (e.g., users 116, external system 112, etc.) in response to an event matching predetermined criteria. For example, in various embodiments, a client (e.g., one of users 116 or external system 112) may define a “channel” of events for which to receive notification messages by specifying criteria for those events (e.g., as a SQL query). In such embodiments, the client may then “subscribe” to that channel (using any suitable techniques, e.g., a combination of the Bayeux protocol and CometD) to receive notification messages whenever an event is generated that meets one or more of the specified criteria. For example, when a data event occurs, event monitor 103 may be configured to then evaluate that event by comparing it to various criteria specified in event criteria 105. In such embodiments, when the data event meets one or more of the criteria specified for a particular group (e.g., group 114A), messaging platform 104 may be configured to send a notification message, such as message 117, for this event to streaming application 110 executing on streaming server system 108.
After receiving the messages from data storage system 102, streaming application may be configured to provide these messages to the appropriate external system or users based on the group 114 associated with the data event. That is, streaming application 110 may receive notification messages corresponding to various groups 114, and may then send those messages to external systems authorized by, or otherwise associated with, the respective groups 114. For example, in some embodiments, streaming application 110 may provide one or more messages to a particular group 114 by sending message data 130 corresponding to those messages to an external system 112 associated with the particular group. In other embodiments, however, streaming application 110 may provide one or more messages to a particular group 114 by storing data corresponding to the set of messages in a message queue (not separately shown in
Such notification messages may be advantageous in various situations. For example, in one particular embodiment, external system 112 may be a data analytics system (e.g., SALESFORCE IQ) that analyzes data for a group of users (e.g., users 116B and 116C of group 114B) to generate insightful information that may be used to augment other software applications. For example, in an embodiment in which user 116B is a salesperson that uses computing resources provided by data storage system 102, data store 106 may store various items of information associated with user 116B, such as client lists, client communications, calendar entries, sales records, etc. In one embodiment, group 114B may opt to use external system 112 to analyze the data in data store 106 associated with user 116B to generate information that may be used to augment one or more software applications used by user 116B (e.g., generate a list of suggested tasks based on correspondence with a potential client). Thus, in such embodiments, it may be desirable to provide external system 112 with notification messages specifying the details of data events that match certain criteria. Note, however, that this particular embodiment is provided merely as an example and is not intended to limit the scope of this disclosure. In other embodiments, external system 112 may be any other suitable type of system to which notification messages may be sent.
Although only two groups 114 are shown in
To provide a robust notification system, it may be desirable to verify that each of the messages sent by data storage system 102 is received by streaming application 110, in some embodiments. In some instances, however, various messages, or portions of messages, may be lost during transmission from data storage system 102 to streaming server system 108, e.g., due to data packages being dropped by intervening network components, etc. Additionally, in some embodiments, it may be desirable for external system 112 to receive the messages from data storage system 102 in the order that they were sent. In fact, for some sequence-driven applications, a particular external system 112 may require that it receives notification messages for data events in the order in which the data events occurred. For example, in the above-described example in which external system 112 performs data analytics on user 116B's data, external system 112 may, in some embodiments, be required to receive and analyze data corresponding to earlier events before receiving and analyzing data corresponding to subsequent events in order to properly generate insightful data. In some instances, however, one or more messages may be delayed or otherwise disrupted such that streaming application 110 receives those one or more messages out of their intended order.
The systems and methods disclosed herein may enable streaming application 110 to verify that it receives each of the messages sent by data storage system 102, and to verify that the messages it receives are in the order in which they were sent by data storage system 102. For example, as shown in
Message 117 further includes a sequence number 120. As explained in more detail below with reference to
In various embodiments, streaming application 110 may be configured to verify the sequence of the messages received from data storage system 102 prior to providing the messages to external system 112. For example, as described with reference to
In response to receiving resend request 122, data storage system 102 may, in various embodiments, be configured to resend the particular message (e.g., message 126) that was not initially received (or was received out of order) by streaming application 110. In some such embodiments, message 126 that is resent by data storage system 102 may include one or more items of information that were included in the original message 126, such as event identifier 124 or sequence number 128. In various embodiments, once streaming application 110 receives the resent message 126, it may be configured to again verify the sequence of the messages that it has received, e.g., to ensure that there are not additional messages that were lost or delayed in transit to streaming application 110. Once the messages have been received by streaming application 110, it may be configured to provide access to those messages to external system 112, as discussed above.
Turning now to
As will be described in more detail below with reference to
Further, each of the messages 200-206 include an event identifier. As noted above, in various embodiments, data storage system 102 may be configured to monitor events for a plurality of groups 114. For example, data storage system 102 may be configured to monitor data events for data associated with group 114A that is stored in data store 106, as well as data events for data associated with group 114B. Further, as noted above, data storage system 102 may be configured to assign each of the events an event identifier value that refers to the position of a given event within the stream of events that occur at data storage system 102. The manner in which data storage system 102 assigns the event identifiers may vary according to various embodiments. For example, in the depicted embodiment, data storage system 102 may use a counter to assign event identifiers to events, with the event identifier values being incremented for each successive data event that occurs during a given time period. In other embodiments, however, data storage system 102 may assign event identifiers to events based on any suitable function, incremental value, or pattern.
Note that, in the embodiment shown in
Further, as shown in
In various embodiments, streaming application may be configured to detect that message 204 has been lost based on the group-specific sequence numbers, as explained in more detail below with reference to
For example, after verifying message 202, streaming application may determine that, based on the sequence number in message 202 (e.g., “2”) and the function used to determine the group-specific sequence numbers (e.g., Sequence Numbern=Sequence Numbern-1+1), the expected sequence number for the next message it receives for group 114B is “3”. In comparing the sequence number in message 206 with this expected sequence number, streaming application 110 may determine that a particular message (e.g., message 204) has been lost, delayed, or otherwise disrupted such that it received message 206 out of its intended order. In response to this determination, streaming application 110 may send a request (e.g., resend request 122) to data storage system 102 requesting that message 204 be resent. In various embodiments, this request may include the event identifier for the most recently verified message (e.g., event identifier 450 from message 202).
In response to receiving this resend request, data storage system 102 may resend one or more messages to streaming application 110 based on the event identifier included in the resend request. For example, as shown in
Referring now to
In
In the depicted embodiment, streaming application 110 includes various modules, including expected sequence number generator 302, comparator 304, message sequence determination module 306, and resend request generator 308. In various embodiments, streaming application 110 may be configured to receive various messages, such as message 206, from data storage system 102 and verify the sequence of those messages. As shown in
For example, in the embodiment of
Comparator 304 may be configured to compare this expected sequence number 312 (e.g., “3”) with the sequence number from message 206 (e.g., “4”) and generate comparison result 314. In various embodiments, comparison result 314 may be expressed as a Boolean value, numeric value, or in any other suitable format that specifies the outcome of the comparison performed by comparator 304.
In various embodiments, message sequence determination module 306 may be configured to generate sequence determination 316 based on comparison result 314. For example, in response to comparison result 314 indicating that the sequence number from message 206 matches the expected sequence number 312, message sequence determination module 306 may be configured to generate sequence determination 316 indicating that the sequence of message 206 is verified. Alternatively, in response to comparison result 314 indicating that the sequence number from message 206 does not match expected sequence number 312, message sequence determination module 306 may be configured to generate sequence determination 316 indicating that the sequence of message 206 is not verified (that is, one or more messages have not been received by the streaming server system in the order they were sent by data storage system 102).
In various embodiments, resend request generator 308 may be configured to generate a resend request, such as resend request 122, in response to sequence determination 316 indicating that the sequence of message 206 is not verified. For example, in response to sequence determination 316 indicating that the sequence of message 206 is not verified, resend request generator 308 may be configured to generate resend request 122, which may then be sent to data storage system 102. In various embodiments, resend request may include an event identifier 124 corresponding to the event identifier of the most-recently verified message received by streaming application 110 (e.g., message 202, in the depicted embodiment). For example, streaming application 110 may store, either in a data store associated with streaming server system 108 or a remote data store accessible to streaming server system 108, information corresponding to the messages that it receives, such as the event identifiers and corresponding group-specific sequence numbers. Streaming application 110 may then, in various embodiments, use this information to retrieve messages corresponding to events that are within a predefined retention window (e.g., 24 hours, 48 hours, etc.). As described above, once data storage system 102 receives this resend request 122, it may use the included event identifier 124 to resend one or more messages to streaming application 110.
Thus, by comparing the group-specific sequence numbers in the messages it receives to expected sequence numbers, streaming application 110 may be configured to verify both that it receives each of the messages sent by data storage system 102, and that each of the messages it does receive is in the intended sequence (e.g., in the sequence in which the corresponding data events occurred). As these group-specific sequence numbers may be specified in an application data portion of messages, in various embodiments, the disclosed systems and methods may not be limited to any particular communication protocol used to transmit the messages. Further, in response to determining that a particular message has been either lost or delayed, streaming application 110 may be configured to correct this transmission problem using one or more event identifiers to request the lost or delayed message(s) be resent. Accordingly, the disclosed systems and methods may increase the accuracy of the messages sent via data storage system 102 and streaming application 110, thereby improving the functioning of system 100 as a whole. Thus, the disclosed systems and methods may, in various embodiments, provide a technical improvement to the functioning of streaming data systems, allowing systems (e.g., external system 112) that utilize the disclosed systems and methods to operate more efficiently.
Turning now to
As shown in
In the depicted embodiment, the “group_ID” field is used to specify the group 114 to which message 400 corresponds. As noted above, data storage system 102 may provide computing resources for numerous groups 114, with streaming application 110 providing streaming services for many of those groups. Accordingly, streaming application 110 may use the “group_ID” field to retrieve stored event identifier or sequence number information when verifying the sequence of messages it receives. For example, in
Message 400 further includes an “event_ID” field, which may be used to specify the event identifier of the event for which message 400 was sent. As noted above, the event identifier specified in the “event_ID” field may be refer to the position of an event within the stream of events that occur at data storage system 102 during a given time period. Message 400 further includes a “sequence_number” field, which may be used to specify a group-specific sequence number for the message 400. As noted above, the group-specific sequence number may be based on a monotonically increasing function and be used to verify the sequence of messages received by streaming application 110. The “payload” field of message 400 may be used to specify details associated with the data event, such as type of event, user or application that initiated the event, etc. Further, the “channel” field of message 400 may be used to specify the channel for which message 400 is sent.
Additionally, as demonstrated by
Referring now to
In
Method 500 then proceeds to element 504, which, as described in more detail below with reference to
Method 500 then proceeds to element 506, which includes, in response to the detecting, sending, by the streaming server system 108 to the data storage system 102, a request for the particular message, where the request specifies an event identifier included in one of the set of messages. For example, as shown in
Method 500 then proceeds to element 508, which includes receiving, by the streaming server system 108 from the data storage system 102, the particular message in response to the request. For example, in response to receiving the resent request 122, data storage system 102 may resend message 204 to streaming application 110.
Turning now to
Element 602 includes determining an expected sequence number based on a first group-specific sequence number included in a first message of the set of messages. For example, with reference to
Method 600 then proceeds to element 604, which includes comparing the expected sequence number to a second group-specific sequence number included in a subsequent message of the set of messages. For example, comparator 304 may be configured to compare the expected sequence number 312 to the sequence number included in message 206 to generate comparison result 314.
Method 600 then proceeds to element 606, which includes determining whether the second group-specific sequence number matches the expected sequence number. For example, message sequence determination module 306 may be configured to generate sequence determination 316 based on comparison result 314. If the second group-specific sequence number matches the expected sequence number, method 600 proceeds to element 608, which includes verifying the message. If, however, the second group-specific sequence number does not match the expected sequence number, method 600 proceeds to element 610, which includes identifying the event identifier included in the first message. In various embodiments, this event identifier may be included in a resend request, such as resend request 122, sent to data storage system 102, as described with reference to
Referring now to
Element 702 includes monitoring database events associated with various ones of a plurality of groups. For example, data storage system 102 may be accessible to a plurality of groups 114, and may be configured to send a message to streaming server system 108 in response to a given database event matching criteria specified by a corresponding group.
Method 700 then proceeds to element 704, which includes sending a plurality of messages to streaming server system 108, where the plurality of messages correspond to a plurality of database events associated with a first group (e.g., group 114B). In some embodiments, each of the plurality of messages may include an event identifier, such as event identifier 118, for a corresponding database event, and a group-specific sequence number, such as sequence number 120, associated with the first group. In some embodiments, sending the plurality of messages may include determining content for the given message based on an associated database event (e.g., event detail such as event type, date, time, etc.). Further, in some embodiments, sending the plurality of messages may include determining a group-specific sequence number (e.g., sequence number 120) associated with the first group to include in the given message. In some such embodiments, the group-specific sequence number may be a number from a monotonically-increasing sequence of numbers that is incremented for each successive event that matches one or more criteria associated with a particular group during a given time period.
Note that, in some embodiments, the first group (e.g., group 114B) may specify multiple criteria for which notification messages are to be sent. In such an embodiment, element 704 may include sending a first subset of messages in response to database events matching a first criteria specified by the first group, and sending a second subset of messages in response to database events matching a second criteria specified by the first group. Further, in such an embodiment, element 704 may include determining a different group-specific sequence number associated with the first group for each of the plurality of messages, where the different group-specific sequence numbers are based on a monotonically-increasing function and are incremented for each successive event that matches one or more criteria associated with the particular group, including the first and second criteria, during a given time period.
Method 700 then proceeds to element 706, which includes receiving, from streaming server system 108, an indication that a particular message, such as message 126, was not received by streaming server system 108, where the indication specifies a particular event identifier associated with a last verified message received by the streaming server system 108 for the first group.
Method 700 then proceeds to element 708, which includes resending the particular message to the streaming server system 108 based on the particular identifier. In some embodiments, resending the particular message may include sending a second message that includes the particular event identifier and the particular group-specific sequence number associated with the first group that were included in the originally-send particular message.
Further, as noted above, data storage system 102 may be configured to monitor database events associated with a plurality of groups. Accordingly, in some embodiments, method 700 may further include sending a second plurality of messages to streaming server system 108, where the second plurality of messages correspond to a second plurality of database events associated with a second group of the plurality of groups. In such embodiments, each of the second plurality of messages may include an event identifier for a corresponding database event of the second plurality of database events, and a group-specific sequence number associated with the second group, where the group-specific sequence numbers associated with the second group are determined independently from the group-specific sequence number associated with the first group.
With reference to
In some such embodiments, it may be desirable for external system 112 to receive notification messages not only for present data events that meet one or more criteria, but also for past data events that were generated before group 114B opted to use the services provided by external system 112. Stated differently, a number of data events associated with group 114B may have been generated (e.g., by users 116B-116C, software applications, etc.) prior to group 114B electing to use the services provided by external system 112. To provide its data analytic services, it may be desirable for external system 112 to have data corresponding to all or some of those past data events (e.g., those past data events that satisfy at least one of one or more specified criteria) in addition to having data corresponding to events taking place after group 114B opts to use the services provided by external system 112, in some embodiments.
In some such embodiments, data storage system 102 may be configured to perform a bulk data extraction for group 114B by identifying past events associated with group 114B that meet one or more specified criteria and sending messages associated with those events to streaming application 110. Streaming application 110 may be configured to provide the messages associated with the bulk data extraction to external system 112.
In some embodiments, such a bulk data extraction may be a time-consuming process (e.g., multiple days in duration). Further, while the bulk data extraction is taking place, various data events associated with group 114B may be generated at data storage system 102. In various embodiments, it may be desirable to send notification messages corresponding to these intervening events (that is, the data events being generated while the bulk data extraction is being performed) to external system 112. One possible approach may be to send notification messages corresponding to these intervening events as the intervening events occur, such that the bulk data extraction and the messages for the intervening events are sent in parallel. As noted above, however, it may also be desirable, in various embodiments, for external system 112 to receive notification messages for data events in the order in which the data events were generated, and such parallel transmission of the notification messages may cause streaming application 110 to receive the notification messages out of this time-ordered sequence.
Turning now to
In
With reference to
In some embodiments, data storage system 802 may be configured to, in response the first request, send notification message 852 to streaming application 810. As shown in
Subsequent to sending message 852, data storage system 802 may, in various embodiments, be configured to perform bulk data extraction 854. As noted above, in various embodiments, bulk data extraction 854 for group 814B may correspond to a transfer of messages for past data events of group 814B that meet one or more specified criteria. For example, in one embodiment, bulk data extraction 854 may correspond to a transfer of notification messages for all past data events for group 814B that match a first and second specified criteria.
As noted above, bulk data extraction 854 may be a time-consuming process (e.g., multiple days in duration), in some embodiments. While bulk data extraction 854 is taking place, various data events associated with group 114B may be generated (e.g., by users 816B or 816C, software applications, etc.) at data storage system 802. In various embodiments, data storage system 802 may be configured, e.g., using event monitor 803, to monitor these intervening data events associated with group 114B while the bulk data extraction is being performed.
After completion of bulk data extraction 854, streaming application 810 may be configured, in various embodiments, to send subscription request 856 to data storage system 802, requesting to subscribe to notification messages for data events associated with group 814B that meet one or more specified criteria. As shown in
As shown in
The disclosed systems and methods may provide various improvements to the functioning of data storage system 802 and streaming server system 808, as well as improve the operation of system 800 as a whole. For example, as noted above, notification messages may be provided in various manners, including as part of a bulk data extraction, in which a large number of notification messages for past data events are sent to streaming server system 808 at once, as well as in a “near real-time” manner, in which notification messages for data events are sent soon after the data events occur. The disclosed systems and methods of obtaining event identifier 853 (which is associated with a most-recent event in the occurring at data storage system 802) prior to a bulk data extraction 854 may, in various embodiments, facilitate delivery of notification messages corresponding to data events that occurred before, during, and after bulk data extraction 854 in the order in which those corresponding data events occurred (that is, in a time-ordered sequence). Additionally, in some embodiments, a large number (e.g., millions) of data events may have occurred at data storage system 802 while the bulk data extraction was being performed. The disclosed method and system for obtaining event identifier 853 may allow streaming application 810 to specify a starting point of data events for which to send the notification messages, which may be more time- and computationally-efficient than requiring data storage system to traverse a large number of data events in the stream of data events to determine a point from which to begin sending messages.
Referring now to
At 904, streaming application 810 publishes an “empty message” to Channel A (e.g., a message with no content in a payload portion of the message). In some embodiments, communication 904 may correspond to request 850 of
At 908, streaming application 810 sends a request to data storage system 802 to unsubscribe from Channel A. As noted above, sending notification messages for intervening data events that occur while performing the bulk data extraction (that is, in parallel) may cause streaming application 810 to receive the notification messages out of the time-ordered sequence. As streaming application 810 subscribed to Channel A at 902, however, failure to unsubscribe from Channel A prior to the bulk data extraction would result in such parallel transfer of notification messages corresponding to group 814B.
As shown in
As noted above, a client (e.g., external system 812) may define a given channel, such as Channel A, of events for which to receive notification messages by specifying one or more criteria for those events (e.g., as a SQL query). A client may then subscribe to one or more of the defined channels, as in communication 910, in order to receive notification messages when an event is generated that meets the criteria for one or more of the channels. Note that, in some embodiments, Channel A may not be of particular interest to external system 812, but simply used by streaming application 810 as a mechanism for retrieving event identifier 853. For example, in some embodiments, streaming application 810 may utilize the same channel—Channel A—as a mechanism for retrieving a most-recent event identifier, regardless of the group 814 for which a bulk data extraction is being performed. Thus, in some such embodiments, streaming application 810 may not subscribe to Channel A at 910.
Turning now to
In
Method 1000 then proceeds to element 1004, which includes, in response to the first request, receiving, from the data storage system, a first notification message that includes a particular event identifier associated with a most recent data event generated at the data storage system. For example, streaming application 810 may receive message 852, including event identifier 853, from data storage system 802. In various embodiments, event identifier 853 may correspond to a most-recent data event generated at data storage system 802.
Method 1000 then proceeds to element 1006, which includes receiving, from the data storage system, those messages associated with the bulk data extraction for the first group. For example, streaming application 810 may receive bulk data extraction 854 from data storage system 802. In some embodiments, for example, the bulk data extraction for group 814B may be initiated in response to a selection by group 814B to utilize services provided by external system 812. Method 1000 then proceeds to element 1008, which includes, subsequent to completion of the bulk data extraction, sending a request to the data storage system to subscribe to notification messages for data events associated with the first group that meet at least one of the one or more specified criteria, where the request to subscribe specifies the particular event identifier as a starting point of data events for which to send the notification messages. For example, streaming application 810 may send subscription request 856 to data storage system 802, specifying event identifier 853 as the starting point of the event stream from which to subscribe.
In some embodiments, method 1000 may further include, subsequent to sending the request to subscribe, receiving a plurality of notification messages for a plurality of data events that meet at least one of the one or more specified criteria. In some such embodiments, the plurality of events are associated with respective identifiers that are subsequent to the particular event identifier. Further, in some such embodiments, one or more of the event identifiers correspond to data events that occurred during the transfer of messages for past data events of the first group (e.g., group 814B) associated with the bulk data transaction.
Additionally, in some embodiments, method 1000 may further include storing data corresponding to the bulk data extraction for the first group in a message queue accessible to the external system. For example, in some embodiments, streaming application 810 may be configured to store data corresponding to bulk data extraction 854 in message queue 818, which may be accessible to external system 812. Further, in some embodiments, method 1000 may include providing data corresponding to some or all of the bulk data extraction directly to an external system (e.g., external system 812) authorized by the first group (e.g., group 814B).
Further, in some embodiments, streaming application 810 may be configured to verify the sequence of various messages included as part of the bulk data extraction 854 or messages 858. For example, one or more of these messages may include group-specific sequence numbers. As described above with reference to
Referring now to
In
Method 1100 then proceeds to element 1104, which includes, in response to the first request 850, sending, to the streaming server system 808, a first notification message 852 that includes a particular event identifier 853 for a most-recent data event generated at the data storage system 802. Method 1100 then proceeds to element 1106, which includes sending, to the streaming server system 808, those messages associated with a bulk data extraction 854 for the first group 814B. Method 1100 then proceeds to element 1108, which includes receiving, from the streaming server system 808, a request 856 to subscribe to notification messages for data events associated with the first group 814B that meet at least one of the one or more specified criteria. In some embodiments, subscription request 856 specifies event identifier 853 as a starting point of data events for which to send the notification messages.
In some embodiments, method 1100 further includes, subsequent to receiving the subscription request 856, sending, to the streaming server system 808, a plurality of notification messages for a plurality of data events that meet at least one of the one or more specified criteria, where the plurality of data events occurred subsequent to a particular data event associated with the event identifier 853. Note that, in some embodiments, data storage system 802 may store information corresponding to past data events for a given time period, or “retention window.” The duration of the retention window may vary according to various embodiments (e.g., 24 hours, 1 week, etc.). In various embodiments, a client (e.g., external system 812) may be able to obtain messages corresponding to a particular data event so long as that particular data event is within the retention window. In some embodiments, e.g., in an embodiment in which the retention window is 24 hours, the bulk data extraction may last longer than the retention window. Such an instance may create an opportunity for data storage system 802 to fail to provide notification messages for those data events to external system 812.
In various embodiments, data storage system 802 may extend the duration of the retention window for a particular group, e.g., group 814B, during performance of a bulk data extraction to the extent that the bulk data extraction exceeds the retention window. This may, in various embodiments, permit data storage system 802 to send notification messages corresponding to all data events within the extended retention window (e.g., as part of messages 858) that meet at least one of the specified criteria.
Referring now to
Processor subsystem 1220 may include one or more processors or processing units. In various embodiments of computer system 1200, multiple instances of processor subsystem 1220 may be coupled to interconnect 1280. In various embodiments, processor subsystem 1220 (or each processor unit within 1220) may contain a cache or other form of on-board memory.
System memory 1240 is usable to store program instructions executable by processor subsystem 1220 to cause system 1200 perform various operations described herein. System memory 1240 may be implemented using different physical, non-transitory memory media, such as hard disk storage, floppy disk storage, removable disk storage, flash memory, random access memory (RAM—SRAM, EDO RAM, SDRAM, DDR SDRAM, RAMBUS RAM, etc.), read only memory (PROM, EEPROM, etc.), and so on. Memory in computer system 1200 is not limited to primary storage such as system memory 1240. Rather, computer system 1200 may also include other forms of storage such as cache memory in processor subsystem 1220 and secondary storage on I/O devices 1270 (e.g., a hard drive, storage array, etc.). In some embodiments, these other forms of storage may also store program instructions executable by processor subsystem 1220.
I/O interfaces 1260 may be any of various types of interfaces configured to couple to and communicate with other devices, according to various embodiments. In one embodiment, I/O interface 1260 is a bridge chip (e.g., Southbridge) from a front-side to one or more back-side buses. I/O interfaces 1260 may be coupled to one or more I/O devices 1270 via one or more corresponding buses or other interfaces. Examples of I/O devices 1270 include storage devices (hard drive, optical drive, removable flash drive, storage array, SAN, or their associated controller), network interface devices (e.g., to a local or wide-area network), or other devices (e.g., graphics, user interface devices, etc.). In one embodiment, I/O devices 1270 includes a network interface device (e.g., configured to communicate over WiFi, Bluetooth, Ethernet, etc.), and computer system 1200 is coupled to a network via the network interface device.
Although the embodiments disclosed herein are susceptible to various modifications and alternative forms, specific embodiments are shown by way of example in the figures and are described herein in detail. It should be understood, however, that figures and detailed description thereto are not intended to limit the scope of the claims to the particular forms disclosed. Instead, this application is intended to cover all modifications, equivalents and alternatives falling within the spirit and scope of the disclosure of the present application as defined by the appended claims. The headings used herein are for organizational purposes only and are not meant to be used to limit the scope of the description.
This disclosure includes references to “one embodiment,” “a particular embodiment,” “some embodiments,” “various embodiments,” “an embodiment,” etc. The appearances of these or similar phrases do not necessarily refer to the same embodiment. Particular features, structures, or characteristics may be combined in any suitable manner consistent with this disclosure.
As used herein, the term “based on” is used to describe one or more factors that affect a determination. This term does not foreclose the possibility that additional factors may affect the determination. That is, a determination may be solely based on specified factors or based on the specified factors as well as other, unspecified factors. Consider the phrase “determine A based on B.” This phrase specifies that B is a factor that is used to determine A or that affects the determination of A. This phrase does not foreclose that the determination of A may also be based on some other factor, such as C. This phrase is also intended to cover an embodiment in which A is determined based solely on B. As used herein, the phrase “based on” is synonymous with the phrase “based at least in part on.”
As used herein, the phrase “in response to” describes one or more factors that trigger an effect. This phrase does not foreclose the possibility that additional factors may affect or otherwise trigger the effect. That is, an effect may be solely in response to those factors, or may be in response to the specified factors as well as other, unspecified factors. Consider the phrase “perform A in response to B.” This phrase specifies that B is a factor that triggers the performance of A. This phrase does not foreclose that performing A may also be in response to some other factor, such as C. This phrase is also intended to cover an embodiment in which A is performed solely in response to B.
As used herein, the terms “first,” “second,” etc. are used as labels for nouns that they precede, and do not imply any type of ordering (e.g., spatial, temporal, logical, etc.), unless stated otherwise. For example, in a multi-tenant computer system, the terms “first tenant” and “second tenant” may be used to refer to any two tenants of the multi-tenant computer system.
When used in the claims, the term “or” is used as an inclusive or and not as an exclusive or. For example, the phrase “at least one of x, y, or z” means any one of x, y, and z, as well as any combination thereof (e.g., x and y, but not z).
It is to be understood that the present disclosure is not limited to particular devices or methods, which may, of course, vary. It is also to be understood that the terminology used herein is for the purpose of describing particular embodiments only, and is not intended to be limiting. As used herein, the singular forms “a,” “an,” and “the” include singular and plural referents unless the context clearly dictates otherwise. Furthermore, the word “may” is used throughout this application in a permissive sense (i.e., having the potential to, being able to), not in a mandatory sense (i.e., must). The term “include,” and derivations thereof, mean “including, but not limited to.” The term “coupled” means directly or indirectly connected.
Within this disclosure, different entities (which may variously be referred to as “units,” “circuits,” other components, etc.) may be described or claimed as “configured” to perform one or more tasks or operations. This formulation—[entity] configured to [perform one or more tasks]—is used herein to refer to structure (i.e., something physical, such as an electronic circuit). More specifically, this formulation is used to indicate that this structure is arranged to perform the one or more tasks during operation. A structure can be said to be “configured to” perform some task even if the structure is not currently being operated. A “memory device configured to store data” is intended to cover, for example, an integrated circuit that has circuitry that performs this function during operation, even if the integrated circuit in question is not currently being used (e.g., a power supply is not connected to it). Thus. an entity described or recited as “configured to” perform some task refers to something physical, such as a device, circuit, memory storing program instructions executable to implement the task, etc. This phrase is not used herein to refer to something intangible.
The term “configured to” is not intended to mean “configurable to.” An unprogrammed FPGA, for example, would not be considered to be “configured to” perform some specific function, although it may be “configurable to” perform that function after programming.
Reciting in the appended claims that a structure is “configured to” perform one or more tasks is expressly intended not to invoke 35 U.S.C. § 112(f) for that claim element. Accordingly, none of the claims in this application as filed are intended to be interpreted as having means-plus-function elements. Should Applicant wish to invoke Section 112(f) during prosecution, it will recite claim elements using the “means for” [performing a function] construct.
Although specific embodiments have been described above, these embodiments are not intended to limit the scope of the present disclosure, even where only a single embodiment is described with respect to a particular feature. Examples of features provided in the disclosure are intended to be illustrative rather than restrictive unless stated otherwise. The above description is intended to cover such alternatives, modifications, and equivalents as would be apparent to a person skilled in the art having the benefit of this disclosure.
The scope of the present disclosure includes any feature or combination of features disclosed herein (either explicitly or implicitly), or any generalization thereof, whether or not it mitigates any or all of the problems addressed herein. Accordingly, new claims may be formulated during prosecution of this application (or an application claiming priority thereto) to any such combination of features. In particular, with reference to the appended claims, features from dependent claims may be combined with those of the independent claims and features from respective independent claims may be combined in any appropriate manner and not merely in the specific combinations enumerated in the appended claims.
The present application is related to U.S. application Ser. No. ______ entitled “Bulk Data Extraction System” (Docket No. 7000-16300), which is filed concurrently herewith and incorporated by reference in its entirety.