encyclopegia.org

Bolt (network protocol)

The Bolt Protocol (Bolt) is a connection oriented network protocol used for client-server communication in database applications.[src] It operates over a TCP connection or WebSocket.[src] Bolt is statement-oriented, allowing a client to send messages containing a statement consisting of a single string and a set of typed parameters.[src] The server responds to each statement with a result message and an optional stream of result records.[src]

The Bolt Protocol (Bolt) is a connection oriented network protocol used for client-server communication in database applications.[src] It operates over a TCP connection or WebSocket.[src] Bolt is statement-oriented, allowing a client to send messages containing a statement consisting of a single string and a set of typed parameters.[src] The server responds to each statement with a result message and an optional stream of result records.[src] ==History== The Bolt protocol was first introduced to the public in November 2015, during an interview conducted by Duncan Brown and published on DZone.[src] The first release of software implementing the protocol occurred in December 2015, as part of a milestone release of Neo4j Server.[src] In April 2016, Neo4j Server 3.0 was released and contained the first server implementation of the protocol, accompanied by a suite of Bolt client drivers.[src] This release received attention from several mainstream media outlets.[src] ==Versioning== The Bolt network protocol uses version negotiation to ensure compatibility between clients and servers.[src] Clients send up to four supported protocol versions, encoded as 32-bit integers, prioritizing earlier entries.[src] The server responds with the highest compatible version or a zero value if no match is found, closing the connection.[src] Starting with Bolt 4.0, the protocol supports major and minor versioning.[src] Bolt 4.3 introduced range-based minor versioning, allowing clients to specify consecutive minor versions compactly.[src] ==Protocol overview== Protocol new versions are released regularly, introducing enhancements in performance, functionality, and compatibility.[src] ===Messaging=== Bolt clients and servers both send data over the connection as a sequence of messages.[src] Each message has a type (denoted by a "signature" byte) and may include additional data.[src] The client drives the interaction, and each message sent by the client will cause one or more response messages to be sent by the server.[src] The following information pertains to Bolt version 5.8 and may not reflect the latest developments in the protocol.[src] Client messages: Server messages: ===Message transfer encoding=== Each message is encoded into a sequence of bytes.[src] These bytes are transferred using a binary chunked encoding, where each chunk is preceded by an unsigned, big-endian 16-bit integer denoting the number of bytes that immediately follow.[src] A length of 0 is used to denote the end of the message.[src] ===Failure handling=== A client may send multiple messages to a server, without first waiting for a response.[src] The server processes each message sequentially.[src] However, as there may be logical dependencies between messages sent by the client, the server will not evaluate requests it receives after sending FAILURE in response to a preceding message.[src] Instead, it will send an IGNORED message in reply to every client message, until the client acknowledges the failure by sending an RESET message.[src] This is similar to the failure handling and recovery in the PostgreSQL wire protocol.[src] ==PackStream overview - version 1== PackStream is a binary presentation format for the exchange of richly-typed data.[src] It provides a syntax layer for the Bolt messaging protocol.[src] ===Data encoding=== Bolt supports encoding for a number of different data types.[src] ==References== ==External links== Bolt protocol specification[src]

34 sentences · 34 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Bolt (network protocol)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/bolt-network-protocol. Accessed 25 November 2026.

Chicago

"Bolt (network protocol)." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/bolt-network-protocol.

APA

encyclopegia.org. (2026). Bolt (network protocol). Retrieved November 25, 2026, from https://encyclopegia.org/wiki/bolt-network-protocol

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Border Gateway Protocol

stub · references available

Dynamic Host Configuration Protocol

stub · references available

Optical Transport Network

stub · references available

Digital Living Network Alliance

stub · references available

Uqair Protocol of 1922

stub · references available

Extensible Provisioning Protocol

stub · references available

Bolt

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1338408713 · 0.5 · snapshot enwiki-001338408713

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.