Amazon Service | Vendor agnostic alternatives |
---|---|
Simple Storage Service (S3) | Backblaze, RunAbove; Cloudfare or any other CDN for geo-distributed static content. |
Relational Database Service (RDS) | aiven.io, Elephantsql, Databaselabs.io |
Simple Queue Service (SQS) | cloudkarafka.com, aiven.io |
Elasticsearch Service | elastic.co, qbox.io |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+-----------------------------------+-------------------------------------------------------------------------------------+ | |
| Amazon Service | Vendor agnostic alternatives | | |
+-----------------------------------+-------------------------------------------------------------------------------------+ | |
| Simple Storage Service (S3) | Backblaze, RunAbove; Cloudfare or any other CDN for geo-distributed static content. | | |
| Relational Database Service (RDS) | aiven.io, Elephantsql, Databaselabs.io | | |
| Simple Queue Service (SQS) | cloudkarafka.com, aiven.io | | |
| Elasticsearch Service | elastic.co, qbox.io | | |
+-----------------------------------+-------------------------------------------------------------------------------------+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+---------------+-----------------+------------+---------------+ | |
| Metric | App deployed | App built & deployed using | | |
| | on DigitalOcean | Hasura on DigitalOcean | | |
+---------------+-----------------+----------------------------+ | |
| Throughput | ~60 req/s | ~250 req/s | | |
+---------------+-----------------+----------------------------+ | |
| Lines of code | 200 | 30 | | |
+---------------+-----------------+----------------------------+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.module('starter.controllers') | |
.controller('RegisterCtrl', function($scope, hasura, $ionicPopup) { | |
$scope.loginData = { | |
username: '', | |
password: '', | |
repassword: '', | |
email: '' | |
}; | |
$scope.doRegister= function() { | |
if($scope.loginData.password !== $scope.loginData.repassword) { |
$ git push hasura master
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
album (where: {year: {_eq: 2018}}) { | |
title | |
tracks { | |
id | |
title | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select id,title from album where year = 2018; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select id, title from tracks where album_id = <album-id> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select id,title from album where year = 2018; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select id, title from tracks where album_id IN {the list of album ids} |
OlderNewer