This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-06-29
Channels
- # aleph (2)
- # architecture (1)
- # beginners (5)
- # boot (7)
- # cider (24)
- # clara (28)
- # cljs-dev (7)
- # cljsjs (3)
- # cljsrn (24)
- # clojure (145)
- # clojure-italy (2)
- # clojure-nl (7)
- # clojure-uk (54)
- # clojurescript (159)
- # cursive (49)
- # data-science (8)
- # datomic (23)
- # editors (10)
- # emacs (2)
- # fulcro (123)
- # graphql (12)
- # hoplon (2)
- # java (23)
- # jobs (1)
- # jobs-discuss (2)
- # leiningen (17)
- # mount (5)
- # nrepl (5)
- # off-topic (20)
- # om (2)
- # onyx (25)
- # parinfer (2)
- # pedestal (1)
- # re-frame (8)
- # reagent (7)
- # ring-swagger (1)
- # shadow-cljs (24)
- # spacemacs (7)
- # specter (6)
- # tools-deps (7)
- # vim (2)
@stuarthalloway If I start using Ions with Solo, will it automatically upgrade to Production if the app demands for it? Or, will I have to do it manually? Your talk on Ions seem to suggest that it will happen automatically, I don't have to worry about the scaling. Please advise.
@amarjeet I believe you must manually upgrade: https://docs.datomic.com/cloud/operation/upgrading.html#upgrading-solo-to-production
Another query I have: The Datomic Cloud pricing seems to be time-based (usage or no usage) rather than usage-based. Is my understanding correct?
@amarjeet pricing is by EC2/hour on instances that run in your account
@stuarthalloway and the software/hr is for datomic - even if there aren't any transaction/queries - because it's just live waiting for transactions/queries? The reason I am asking is because I had tried Aws lambda and dynamodb combination - I wanted to compare the cost impact .
yes, although note that Datomic can do more than transactions / queries, e.g. serve web requests
True, I have better reasons to use Datomic of course :) I was just trying to estimate my pocket burdens.
we ran the Strange Loop CFP app (which is a Datomic cloud app) for about a month, which is relatively low traffic - just people submitting talks and reviewing talks and the Datomic portion of the cost was about $11/month (EC2 may have been like $100 or something, don’t remember)
it’s a little hard to separate out from other stuff in same account, but maybe that arbitrary real data point is useful
this was not ions, just d cloud
(although I intend to move it to ions :)
I expect ions would allow me to drop this cost considerably as the app would run in the instances I have for d cloud rather than on an additional box
and I used to run on-prem on a box on aws, that at least twice as expensive
nothing beats just trying it of course
you can get daily spend numbers in aws
(datomic ions) sometimes the lambda called by api gateway fails with:
{
"errorMessage": "Timeout connecting to cluster node.",
"errorType": "datomic.ion.lambda.handler.exceptions.Unavailable",
"stackTrace": [
"datomic.ion.lambda.handler$throw_anomaly.invokeStatic(handler.clj:24)",
"datomic.ion.lambda.handler$throw_anomaly.invoke(handler.clj:20)",
"datomic.ion.lambda.handler.Handler.on_anomaly(handler.clj:139)",
"datomic.ion.lambda.handler.Handler.handle_request(handler.clj:155)",
"datomic.ion.lambda.handler$fn__4062$G__3998__4067.invoke(handler.clj:70)",
"datomic.ion.lambda.handler$fn__4062$G__3997__4073.invoke(handler.clj:70)",
"clojure.lang.Var.invoke(Var.java:396)",
"datomic.ion.lambda.handler.Thunk.handleRequest(Thunk.java:35)"
]
}
can you say more about the situation(s) when this occurs? Are you (re)deploying code?