DEV Community

Sardar Mudassar Ali Khan
Sardar Mudassar Ali Khan

Posted on • Edited on

Microsoft Azure Fluid Relay

An open-source, cross-platform framework is the Fluid Framework. A managed product for the Fluid Framework, Azure Fluid Relay enables developers to create real-time collaborative experiences and duplicate states across linked JavaScript clients.

What is the Fluid Framework?

A group of client libraries called Fluid Framework is used to distribute and synchronize shared states. These libraries enable the use of coding techniques like those for working with local data by multiple clients to simultaneously generate and manipulate shared data structures.

Why Fluid?

Because it's challenging to create low-latency, collaborative experiences!

Fluid Framework offers:

Data persistence in a client-centric application approach without the need for special server code.
distributed data structures that follow well-known coding conventions.

Very low latency.

Although Microsoft's engineers have incorporated collaboration into many of their products, many of them need application-specific server-side logic to control the collaborative experience. Microsoft's interest in easing the difficulty of developing collaborative apps led to the creation of the Fluid Framework.
What if you didn't need to spend any money at all on server code? Imagine being able to use a general-purpose server that was made to be inexpensive and light. Imagine if data synchronization was taken care of for you and all your development was focused on the client experience. FluThe fluids that guarantee.

Focused on the client developer

Applications created using Fluid Framework may support complex data sync scenarios like simultaneous typing in multiple text editors without writing any proprietary server code. Client developers can concentrate on improving client experiences while leaving data synchronization to Fluid.
Your preferred application framework will work with Fluid Framework. Building collaborative experiences with the Fluid Framework is easy and adaptable, regardless of whether you prefer plain old JavaScript or a framework like React, Angular, or Vue.

How Fluid works

With lightning-fast performance, Fluid was created to deliver collaborative experiences. The team kept the server logic as straightforward and lightweight as they could to accomplish this goal. With little server expenditures, this strategy helped ensure almost instantaneous synchronizing across clients.
Each Fluid client oversees maintaining its own state, which keeps the server straightforward. The Fluid service oversees receiving data operations, sequencing the operations, and providing the sequenced operations to the clients, whereas earlier systems maintained a source of truth on the server. Regardless of the order in which it gets operations, each client can use that sequence to construct the current state independently and precisely.
1.The following steps are typical flow.
2.Local data are changed by client code.
3.That modification is sent to the Fluid service by Fluid runtime.
4.Service operations and broadcasts that are fluid and accessible to all clients.
5.A "value Changed" event is raised, and the operation is incorporated into local data by the fluid runtime.
6.That event is handled by client code (updates view, runs business logic).

Features Of Azure Fluid Relay

Build collaborative apps without writing server code

Develop team-based solutions without constructing your own Fluid servers. Without creating a single line of server code, create robust, scalable, real-time collaborative experiences with data synchronisation to save time and effort.

Meet your business and data residency requirements

Utilize a flexible, scalable solution to get the ability to adjust to the demands of a changing global workforce.

Manage seamless co-authoring and data sync services

Fluid Framework is an open-source collection of libraries for creating low-latency collaborative experiences, and Fluid Relay is designed for use with Fluid Framework.

Conclusion

Microsoft Azure Fluid Framework is a low-latency, high-scale, multi-party, real-time collaboration platform. It enables developers to build fluid experiences that enable users to work together on the same document or task seamlessly. The Fluid Relay is part of the Fluid Framework, and it enables real-time communication between different instances of a fluid component, allowing users to collaborate in real time, even when they are not in the same location. The Fluid Relay ensures that changes made by one user are immediately synchronized with other users in the same fluid space.

Top comments (0)