links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Sequence-number generation in Magma
Last updated at 9:44 pm UTC on 19 April 2011
Gjaller is a Magma application that wanted to employ unique sequence-number generation across multiple clients in Magma. By employing Magma's Remote Perform Capability and MagmaCounter, reliable sequence-number generation was easily implemented. Every client sends
    "serverPerform: #getNextSequenceNumber"

and are guaranteed to get a unique and consecutive sequence number from the server.

See MagmaTestCase>>#testSequenceNumberGenerator for details.