Hi I am currently using channel API for my project. My client is a signage player which receives data from app engine server only when user changes a media content. Appengine sends data to client only ones or twice a day. Do you think channel api is a over kill for this? what are some other alternatives?
Channel API overkill?
197 Views Asked by Karthikkumar At
2
There are 2 best solutions below
0
Meni Vaitsi
On
According to the Channel API documentation (https://cloud.google.com/appengine/features/#channel), "The Channel API creates a persistent connection between an application and its users, allowing the application to send real time messages without the use of polling.". IMHO, yours might not the best use case for it.
You may want to take a look into the TaskQueue API (https://cloud.google.com/appengine/features/#taskqueue) as an alternative of sending data from AppEngine to the client.
Related Questions in GOOGLE-APP-ENGINE
- Deployment through app engine, cloud sql database, problem connecting with server code, doesn't connect
- Jetty 12 idle timeout limited to 30 seconds when upgrading to Java 21 in Google App Engine Standard Environment
- Unable to deploy to GAE from Github Actions
- Migrating Google App Engine - Eclipse Java 8
- How to use Oauth in order to log‑in on .googleapis.com on almost any arbitrary endpoints domains from the web browser?
- Running gcloud app deploy and getting PERMISSION_DENIED 'compute.regions.get', despite having Owner and Compute admin permissions
- Spring security CORS configuration not working after deploying to App Engine
- Google App Engine: manual scaling with one instance suddenly created multiple instances
- gcloud.app.deploy Error Response: [13] Failed to create cloud build: invalid bucket
- gcloud.app.deploy Error Response: [13] default Cloud Build service account or user-specified service account does not have access to the bucket
- GCP Java dev_appserver Can't make API call memcache.Get in a thread that is neither the original request thread nor a thread created by ThreadManager
- How to correlate and aggregate logs in Google App Engine Python 3?
- App Engine Python3 db / ndb & eventual consistency
- How do I connect to Google Cloud mySQL from App Engine using Django-Environ?
- How to deploy my fast api with llama 2 on app engine
Related Questions in OVERRIDING
- can I override c++ operator[] with only one function?
- Hide Product Manufacturer name on Volusion product pages
- Visual Studio 2019 C# "Find All References" hides "Symbols without References" under "Not Applicable"
- Generic "Create" method in .NET Core that creates two entities
- Java reflection returning base type for Scala classes
- What methods inherited from the Object class should usually be overridden?
- How to add anchor to WTForms SubmitField?
- why can't we implement two interfaces that have methods with identical signature which one of them has a default implementation in java?
- Allowing PDF upload in product customization Prestashop 1.6: how to delete the uploaded file
- Override virtual generic method
- CMake: Selectively relinking function calls
- How to make method of subclass inherited from pathlib.Path return Path instead of the subclass
- How to change current date underline color react-dateRangePicker
- Redeclare "==" operator inside an extension type - Dart
- Javascript converting a set into an array returns an empty array caused by a website
Related Questions in CHANNEL-API
- Real time updates from Rails app to Rails app
- Twilio Android: Issue in joining a channel : "Member already exists"
- GAE: Channel API: ApplicationError: 1
- Youtube analytics API - different information in case of owning a channel?
- Multi-user timer with Google App Engine
- How reliable is the GAE Channel API /_ah/channel/disconnect channel_presence path?
- Are Google App Engine channels reuseable?
- AppEngine channel API: duplicate messages client side
- Android: How to change the Mobile hotspot broadcast channel by programmatically?
- import appengine channel js api without script tag
- How to use WebRTC on Android for Real Time Communication?
- GAE channels doesn't work after a while
- Handling App Engine Channel API's exceeded quotas
- Access GAE channel API on remote server
- Debugging Channel API Appengine
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Overall, I'd think not. How many clients will be connected?
Per https://cloud.google.com/appengine/docs/quotas?hl=en#Channel the free quota is 200 channel-hours/day, so if you have no more than 8 clients connected you'll be within the free quota -- no "overkill".
Even beyond that, per https://cloud.google.com/appengine/pricing , there's "no additional charge" beyond the computational resources keeping the channel open entails -- I don't have exact numbers but I don't think those resources would be "overkill" compared with alternatives such as reasonably frequent polling by the clients.