Fork me on GitHub
#datomic
<
2018-12-18
>
msewell09:12:03

Why does Datomic Console require the URI to the transactor, rather than requiring the URI to the database where it can fetch the transactor's location from, like a Peer would? Finally got Datomic Console to work by directly connecting to storage rather than the transactor — despite the documentation saying the opposite.

m_m_m12:12:43

Hi. I have idea to hold marketplace data in datomic. Each item is quite unique and can be resell a lot of times (it sounds like a perfect fit for datomic). In the future it will be fully opensource. Would datomic be a good choice? and is it possible to use free version for that? I have to save all data on disc (free version is memory use only? )

claudiu12:12:35

@U4PCP37B8 Have you looked into datomic cloud on aws marketplace ? Experimenting with the solo version now, costs like 1$/day, pretty happy with it + ions so far

m_m_m12:12:40

to be honest...i hate AWS...and if it is possible at the beggining I would like to use something "not on the cloud" 😄

claudiu13:12:46

makes sense. Also not a fan of aws... until now only used google appengine 🙂 The only reason I gave it a try is ions since it configures everything and seems like little overhead for me.

rhansen13:12:34

@U4PCP37B8 free version does store to disc.

m_m_m13:12:00

@U0H2CPW6B what is the main difference between free and pro version ?

rhansen13:12:28

Free version is limited to 2 simultanious peers (pro is unlimited) and, I think, can't target all types of storage (uses H2 as storage backend I believe, which is the Java equivalent of SQlite)

m_m_m13:12:58

@U0H2CPW6B you mean to simultanious readers ?

rhansen14:12:35

Peers. At most two instances can be connected to your datomic instance.

claudiu14:12:36

Hi 🙂 datomic cloud has solo/production, are there any pitfalls if I change the instance types ? Ex: production config but with t2.small

marshall14:12:02

@claudiu You can’t run production with smaller instances

marshall14:12:20

the architecture is designed around certain aspects of the instanes

marshall14:12:50

for instance, Valcache on the local NVMe SSDs

claudiu14:12:23

Is there any solution to have solo instances but with a load balancer ? 🙂 (no downtime on deploy and to work with without aws lambdas when the feature is released)

marshall14:12:58

no, HA / no-downtime-deploy is a feature of production

claudiu14:12:39

oky, So it's solo or production no in between ? Solo should be just fine, but still need to find out what's the SLA for the project.

igrishaev14:12:04

a dull question: does Datomic Free have any limitations when working with in-memory databases? I’ve got a special case when I need a memory-only database. So would it be enough to link just Datomic Free but not the paid version?

ro615:12:27

What do you mean "any limitations"? You get the full programming and data model. If you want to develop against the Client API (rather than Peer) so your code is compatible with Datomic Cloud, https://github.com/ComputeSoftware/datomic-client-memdb works.

igrishaev15:12:50

I meant, any connection limitations. I know that Free might have two simultaneous connections at once.

igrishaev15:12:21

But I believe it isn’t related to in-memory databases, is it?

ro615:12:27

What do you mean "any limitations"? You get the full programming and data model. If you want to develop against the Client API (rather than Peer) so your code is compatible with Datomic Cloud, https://github.com/ComputeSoftware/datomic-client-memdb works.

fmjrey17:12:44

The link to https://github.com/ComputeSoftware/datomic-client-memdb was new to me, thanks. Is there something similar that can abstract differences from datascript and datomic?

Joe Lane17:12:05

What are those differences?

fmjrey17:12:22

Different deps

fmjrey17:12:53

at the very least

igrishaev17:12:52

Can I pass a query result into another query as a data source?

eraserhd18:12:25

igrishaev: Yes. (In fact, I've passed all sorts of neat things as a data source.)

vnctaing20:12:16

Hi, I’m new to datomic. Given a situation where “I have store called Auchan”, it gets renamed “Carrefour Market”. Is there a way in datomic to express “find me any store that is called Auchan or has been called Auchan at any point of time” ? Does my question make sense ?

Joe Lane20:12:39

Ahh, beat me to it shaun!

4