This library has no v1 release, API may change. Before v1 release patch version updates only have backward-compatible changes and fixes, minor version updates can have backward-incompatible API changes. Master branch can have unreleased code. Only two last Go minor versions are officially supported by this library. Centrifuge library is a real-time core of Centrifugo server. It's a general-purpose real-time messaging library for Go programming language. Real-time messaging can help create interactive applications where events are delivered to online users with minimal delay. Chats apps, live comments, multiplayer games, real-time data visualizations, collaborative tools, etc. can all be built on top of Centrifuge library. The library is built on top of efficient client-server protocol schema and exposes various real-time oriented primitives for a developer.

Features

  • Fast and optimized for low-latency communication with millions of client connections
  • WebSocket bidirectional transport using JSON or binary Protobuf formats, both based on a strict Protobuf schema
  • Code generation is used to push both JSON and Protobuf serialization performance to the limits
  • Our own WebSocket emulation layer over HTTP-streaming (JSON + Protobuf) and Eventsource (JSON) without sticky sessions requirement for distributed setup, or SockJS (JSON only)
  • Possibility to use unidirectional transports without using custom Centrifuge SDK library
  • Effective non-blocking broadcasts towards client connections using individual queues
  • Native authentication over HTTP middleware or custom token-based (ex. JWT)

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Centrifuge

Centrifuge Web Site

Other Useful Business Software
Track time for payroll, billing and productivity Icon
Track time for payroll, billing and productivity

Flexible time and billing software that enables teams to easily track time and expenses for payroll, projects, and client billing.

Because time is money, and we understand how challenging it can be to keep track of employee hours. The constant reminder to log timesheets so your business can increase billables, run an accurate payroll and remove the guesswork from project estimates – we get it.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Centrifuge!

Additional Project Details

Programming Language

Go

Related Categories

Go Libraries

Registered

2023-08-14