mercredi 13 avril 2016

Bidding application logic

I am seeking help to understand if I am on the right path to solve the business problem or not?

I have to build an bidding application where I have to: 1. Show paged bids as per category 2. Show their time left to start or if has started then time to finish 3. If person navigate to the bid item page , login and show full bid place button. 4. In my point 2, I have to also display the maximun bid so far has been placed.

So, the technology I am applying for real time update/ max bid is using SignalR 2

To optimise the time update from server to client , I want to load bids as per site connection and as per the searched bids.. this way I can optimise the server side push notifications. Eg: site user 1 , searched the bids and found 4 bids .. In this case I want to call my bidTimeManager for 4 bids to monitor and push to this particular client. But For user 2, if he gets 2 bids on the searched page , I want to tell my bidTimeManager to work on these two bids notifications. Please help me in deciding the architecture of application .

The problem so far I have encountered are: 1. I am not able to manage the instance of my BidTimeManage as per site user. 2. I am using .Net TIMMER class to raise the event and not able to control the event when user changes the search. 3. I want to understand how can I manage my BidTimeManager object such that each site user get hold of its own manager and If user have closed or ideal for while I want to instruct to stop sending messages.

Aucun commentaire:

Enregistrer un commentaire