Questions tagged [fluid-framework]
Fluid Framework (also known as Fluid) is an open-source JavaScript library developed by Microsoft for managing and synchronizing state across connected JavaScript clients.
40
questions
0
votes
0
answers
27
views
Integration of Microsoft's FLUID Framework for iOS native app development?
I am asked to implement Microsoft's FLUID framework integration with my existing iOS application developed in Swift (xcode), to achieve realtime data in our application. I have googled around but didn'...
0
votes
1
answer
70
views
How to deploy the Routerlicious fluid-server(fluid framework) using the Kubernetes?
Greetings for the day!
I want to deploy the open-source fluid server a.k.a routerlicious using the Kubernetes. Inside the fluid official repository
https://github.com/microsoft/FluidFramework
on the ...
1
vote
1
answer
70
views
How to get client information in fluid framework?
Can I get information specific to which client has joined the session? For e.g If I want to add a new div to the DOM element with the id of the client whenever a new client joins the session and loads ...
0
votes
2
answers
180
views
I am trying to deploy the microsoft fluid framework on Aws eks cluster but the pods go in to CrashLoopBackOff
When I get the logs for one of the pods with the CrashLoopBackOff status
kubectl logs alfred
it returns the following errors.
error: alfred service exiting due to error {"label":"...
0
votes
1
answer
86
views
Is it an anti-pattern to create a new container for each object that is being collaborated upon? [closed]
We are building an application that uses Fluid Framework, and the application creates a new container with a shared matrix the first time a user "opens" an application object for editing/...
0
votes
1
answer
180
views
How to consume routerlicious without experimental packages?
My application works fine with the tinylicious server, but I would like to consume routerlicious server without using deprecated experimental packages.
The server run in local docker container alfred ...
1
vote
1
answer
236
views
How can I tell Fluid FrameWork Tinylicious to allow cross-origin request from a specific URL?
I am hoping to use Tinylicious/Fluid Framework to enable communication across clients that are on different machines. For app-specific purposes, I have my app server running over https (at https://<...
0
votes
1
answer
90
views
Fluid-framework Audience and member profile data
I there a way to atach payload data to a member (myself) in the Audience. I have some client profile data which is better if kept in sync with user presence reflected by the Audience object. sort of ...
0
votes
1
answer
91
views
413 (Payload Too Large) error in SharedMap
When I convert an xml document to fluid DDS using SharedMap and SharedObjectSequence and set it in the fluid container I get the error 413 (Payload Too Large). Error response:
{"message":&...
0
votes
1
answer
41
views
Getting the name of all existing documents in a fluid server
I would like to create a landing page displaying the name of all the existent documents in the fluid server, so I can click on each and it redirects to the corresponding fluid document.
Is there any ...
0
votes
1
answer
73
views
How do I get the number of connected clients from Alfred?
I found that Alfred knows all connected clients for a given (tenant, document) pair. However, I haven't found any HTTP or WebSocket APIs to get to this information. Did I miss something?
Why do I need ...
0
votes
1
answer
104
views
What is the strategy of SharedString on Merging data?
I go through the introduction but only find DDS like SharedMap where they are using last-writer-wins policy. How about the SharedString? I am considering a collaborative editing scenario with the ...
3
votes
1
answer
379
views
How to connect to a Routerlicious local server?
I have followed this guide https://github.com/microsoft/FluidFramework/tree/main/server/routerlicious and I have set up successfully a Routerlicious server and the gateway https://github.com/microsoft/...
0
votes
0
answers
132
views
How to persist Fluid document data between Tinylicious sessions?
When I restart Tinylicious, I can't seem to load a document that I created before the restart, without clearing the var/tmp folder, and losing data.
This issue manifests itself as ...
1
vote
1
answer
110
views
Avoiding "Ghost" Clients in a Fluid DataObject
One of the weird things that I've noticed is that when you try to do a "multi-cursor" sort of thing with the Fluid Framework is that you might try to model each user with the runtime's ...
0
votes
2
answers
205
views
Can the tinylicious server be launched at a port other than 3000?
Can the tinylicious server be launched at a port other than 3000? I've tried something like "PORT=4100 tinylicious" and I can see the terminal log saying:
@federation/shell-app: [1] info: ...
0
votes
1
answer
110
views
What does the Riddler service do in the Fluid Framework reference service?
The Riddler service does not have explicit documentation at the package level and is not addressed in the Routerlicious service.
There is some code level documentation
Riddler manages the tenants and ...
1
vote
1
answer
52
views
How to understand SequencedLambda(KafkaRunner) and DocumentPartition(DocumentLambda),and their related, in fluid-framework
https://github.com/microsoft/FluidFramework/blob/release/0.30/server/routerlicious/packages/lambdas-driver/src/kafka-service/README.md#L81
source code of project
I found that there are two ways to ...
3
votes
0
answers
155
views
Integrating React-Redux with Microsoft Fluid framework
I'm trying to integrate two different state management frameworks
React Redux
Microsoft Fluid Framework
Here is my observation
What is the best approach? react-redux is used for maintaining my ...
1
vote
2
answers
139
views
Is there a way to listen for operations / change events at the container level rather than the individual DDS level in the Fluid Framework?
Scenario:
I have a service running that is keeping a global search or query index up to date for all containers in my “system”. This service is notified any time a container is opened by a client and ...
2
votes
1
answer
98
views
How to add two or more FluidDataObject into a container and how to add a FluidDataObject to an exist container dynamically?
I use getTinyliciousContainer get a container ,use getDefaultObjectFromContainer get a default FluidDataObject , How to add two or more FluidDataObject into a container and how to add a ...
1
vote
0
answers
159
views
How to start the Fluid Framework Server with minimum requirements?
I followed the instructions on https://github.com/microsoft/FluidFramework/tree/main/server.
I am having trouble starting the Routerlicious server.
Now I want to bring up a server with minimum ...
2
votes
0
answers
73
views
How to run Tinylicious with inMemory: false?
I Launch demo app from https://github.com/microsoft/FluidExamples
I Use "inMemory": false in "config.json"
"db": {
"inMemory": false,
&...
-2
votes
1
answer
232
views
How do you manage data in the Fluid Framework? [closed]
The documentation says the following:
The Fluid container defines the application logic while containing persistent data.
I have a few questions to understand better understand the data management.
...
3
votes
1
answer
116
views
How do I fix Connect Document error in Tinylicious server?
Sometimes when I restart my Tinylicious server, I receive the following error many times in the server logs.
Connect Document error: {} {"messageMetaData":{"documentId":"...
0
votes
1
answer
73
views
Fluid clients get out of sync when server is rebooted
I got the HelloWorld example to run fine. But once I stopped & restarted the server the clients got out of sync--even when I set a consistent document (i.e. location.hash = "12345").
...
0
votes
1
answer
45
views
AssertionError: Unsafe to transition to read-only state
So I had a working project with fluid that ran in the browser. Then, I decided to add the tslog npm package to my project.json and then import it into one of my typescript files using import { Logger} ...
2
votes
1
answer
383
views
How to make on Fluid framework work offline?
We tested the fluid framework with minimal requirements.
Everything works fine in the demo application. https://github.com/microsoft/FluidExamples
questions:
How does the Fluid framework work offline?...
0
votes
1
answer
46
views
Why do I get a Timer error after launch app
I'm trying to test Fluid Framework in a React app and in an Angular app.
In both, I have the same error few seconds after app launch :
private handler() {
> 151 | assert(this.runningState, &...
2
votes
1
answer
140
views
Is it possible to have access rules in Fluid Framework?
Fluid looks really nice if all collaborators are equal (allowed to change the same resources), but what I don't understand is how the server can prevent certain actions for certain users. As much of ...
2
votes
2
answers
137
views
How to insert SharedMap into SharedObjetSequence
I have the DataObject like this:
protected async initializingFirstTime() {
const sequence = SharedObjectSequence.create(this.runtime);
this.root.set("sequence", sequence.handle);
}
...
3
votes
1
answer
212
views
which nested data structure should I use for FluidFramework
If I want to use nested data structure, which data structure is better choose.
eg.
For eg1 case, It seems can not load children DDS data in 'hasInitialized()'.
For eg2, it seems a little complicated.
...
3
votes
0
answers
387
views
How to deploy the Fluid server?
I'm using the Fluid draft-js example here:
https://github.com/microsoft/FluidExamples/tree/main/draft-js
I know I can run the app locally by just running npm start or just the server by using npm ...
0
votes
1
answer
66
views
can not get cascade DDS value for SharedObjectSequence
I have a test like this, but i can not get the 'sharedMap' in 'sharedSeq1' value, i don't know how to get the 'remoteFluidObjectHandle' value.
import {MockContainerRuntimeFactory, ...
2
votes
0
answers
70
views
Literature on the merge-tree algorithm?
There is a "merge-tree" algorithm for the collab of sequence-like DDSes, but the documentation is weak. Is there any formal literature on the details?
3
votes
1
answer
1k
views
Difference between Fluid-Framework and Signal-R
Question: Microsoft recently released the Fluid-Framework on github, How can/ steps to replace Signal-R with MS Fluid-Framework and what would be the key differences?
Use Case: Fluid seems to support ...
2
votes
2
answers
255
views
Does fluid-framework support transactions?
For example, in FluidFramework/examples/data-objects/badge/src/BadgeClient.tsx:
const changeSelectedOption = (newItem: IBadgeType): void => {
if (newItem.key !== model.currentCell.get()....
1
vote
1
answer
195
views
What is preventing Fluid from working with Safari on iOS and iPadOS?
On the FAQ page for Fluid Framework https://fluidframework.com/docs/faq/#what-browsers-are-supported it says that Fluid will only work on Safari for Mac. To me this means that it will not work on iOS ...
0
votes
0
answers
212
views
Running Fluid Hello World Example Error Out
I'm trying to run Fluid Hello World Example, after going through the steps and running the application the web browser error out with the following log message:
POST http://localhost:3000/documents/...
1
vote
1
answer
166
views
Channel Factory not registered when trying to store a SharedString within root SharedDirectory
I tried to create and store a new SharedString DDS on my root SharedDirectory with following code:
protected async initializingFirstTime() {
const text = SharedString.create(this.runtime);
...