Giter VIP home page Giter VIP logo

Comments (6)

threepointone avatar threepointone commented on May 30, 2024 1

Glad you're unblocked. I'll close this for now, but let me know if you have any further issues

from partykit.

threepointone avatar threepointone commented on May 30, 2024

Sure, that sounds reasonable. PR's up #767
Can you tell me what your usecase is though? I'm curious.

from partykit.

man-shar avatar man-shar commented on May 30, 2024

THANKS!!

For use case: We sometimes have the product deployed in test environments where a VM can be accessed via IP/port, but doesn't have a SSL certificate yet so secure protocols won't work.

This is for our agents product (when deployed in docker): https://defog.ai/blog/agents/

from partykit.

threepointone avatar threepointone commented on May 30, 2024

Ah, so this is for when you use it with a non-partykit backend? Fascinating. We have some special handling for websocket messages > 1mb, so it maaay not work in that scenario, but if your messages are below that then it should be fine.

Released in [email protected]. Please test it and let me know if it works as expected!

from partykit.

threepointone avatar threepointone commented on May 30, 2024

You can create staging environments with PartyKit btw, eg: npx partykit deploy --name abc --preview xyz will deploy it to xyz.abc.user.partykit.dev More info here: https://docs.partykit.io/guides/preview-environments/

from partykit.

man-shar avatar man-shar commented on May 30, 2024

Yeahhh, but my problem with deploy is that I have load and callback handlers in my onConnect, which read/write from/to a local docker-db 😅

Re 1mb: That should be fine for a while. We only use Yjs for html serialisation, without any content for the meatier bits (just attr/id tags).

Loading of the actual content happens later via a separate backend server using those attrs/ids.

from partykit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.