Parallel archiving for a messaging system
AssigneeSap SE
InventorsPeter Surma, Hans-Dieter Geyer, Frantisek Deglovic
Life of this patent
Estimating the term…
Abstract
A system and method of archiving messages is disclosed. A number p random numbers are stored in a control table, the random numbers being selected from a range (M, N) where N>M. Each random number is initially state-free in the control table. A number p archive processes are generated, each archive process configured to store one or more messages being processed by the messaging system to an archive. State-free random numbers are assigned to messages being processed by the messaging system. The messages being processed are divided by the messaging system among the p archive processes according to the assigned.
Claims11
A method of archiving messages processed by a messaging system, the method comprising:
- generating a parallelization number p;
- storing p random numbers in a control table, the random numbers selected from a range (M, N) where N>M, each random number initially being state-free in the control table;
- generating p archive processes, each archive process configured to store one or more messages being processed by the messaging system to an archive;
- assigning state-free random numbers to messages being processed by the messaging system;
- and
- dividing the messages being processed by the messaging system among the p archive processes according to the assigned state-free random numbers.
A messaging system, comprising:
- one or more runtime engines, each runtime engine configured to receive and transmit messages from a sending application to one or more receiving applications based on a workload;
- a database configured for persistence of the messages;
- and
- an archive configured for long-term archive of the messages from the database, the archive receiving the messages from a number p parallel archive processes created based at least in part on a size of the workload.
A method of archiving messages processed by a messaging system, the method comprising:
- starting a message archiving process;
- receiving an instruction whether to increase or decrease a parallelization degree of the message archiving process.
Dependencies are inferred from the claim text.