Giter Club home page Giter Club logo

Comments (5)

androidseb25 avatar androidseb25 commented on September 21, 2024 1

Many of my users use Gotify on a web host, e.g. Hetzner, and use their instance for both professional and private purposes, only with different user accounts. Therefore, they want to receive notifications for both accounts and not just one.

from server.

GoWeasel avatar GoWeasel commented on September 21, 2024 1

This doesn't sound like a common use-case.

in 2024 ?

let me think a moment, mqtt, reactjs, and tons of web api's are capable todo so, nearly every chat application tries to provide it, as mostly common use case (in my point of view) is, that you have business and private account on same phone, instead of using two devices.

from server.

jmattheis avatar jmattheis commented on September 21, 2024

What are the use cases for this?

from server.

jmattheis avatar jmattheis commented on September 21, 2024

This doesn't sound like a common use-case. I mean you either separate it completely with different servers, or you don't really get a benefit from different users. It rather sounds like another feature to group messages by, like a tag or category.

from server.

jmattheis avatar jmattheis commented on September 21, 2024

In gotify/android there are requests for multisserver support and multi-user features like sharing applications, but as of now the need for multiple users on the same server wasn't proposed. Therefore, I see this feature as not a common use case in the Gotify context.

let me think a moment, mqtt, reactjs, and tons of web api's are capable todo so

This seems like a bad comparison to me; these are libraries and not end products that are visible to the user. You could even list Gotify there. Gotify supports getting messages from multiple users, but not via the same web socket connection. Security-wise, this also seems not that great, because now you have two authenticated users for one request.

nearly every chat application tries to provide it, as mostly common use case (in my point of view) is, that you have business and private account on same phone, instead of using two devices

I understand the chat example, but I'm not sure if this fully applies to Gotify. You can already separate business and private messages via applications in Gotify and the addition of multiple users seems really similar to this.


@androidseb25 I think in this case, multiple websocket connections aren't an issue. Gotify can easily handle thousands of websocket connections without problems. If you're using a websocket client with http/2 support (+ http/2 supporting reverse proxy), then multiple websocket connections are likely multiplexed over a single http2 connection.

In the context of iGotify the overhead of multiple websocket connections is negligible because it is happening in the iGotify-Notification-Assistent and likely doesn't increase the data usage of the end device. Concluding, I don't really see the need for this feature as it's currently proposed. Or are there any concrete problems with having multiple connections for multiple users to the same server?

from server.

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.