home

kskb.dev/data · documents with their text · this document in the catalog

cold-start-stream-parsing [ verb ]

glossary term · license Apache-2.0 · 1167 characters · the original · source wot-terms

cold-start-stream-parsing [ verb ]

AI–generated Summary

After a reboot, a stream processor searches for framing information to determine how to parse element groups in the stream.

Definition

After a reboot (or cold start), a stream processor looks for framing information to know how to parse groups of elements in the stream.

If that framing information is ambiguous then the parser may become confused and require yet another cold start. While processing a given stream a parser may become confused especially if a portion of the stream is malformed in some way. This usually requires flushing the stream and forcing a cold start to resynchronize the parser to subsequent stream elements.

re-synchronization

Better than flushing the stream and forcing a cold start is a re-synchronization mechanism that does not require flushing the in-transit buffers but merely skipping to the next well-defined stream element boundary in order to execute a cold start. See an example in the source

CESR related

Special CESR count codes support re-synchronization at each boundary between interleaved CESR and other serializations like JSON, CBOR, or MGPK.

KERI Suite Glossary, https://weboftrust.github.io/WOT-terms/docs/glossary/cold-start-stream-parsing. Licensed under the Apache License 2.0; the license and any notices are in the repository. Found through KERISSE. The abstract, the level and the labels on the catalog entry are the KERISuite Knowledge Base's own, CC BY 4.0.

Powered by Datasette · Queries took 1401.14ms