Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New document just loads forever #21

Closed
heyakyra opened this issue Apr 18, 2018 · 7 comments
Closed

New document just loads forever #21

heyakyra opened this issue Apr 18, 2018 · 7 comments

Comments

@heyakyra
Copy link

Trying this for the first time I can't create a document

@shtefcs
Copy link
Collaborator

shtefcs commented Apr 18, 2018

@thekyriarchy hmm, indeed. Just noticed. Well, Wireflow require hard refactoring. That is the reason we released as open source, since we moved to another projects and need help from external collaborators.

I will try to investigate on it, but can't promise it gonna be fixed soon.

Appreciate your feedback.

@shtefcs
Copy link
Collaborator

shtefcs commented Apr 18, 2018

@entrptaher anyway you can check out why its not loading new document ?

@heyakyra
Copy link
Author

Console log shows:

Loading failed for the <script> with source “http://cdn.mouseflow.com/projects/c80233bf-6b2e-448b-862d-1c224213bef8.js”.

Firefox can’t establish a connection to the server at ws://wireflow.co/sockjs/182/17f4drxu/websocket
The connection to ws://wireflow.co/sockjs/182/17f4drxu/websocket was interrupted while the page was loading

seems to be some sort of backend issue

@entrptaher
Copy link
Member

entrptaher commented Apr 19, 2018

It's a memory issue.

Currently deployed version needs some rework, it currently has around 1868 users, 261222 graphics, 22566 wires and the websocket emits all events to all users. Wireflow processes are heavily under load and thus everything is slow.

image

image

That to say, local version with little data still runs perfectly. Maybe we can remove the graphics and wires to lessen the load.

@shtefcs
Copy link
Collaborator

shtefcs commented Apr 28, 2018

@entrptaher missed your response Tahy ...

I believe everything is messy there and not optimized. For wireflow to work properly, need restructuring and refactoring. This is just proof of concept, and people like it, find it useful. Next step is to recreate whole app with proper coding, optimization, etc.

I think you can remove all this 22k wires ^^.

@entrptaher
Copy link
Member

@thekyriarchy can you try again?
@shtefcs maybe we will add a notice on top that the graphics/wires will be removed regularly until we are on stable version.

@shtefcs
Copy link
Collaborator

shtefcs commented Apr 29, 2018

@entrptaher its works now 👍. Thanks

Yeah, we could add that notify.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants