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

Push Delivery #5

Closed
bagusflyer opened this issue Jan 28, 2016 · 41 comments
Closed

Push Delivery #5

bagusflyer opened this issue Jan 28, 2016 · 41 comments

Comments

@bagusflyer
Copy link

It's very sad that parse.com will terminate within one year. Some of our applications will be affected. I'm developing an application right now which is using parse.com as backend. Should I re-develop everything or I can just use parse-server in my own server with current source code?

Another question is regarding with push notification. A few of my applications are using Push Notification. Are you going to release the source code for this part in the future? Or we have to develop our own Push Notification system?

Thanks.

@bagusflyer bagusflyer changed the title Quesiont Questions Jan 28, 2016
@gfosco
Copy link
Contributor

gfosco commented Jan 28, 2016

We'd like to see a push delivery system added to parse-server, whether the community writes it or we do... It's definitely going to happen.

I can't make the decision for you, but I think with parse-server and the open SDKs, you can continue building on Parse for years to come (just host the server code yourself.)..

Over the weekend I setup Mongo and parse-server on a $5/month DigitalOcean box to build a quick idea, it was super easy.

@pfcvik
Copy link

pfcvik commented Jan 28, 2016

It would be very grateful about that tutorial

@inlined
Copy link

inlined commented Jan 28, 2016

@bagusflyer I'm the former tech lead for Parse Push and now work on Firebase/Google Cloud. I'm keen to see that few to none of my former customers get left out in the cold for having put their faith in my product. If you want to go into detail on your use cases, I can try to help you evaluate some migration paths too. My best expertise would be using AWS (what we built Parse on) and Cloud (what I now work with).

FWIW, Parse Push had much more complicated requirements back in the day. Both Apple and Google have improved their push protocols dramatically, so a new service might be easier to build.

@gfosco
Copy link
Contributor

gfosco commented Jan 29, 2016

Developing a push delivery system on parse-server will not be a difficult process. Luckily, it will only need to support a single app, instead of hundreds of thousands of apps.

@prodigga
Copy link

@inlined @gfosco thanks for responding to questions and being so open about all this.

I recently (a month ago) recommended to my boss that we use Parse as our backend for our mobile games leaderboards and async 'tournament' gameplay mode. Parse was an awesome choice - it let us get started quickly and let us do lots of cool stuff, like checking to see if your new score beat a friends score and sending that friend a push notification if it did - all with cloud code!

I think the push notifications are a big part of any 'connected' app and it would be great to see a parse push implementation, or at the very least a tutorial/guide to migrate existing device instalations form our parse database to a 3rd party service.

Also, are developing in Unity3D and, unfortunately, Unity3D related features usually get lower priority. I don't see this being much of an issue, since most of these changes are back end stuff. But a few things did catch my eye when skimming over the migration guide - it mentioned in the guide that we should release an update to our app and make sure the app points to the correct server. I'm not even sure if this part of the API is exposed for the Unity version of the Parse client, for example.

I am rambling here, and just voicing concearns, I guess what I am trying to figure out is if we really would be able to transfer seamlessly across to private hosting (minus push notifications) using the Unity version of Parse.

@richardjrossiii
Copy link

@prodigga Correct, migration for Unity 3D is still in limbo. It's there for the rest of our .NET SDK, but I still need to write the glue code to make ParseInitializeBehavior accept a URL.

Rest assured it is coming, along with a few other Unity features that have been in the pipe for a while now.

If you wouldn't mind opening an issue for that on the actual .NET SDK repo (https://github.com/parseplatform/parse-sdk-dotNet/issues), we can handle the actual discussion of that there.

@prodigga
Copy link

@richardjrossiii Opened an issue here parse-community/Parse-SDK-dotNET#166

@prodigga
Copy link

@gfosco could you go in to some more detail as to how one would go about implementing this? It sounds like you know how you would go about implementing it already, so your insight would be great for other developers.

@yemaw
Copy link

yemaw commented Jan 29, 2016

Will Parse team going to actively maintain and develop Parse Server and Parse SDKs after 2017? This is very important for us to make decision whether we should change to another service or host Parse Server our-self.

@zhouhao27
Copy link

@yemaw, I have the same concerns as you have. If Parse SDK will not be actively maintain then we have no point to continue to use it in the future. Maybe we'll take some efforts to migrate to other system or to build our own backend system if that is the case. But I feel the painless solution could be to host Parse Server on our own server.

@bmueller
Copy link

@gfosco would really appreciate a push delivery system added to parse-server in the near future. I make heavy use of the subscription channels, so having something provided by your team would make this transition a lot less painful.

@gfosco gfosco changed the title Questions Push Delivery Jan 29, 2016
@chavanshashank
Copy link

Yeah push delivery is important!

@silviucpp
Copy link

There are any other alternatives to PPNS ? The problem with GCM is that there is no available on all mobile devices. Also you need to have Google Play Services installed which is quite big. PPNS will be available open source?

@telemakhos
Copy link

@bmueller node-gcm allows subscriptions and would be fairly easy to implement in this project... It can deliver Apple and Android pushes.

PS: There's also node-pushserver, which already uses and stores the registration tokens in mongo...

@erlichmen
Copy link

I'm the developer of sambame/open-urban-airship it an open source nodejs server that mimics urban push API and It powers at least three pretty big products out there. It supports sending Android and iOS and it's backup by mongo.
I would love to help integrate that with the Parse platform.

@TheGhoul21
Copy link

we're currently using parse.com for its really nice push notifications. Losing this would be really awful for us, so I'd be pleased to help somehow. What's the plan?

@guenard
Copy link

guenard commented Jan 29, 2016

Believe me.. it won't be easy to add a fast, reliable and open-source push sender to Parse Server (APNS/GCM feedback loop, fast queuing etc.). Developers used Parse instead of a homemade sender for a reason.

Consider switching to a third party like Batch.com where you can use Parse's installation id to send transactional notifications. And it comes with a web dashboard obviously.

@vdharankar
Copy link

No definite reply on future maintenance, its worrying, its like use it at your own risk. I am screwed big time as we were nearing to actual product release. Shouldn't have trusted Facebook.

@luco
Copy link

luco commented Jan 29, 2016

I used push notifications more than anything else. As said, Push is very important.

@telemakhos
Copy link

@vdharankar the pace of growth in stars of this repo is a clear indicator that the project has legs... it's too early to make predictions and you have a year to switch to your own servers or other alternatives (Firebase, Couchbase, etc)... pretty doable IMO

@johnrufusj
Copy link

@erlichmen interesting...

@esamattis
Copy link

Here's one self hosted alternative https://github.com/rs/pushd

@kingmatusevich
Copy link

Push is the main reason I chose parse. Push should be implemented.

@flessard
Copy link
Contributor

Yeah, Push should be implemented. +1

@telemakhos
Copy link

@epeli Nice one! pushd looks awesome!

@kingmatusevich
Copy link

Indeed, pushd seems great, Embedding it into the parse server should be easy, the remaining question is configuring the various SDKs to work with it.

@didierfranc
Copy link

Push implementation would be reassuring news

@alexrmacleod
Copy link

@gfosco It's a sad day, I literally felt sick when I heard the news. I came to parse because it made push notifications so simple. I then fell in love with the dashboard and cloud code. It's clear that if these remain, parse will continue to be the leader in mobile dev.

@kingmatusevich
Copy link

These (push and dashboard) have been confirmed in #56, quote:

I can't guarantee a specific launch date, but rest assured we are at this very moment working on push notifs (for android and ios) and the dashboard.

Also:

Push probably in the next month, and a lite version of the dashboard within two.

@bagusflyer
Copy link
Author

@kingmatusevich These are good news.

@silviucpp
Copy link

PPNS will still be available ? Or only the wrappers around GCM and APNS ?

@lacker
Copy link
Contributor

lacker commented Jan 30, 2016

I don't think we should try to cram PPNS in here - it seems like people should just switch to GCM at this point, since recent Android OS's make nonstandard push services a lot worse. Also running a server that holds sockets open is generally way more complex to operate than running a webserver that handles requests.

@talkaboutdesign
Copy link

I migrated my push to One Signal. Really awesome. They even provider a Parse importer.

@silviucpp
Copy link

@lacker I think PPNS is still important and similar services are used inside facebook messenger, watsapp and viber. The reason being that GCM is not reliable and requires to have Google Play services.

@zhouhao27
Copy link

@talkaboutdesign One Signal is great. But worried it may also shutdown someday so that have to find another solution again.

@gateway
Copy link

gateway commented Feb 4, 2016

Sorry guys I'm late to the game but I see some push code being added to the parse server. I was wondering how this worked before.. Parse Push --> Message Que (RabbitMQ) --> Amazon SNS or did you guys build your own push server, which now thinking of it I think you did because you had to upload the certs to parse.

I'm wondering though on the suggested flow above if this could be implemented. We used SNS quite a bit in the past and it worked out pretty well and the price is just amazing but we had to build our own notification server that pushed data to a que and out to the wild.

May I suggest a work flow like this

Parse Push that could be trigged by cloud code.. with substitution variables in it "{0} gave you {1} gold" (using a game example).. the variables can be pulled from cloud code query and pushed then into a message que (rabbitMQ, or a service like http://www.iron.io/), when its ready to go out (if its timed or needs to go out immediately) send the info via api request to amazon SNS.

The only issue with using SNS is that it needs to have the device tokens injected, which instead of putting them in installations you can push them into SNS.. or keep them at both locations and have the ability to add/remove from mongo and SNS..

You can also create subscriptions to send out mass texts as well .. anyhow just a thought..

screenshot of SNS..

image

@gateway
Copy link

gateway commented Feb 5, 2016

btw Amazon is suggestion a solution, its not complete since you still need a server or message que to talk and send out via SNS https://mobile.awsblog.com/post/Tx3NE69QDHI7LJK/Migrating-from-Parse-Push-to-Amazon-SNS

@anilkbhatt
Copy link

We are primarily using parse push and were happy to see that parse team is making the entire server implementation available as open source. I almost recommended to my team hosting the parse server ourselves and migrate to it, but then realized parse push is not yet available as part of the open source.
Our decision on the alternative will be depending on whether parse push will be eventually made available as part of the open source. If not we will need to look at other solutions, but our first preference would be host the parse server ourselves if it will support push notifications.
We primarily want a delivery system to GCM and APN frameworks. We can live without stand alone parse push (that is , we don't need parse's own proprietary push notification mechanism which was used primarily for android devices without Google Play Services).
I hope parse push will be eventually supported as part of the open source soon (the part which leverages APN and GCM).

@rosarioconti
Copy link

Open Signal it's an option but seeing that the parse team is adding the code it's much better.
Just wondering about one thing, why am I seeing so many bugs ? Wasn't suppose to be open source and work as before?
I mean I understand there are different dependencies to take in count but I'm curious about all these changes, that's all.

@gateway
Copy link

gateway commented Feb 9, 2016

@rosarioconti from what I understand Parse Server they use was written in GO and is being ported over to Node.js

@gfosco
Copy link
Contributor

gfosco commented Feb 14, 2016

Closing since Push delivery and push adapters have landed in 2.0.8. 👍

@gfosco gfosco closed this as completed Feb 14, 2016
@ghost ghost mentioned this issue Dec 24, 2016
kylekasky pushed a commit to kylekasky/parse-server that referenced this issue Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests