Hi Tito, thanks for your interest.
- what happens when the server is flooded with requests? I would think that
> DeltaQL's broadcast would result in too much chattiness, unless it timed
> the response. For example, I see how DeltaQL would be a great fit for a
> Dashboard, but if I'm hitting a table *very* often, it probably wouldn't
> make too much sense to broadcast every single change. If I could specify a
> timer, say 3 seconds, that would still be useful and would use less
> bandwidth. I would like to optimize bandwidth even if this means to
> sacrifice real-time data.
>
I could add a throttle, such that LOps or SOps are only sent out when there
has either been no change for 100 ms or if change is continuous then send
only every second.
The projects that have led to this typically have only a few hundred deltas
per seconf, after filtering, sorting, etc, browsers are typically seeing
only a dozen deltas per second or less.
> - the jargon could be made a little more self-explanatory (what's the
> difference between Head and Tail? It has the same description.)
>
Head and Tail as in the Unix commands - similar to SQL LIMIT.
> - what are the operations you can perform via Lop?
>
LOps and SOps are internal JSON/JS protocols use to communicate between
Silos, Filters, Sorts, etc.
The LOp operations are 'state' (to set the initial state), 'insert' (a row
at a position), 'delete' (the row at a position) and 'update' (a row at a
position).
- how is ResultList kept ordered? By applying a Sort operation? If not
> present, what happens? (unordered? fails?)
>
A result list is kept ordered by manipulating it by position. The 'sort'
transform takes a SOps (set operations) and produces (LOps) list operations.
E.g. {sop:'insert', row:{id:'1',foo:'bar}} -> sort(some comparison func)
-> {lop:'insert', pos:23, row:{id'1',foo:'bar'}};
>
> - it would be great to see a small examples below each Jargon item.
>
Will do...
>
> Very cool idea Chris, but I'd like to see better documentation. With
> better docs people will be able to make better recommendations, I suppose.
>
I'll be improving the docs as I go along.
Thanks for your feedback,
Chris
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en