-
Notifications
You must be signed in to change notification settings - Fork 1
Optimize protocol for server or client? #5
Comments
Hi! |
Yeh, As I say before this is a crossroad, in one end we keep it as it is now, in the other end we optimize the flow for the server. I think this is good If Oleg also have a opinion here, as this would affect Open AEP very much in this case. |
I have to agree with suggestion to simplify everything:
To track and generate sequential id for every purchase there should be a counter that is SPOF, so let's use
Would it work? I suggest not to wait for my opinion for a long time. If several specialists agreed on some point - lets just do it. It's better to create new version of protocol later if it's not good enough |
Ok. 1000 item per request is good, as your say this will scale very well on both big and small servers. From this I will create a update version of the protocol. |
Please check the update version of the spef here. |
I suggest not to restrict access to today's download and let Source store decide how often it needs to retrieve data and how fresh data should be. If you don't want to rescan last file all the time - download only previous day. If you want to show application growth to developer immediately - request last updates every minute. It's also possible to use reference in last file for "end-of-day" flag. When all your servers finished register purchases for last day - put this flag in last file of the day and nobody will poll you after that. |
Pull-requests are easier for review and merge, don't hesitate to add one |
Yes, This is possible to allow the system to fetch data from not end days. |
Update version of the spef. |
Hi! |
Accept. All response is sort in newer to older. This will do a "end of day" flag depicted. I think we now has solved all key points and await a update of the spef to be commit. |
Hi morozstepan, how is the work on the renewed specifications progress, is this something I can help your width. |
A question I have from the issues #2 how to allow custom result on query base..
What is our goal in discussion of optimization, I can see two mindset to
handle the problem.
This will do this easy for the clients to fetch and handle result.
But will increase the load of the server, because on the requested data is harder to predict.
That allow the server to create a well define result that can be cached on disk for best performance but limit the customize of the result that can be fetch.
For example the server export result on day to day base.
The text was updated successfully, but these errors were encountered: