Android bidding Feature

Source: Internet
Author: User

============ Problem Description ============


I want to develop the bidding function of the e-commerce trading platform.
Considering that multiple users are bidding at the same time, the current maximum price displayed by the client is subject to change at any time.
and whether the highest price is determined by clicking the Submit button
How should these functions be implemented?
Ask the high finger to teach!

============ Solution 1============


If the client wants to change at any time,
1. Can be pushed with the cloud, but the failure rate is very high,
2. Or a socket connection, but too much resources,
3. Or let the client keep sending requests to the server,
That's all I'm thinking about, three kinds.

============ Solution 2============


Using a third-party push tool, if the service-side price changes, push to the client a message, update the data
You do not need to write your own socket link.
You have a lot of search under. Like Jpush (I use this).

============ Solution 3============


The auction display requires a refresh event to be sent with MQ,MQ. When a quote is submitted, the client simply submits the data, maintains the spot list on the server side, and, under certain rules, sends a refresh event to MQ.

============ Solution 4============


You can consider using the AVOs Cloud real-time messaging features, this should be able to help you, if you need to push or in-app search, his family has such a service, very comprehensive, now in the app is in the service of his home, feel very good, especially their technical support response very quickly, Have their own problems can not be solved by their technical staff will help you to solve, overall very good ~ this should be able to help you: https://cn.avoscloud.com/docs/realtime.html I also slowly try to add chat function in the app.

Android bidding Feature

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.