DUB - call to arms

Nick Sabalausky (Abscissa) SeeWebsiteToContactMe at semitwist.com
Thu May 2 18:35:10 UTC 2019


On 4/29/19 3:11 PM, H. S. Teoh wrote:
> But what might help is if the registry allows more complex queries, like
> "fetch me all candidate packages satisfying contraints P, Q, R... ."
> Single network roundtrip for the entire query, rather than separate
> network requests, once per package.  Of course, this puts more load on
> the server, which may or may not be a good thing, I'm not sure.

GraphQL: https://graphql.org/  (Forget where I came across it, but it 
was just recently.)

And yes, you're pretty much right about the tradeoff between REST vs 
GraphQL. Choosing between them is about balancing "minimizing server 
trips" (GraphQL) vs "maximizing cacheability" (REST).


More information about the Digitalmars-d mailing list