3 ms·
> highly performant API that outperformed REST at scale -- it's called SQL You are conflating many disparate things here. SQL is a language (DSL) for accessin
by deckard1 7y ago
> highly performant API that outperformed REST at scale -- it's called SQL
You are conflating many disparate things here.
SQL is a language (DSL) for accessing data. REST is a protocol and a data transport method (one could surmise a way to do REST without HTTP, but when reasonable people refer to REST they mean HTTP (over TCP (over IP (etc.)))).
Even REST is not an API. You can't do anything with a GET or a POST without other abstractions built on top of that. So I don't understand how anyone could make performance claims beyond something like "HTTP is slow" and "binary transport is faster", with regards to SQL vs. REST/HTTP.
SQL does not define how you receive your data. Databases have different methods of sending SQL and responding to SQL. Oracle, MSSQL, MySQL, etc.
> This centralization of the core logic becomes especially powerful if the database is accessed from multiple consumers
That's the entire point of an API. Any API. REST APIs, even.
- deleted 7y ago[deleted]