摘要:
A method, system, apparatus, and computer program product is presented for improving the execution performance of an application in a data processing system. Instrumentation code is inserted into an application in which the instrumentation code generates trace data for method entry events and method exit events when the instrumented application is executed. The trace output data that is generated by the instrumentation code is then analyzed to detect patterns which indicate an inefficient coding construct in the application. The source code for the inefficient coding construct in the application associated with the detected pattern may be modified according to indications provided to an application developer. For example, a specific inefficient coding construct may be an inefficient use of a cross-language boundary, such as the interface between Java code and native code, in which data is inefficiently transferred across the interface through a local array in the native code. A suggested transform for efficient use of a cross-language boundary may include the use of a reference to a Java object within the native code.
摘要:
Some embodiments provide a method for generating a graphical user interface (GUI) for a research system. The method receives a request from a user of the research system for information about a particular category. The method generates a chart that displays a set of events associated with the particular category over a particular period of time. The method incorporates the chart into a GUI for the particular category for transmission to the user. Some embodiments generate a list of events associated with the particular category and generate a GUI that displays the list of the events. Each event is represented in the list by a title of a document identified by the research system as representative of the event.
摘要:
Some embodiments provide a method for evaluating a content segment for relevancy to several of categories. The method retrieves the content segment. For each of the several categories, the method determines the relevancy of the content segment to the category by using a scoring model for the category. The scoring model accounts for (i) the presence of key word sets in the content segment and (ii) the context of the key word sets in the content segment. For each of the several categories, the method tags the content segment when the content segment is determined as relevant to the category.
摘要:
Some embodiments provide a machine-implemented method. The method identifies an event for a particular category based on a number of documents classified as relevant to the particular category in a particular period of time. Based on content of the documents classified as relevant to the particular category, the method identifies a set of keywords for the event. The method uses the keywords to automatically select a representative document for the event. Some embodiments store a link to the representative document and automatically determine whether the particular document is still accessible at the link. When the document is no longer accessible at the link, the method replaces the document with a backup document as the representative document for the event.
摘要:
Systems, methods and media for detecting outbound Nagling on a TCP network connection are disclosed. Embodiments may include creating by a sender computer one or more segments to be transmitted to a receiver computer and determining by the sender computer whether any of the one or more segments to be transmitted are small segments and determining whether a previously transmitted small segment is unacknowledged by the receiver computer. If the previously transmitted small segment is unacknowledged by the receiver computer and at least one of the segments to be transmitted is a small segment, embodiments may also include detecting by the sender computer a Nagling condition on the network connection. Further embodiments may include modifying a Nagle algorithm configuration of the network connection in response to the detected Nagling condition by turning off the Nagle algorithm or reducing a delayed acknowledgement timer for the network connection.
摘要:
Server performance is bench marked using multiple master processes. A local master process is created for each client computer system applying load on the server. Then a global master process is created on a physical computer system on which neither client nor server processes are running. The global master is responsible for the proper execution of the bench mark. The global master uses an inter-master communications protocol that enforces coordination among the disparate client systems and processes.
摘要:
Some embodiments provide a method for defining a content relevance model for determining whether a content segment is relevant to a particular category. The method receives a first set of content segments that contain content relevant to the particular category and a second set of content segments that contain content not relevant to the particular category. The method identifies a set of key word sets more likely to appear in the first set of content segments than the second set of content segments. The method defines a content relevance model that comprises a set of groups of word sets and a score for each group, each of the groups of word sets comprising a key word set from the set of key word sets and at least one word set found in a context of the key word set in at least one of the received content segments.
摘要:
A method, system and computer program product for handling an electronic message in a data processing system are disclosed. The method comprises receiving an electronic message and storing the electronic message in a message store. An address of the electronic message is stored in a primary queue and the address of the electronic message is stored in one or more configured shadow queues. Responsive to successful completion of one or more tasks related to the electronic message, the address of the electronic message is deleted from the associated queue, and responsive to completion of all tasks related to the electronic message, the electronic message is deleted from the message store.
摘要:
A method, system and computer program product for handling an electronic message in a data processing system are disclosed. The method comprises receiving an electronic message and storing the electronic message in a message store. An address of the electronic message is stored in a primary queue and the address of the electronic message is stored in one or more configured shadow queues. Responsive to successful completion of one or more tasks related to the electronic message, the address of the electronic message is deleted from the associated queue, and responsive to completion of all tasks related to the electronic message, the electronic message is deleted from the message store.
摘要:
Systems, methods and media for detecting Nagling on a TCP network connection are disclosed. Embodiments may generally include a system with a Nagle detection threshold determiner for determining a Nagle detection threshold based on the network connection. The system may also generally include a Nagle detection module in communication with the Nagle detection threshold determiner for observing a small segment at a second time following an acknowledgement indicative of a Nagling condition at a first time, wherein the Nagle detection module also may detect a Nagling condition if the difference between the second time and the first time is less than or equal to the Nagle detection threshold. The system may be a receiver computer or a network computer. The system may also generate and transmit a notification of the Nagling condition, increment a Nagle monitor counter, or save an indication of the Nagling condition in a log.