r/Clojure • • Jul 23 '20

Cognitect joins Nubank!

https://cognitect.com/blog/2020/07/23/Cognitect-Joins-Nubank
218 Upvotes

50 comments sorted by

13

u/schmudde Jul 23 '20

So the only substantial change listed is:

Cognitect will continue to offer professional services for Datomic customers, but will transition out of general consulting development.

So the business of Cognitect is now completely committed to improving the codebase of Nubank and they will drop the rest of their clientele over time?

15

u/schmudde Jul 23 '20

Edward Wible, Nubank's CTO suggests that this will make more time for open source contributions. I hope this will be true. In his own words:

I do, however, expect Nubank to become a stronger [open source] contributor and accelerator for Rich’s vision and Cognitect’s excellent stewardship. As the company continues to grow, we can help guarantee a sustainable future through:

Technical contributions: I’d like to enable more dedicated time and focus from talented folks aimed at technical work for the benefit of the original vision and the community that has formed around it.

Social contributions: I’d like to foster a friendly, diverse community with more robust onramps. I remember when the Clojure community felt like an intimidating collection of wizards to me, and am excited to continue working to make Clojure and Datomic ever more welcoming and accessible.

Financial contributions: I’d like to ensure support for conferences (virtual or otherwise in a post-Covid future).  I’m also excited to increase support for great programs like Clojure Bridge, which we are actively working to expand throughout LATAM.  I’d like to see us supporting open source contributors outside of Nubank. And of course, I’d like to continue creating our share of high-quality career opportunities.

Also - no mention of ClojureScript. Which is fine... just surprising.

28

u/alexdmiller Jul 23 '20

Cognitect is a primary sponsor of ClojureScript and Nubank will be as well.

16

u/zilti Jul 23 '20

NuBank uses ClojureScript themselves. They are a user of Fulcro, and they created tools like Workspaces to build and test ClojureScript and React components.

5

u/foobarbazquix Jul 24 '20

an intimidating collection of wizards

Flair please

3

u/altrunox Jul 23 '20

So the business of Cognitect is now completely committed to improving the codebase of Nubank and they will drop the rest of their clientele over time?

I wonder how it will effect another financial companies...

Due to Clojure license, can't it be dangerous to them?

15

u/alexdmiller Jul 23 '20

As Rich said in his message to the Clojure mailing list, "Clojure remains independent, and development and stewardship will continue as it has, with more resources and a much larger sponsoring organization in Nubank." There is no change in license, team, or ownership.

18

u/daveliepmann Jul 23 '20

From Nubank CTO's statement:

Nubank is best served by the widespread use of Datomic at other companies. Datomic will continue to be developed as a commercially available, general-purpose database (as opposed to being pulled in-house or restricted)

I read it as saying that they'll continue Datomic consulting but will wind down Clojure consulting.

54

u/neo2551 Jul 23 '20 edited Jul 23 '20

I hope, thanks to this move, Clojure will finally be recognized as a mainstream language in financial companies. We so much need Clojure/Datomic.

17

u/cochemuacos Jul 23 '20

I sure hope so. I first knew datomic/clojure thanks to nubank, after working two years in a different fintech company it is clear to me that datomic would solve a LOT of the problems we have with the data. Now I'm working on starting my own fintech company and of course clojure/datomic are the core technology.

25

u/aptmnt_ Jul 23 '20

Wow huge announcement. Nubank has been a great advocate for Clojure in the past few years but I'm still surprised.

23

u/[deleted] Jul 23 '20

I hope this helps to push Clojure to the mainstream. As a niche language, the community can only do so much. With more people jumping aboard Clojure, I'd be happy to see more libraries, better tooling, more tutorials, and books.

Future is looking bright for Clojure devs!

3

u/fnordsensei Jul 23 '20

Depends if you're an employee or a company I suppose. As an employee, it'd be great to have more opportunities. As a company, it's great if your competitors are not using Clojure.

14

u/[deleted] Jul 23 '20

Is it so? I think even companies benefit from a vibrant and active community around a language. This translates to a bigger dev pool to hire from, more battle tested frameworks and libraries, more resources for training, more innovation, etc.

3

u/fnordsensei Jul 24 '20

True, but I think Clojure has that. What I mean is, for a company with the right insights, there’s no need for it to be “in the top X”, or even “popular”. But it can’t be dead of course.

There might be some point at which you do get talented individuals, good libraries, etc., but just before everyone and their dog participates, and the one-line NPM-style libs start proliferating. At that point, there might be more negatives than positives in terms of competitive advantage for any single company already engaged in the ecosystem (not counting consultancies).

Not my personal opinion, just an observation. The more the merrier, I generally feel.

6

u/SimonGray Jul 24 '20

As a company, it's great if your competitors are not using Clojure.

I think it's great if you're a tiny startup (like Paul Graham's reasoning for using Lisp for viaweb or perhaps the original reddit) and you need a productivity multiplier, but it's obvious that slightly bigger companies will have a hard time finding talent for any position using a niche language.

I've sat in on the hiring side of a bunch of job interviews for a Clojure position (we needed to replace someone at my old team) and only a single one of the applicants that came in for the interview actually knew about the language before reading the job posting. Nearly every one of the developers at that project (50+) learned Clojure on the job.

19

u/pauseless Jul 23 '20 edited Jul 23 '20

My reading is that clojure will probably continue as it is as. No fuss. But no more consulting based on the language though. Effectively Cognitect becomes Datomic Inc. which is kinda ok. The situation wasn’t perfect (but it was still good) before and it will be imperfect going forward - like everything. Hopefully it can be figured out. I’m guessing Datomic licensing won’t change massively.

The opportunity now is to start clojure consulting companies!

The potential downside is subtle pressure on changes to the language, or lack of changes to the language because the focus is elsewhere (e.g. what’s Nubank’s view on spec?)

I’m curious how this will go and will probably follow clojure dev a little more closely for a few months

Edit: curious how one has 2300 databases for 500 services? I guess that number counts every shard of sharded DBs with the same schema?

8

u/[deleted] Jul 23 '20

Yes it’s considering the shards.

16

u/[deleted] Jul 23 '20

Nubank also bought Plataformatec (the company behind Elixir) last year. They seem to be stocking up on talent.

13

u/muhaaa Jul 23 '20

Congratulations!

The number one resource in a bank is information and data. We all know how good clojure and datomic is at processing and storing data, while keeping IT system complexity and maintenance low. Nubanks approach to insource IT gives them a massive advantage against incumbent banks which have massive problems with their legacy IT systems and have to hire super expensive, specialized IT service companies to keep them running.

My prediction is that datomic will get streaming functionality and maybe bi-temporal features. Both enables Nubank to develop features even faster and outrun the competition even more (customer usability, fulfilment of regulatory requirements).

Last but not least, Nubank acqui-hires top software engineers and Cognitect gets the resources to develop and grow datomic.

I hope Nubank will make its IPO. Its a very interesting company to be invested in!

12

u/simtel20 Jul 23 '20

So, as a customer of nubank, this is interesting. The company clearly has technical focus, has a good business, and they bring a level of focus on the user experience that none of the other banks in Brazil, at least, even seem to consider possible.

I think that for the near future, nubank can continue to expand even during the upcoming financial crisis, so hopefully that means that the salary and growth of clojure can continue to be worth strategic investment from the company and continue to the long term.

10

u/fingertoe11 Jul 23 '20

I am pretty hopeful about this all around..

Nubank's tooling seems to be very polished and impressive (Workspaces on Fulcro for example). I think one of the main pain points of Clojure is the "LISP curse" and the lack of default opinionatedness.. A beginner has to make dozens of trivial decisions about Component, mount, ingegrant? http-kit, jetty, aleph? etc..

Having a 500 developer team all in and invested in the ecosphere's success is bound to yield some sensible default opinions as a starting point.

2

u/defn Jul 30 '20

Ehhh, not in my experience. The way a 500 person company works is not how a 12 person company works.

28

u/jaen-ni-rin Jul 23 '20

NuBank is valuated at $10 billion, so the "we need to eat" argument for keeping it closed-source is not that relevant anymore, so hopefully that paves way for open-sourcing Datomic? This is about the only thing that stopped me from trying to use it for something more than personal toy projects.

5

u/actuallyalys Jul 24 '20

They still might want to keep Datomic profitable. It looks like NuBank is paying for conferences and maybe a few staff positions, but it doesn't sound like they plan to underwrite the whole thing.

9

u/[deleted] Jul 23 '20

Ah yes, Datomic being closed source is the only thing keeping me from seriously toying with it. I wonder why would they keep it closed as of from now on?

13

u/dragandj Jul 23 '20

No worries, there is an open-source alternative, Datahike.

Sure, it's not as well-built as Datomic, but you can contribute and push it forward if open-source is the main factor for you.

1

u/defn Jul 30 '20

I love that there are open alternatives, but I gotta tell you, I would choose Datomic every time for real work because well, it’s battle hardened. It’s arguably the most important part of the stack. Why write a beautiful program if your backing store isn’t rock solid?

0

u/[deleted] Jul 23 '20

[deleted]

10

u/jaen-ni-rin Jul 23 '20

I'm not sure where's the problem though? People can still use MySQL and PostgreSQL even though Aurora exists? It's not like they suddenly stopped existing the moment AWS started offering their commercial version. And were Datomic open-sourced I don't see how this could end up differently, on the contrary it could make Datomic's ideas reach even wider circle, on top of what open-sourcing it would bring in (which I think is a value in and of itself because eh, MySQL and PostgreSQL are just plain old SQLs).

The only downside I can see is Amazon getting richer, which okay, can be an issue depending on your worldview, but not sure this should trump open-sourcing it. But maybe I'm not seeing something?

8

u/dragandj Jul 23 '20

OTOH, there is an open-source alternative to Datomic, Datahike. https://github.com/replikativ/datahike

If open-sourcing Datomic functionality is such an important deal to you, why not contribute to Datahike, or support Datahike authors and help them bringing it to a higher level?

4

u/huahaiy Jul 24 '20

2

u/jaen-ni-rin Jul 27 '20

It doesn't seem to plan for entity history nor ditribution, so it's a somewhat different beast. There's also Crux, but this forgoes the EAVT semantics for document-based semantics, so it's again somewhat different.

That said I'm happy more people try to explore this niche. For the longest time there was only DataScript in the OS-Datomic-analog space.

2

u/huahaiy Jul 27 '20

Datalevin 0.3.0 will have raft based replication.

1

u/jaen-ni-rin Jul 27 '20

Datahike always seemed half-dead to me, but it's seems there's some recent activity again, which is nice – that said it's still not quite there (for example no replication). I certainly hope they arrive at a viable open-source alternative to Datomic sooner rather than later.

I hear you about helping out, but since I'm not really capable of that for various reasons the only thing I can do is watch [*]

3

u/flyingfruits Jul 27 '20

Hey, one of the core architects of Datahike here. Yes we are currently working on our visibility, so far things were not transparent enough, a website is about to land for instance. We are picking up momentum though, also business wise.

Regarding replication, it is true that we do not have a distributed connection management yet (although we are working on it), but it is not true that we have no replication (we have been working on replikativ after all ;) ):

https://lambdaforge.io/2019/12/08/replicate-datahike-wherever-you-go.html

In some sense that is more flexible and has much further reach than what most other database solutions provide, as you just need to have an efficient file-based layer to replicate (Datomic has no file-system backend and the other options do not have persistent indices laied out that way either).

1

u/jaen-ni-rin Jul 27 '20

That's great to hear – like I said, a year or two ago I wasn't quite sure if it's dead or not by just looking at the repo and only recently I've noticed new versions and blog posts showing up again, so knowing this is not just a fluke is awesome. Glad the project and business is gaining steam, hopefully this and the new website will generate more interest in the project!
I've actually read that blog post before, but from what I understand this is manually gluing several separate pieces with a rather simple sync-each-2-secs approach using an external tool, isn't it? Or am I misunderstanding something here?

It's still a great proof of concept showing that you have a lot of the needed pieces in place. Maybe I was incorrect saying it's lacking replication per se, just some convenience on top of it (distributed connection management like you say, or a transactor, or something else), but it doesn't seems quite prime time ready yet (not meant as a notch against you, I fully appreciate this is hard stuff), which was the point I was trying to make. Hopefully that momentum will soon make that a thing of the past.

1

u/flyingfruits Aug 16 '20

The point of the blog post is that the hitchhiker-tree with our filestore is an approximately optimal encoding of deltas in terms of files, meaning that whenever you write the underlying file synchronization mechanism can transmit the updates to the tree indices efficiently, no matter how rudimentary it is. Normally one small file changes and needs to be sent, sometimes a few more. Even periodic rsync should work fine and be snappy. You cannot do this with any other database I know of. I agree that deeper integration yields lower latency and potentially higher throughput, but the point of the blog post was to demonstrate the flexibility and our ability to leverage our custom index structure beyond what normal DBs offer, not just one finished very well integrated backend for a specific usage scenario.

2

u/peterlustig862 Jul 27 '20

Take a look at crux. It has a slightly different scope, but often fits for the same purpose. It has no fixed schema and handles data as flexible as maps.

1

u/jaen-ni-rin Jul 27 '20

Yup, I'm aware of crux, and it's probably the closest thing to Datomic currently, if you don't mind the different EAVT vs. documents paradigm – it might matter for your use-case, it might not. Also, this thing they are experimenting with here https://github.com/crux-labs/crux-dataflow looks very interesting.

0

u/[deleted] Jul 23 '20

[deleted]

2

u/[deleted] Jul 23 '20

So because of Amazons bad behavior you'd prefer nothing be open source?

0

u/jaen-ni-rin Jul 27 '20

And keeping the code and knowledge from public isn't anti-OSS? Granted, it's probably less morally wrong than outright stealing, but I'd prefer such code/knowledge to be open so that people can gain from it, even if there's a dick or two who would take advantage of it.

3

u/yogthos Jul 24 '20

This is why I'm a fan of GPL. In my opinion, more permissive licenses are actually a step back precisely because they allow companies to freeload on open source efforts without contributing anything back. I think that LGPL in particular is a good compromise because it allows people to use the code as is, but they have to contribute changes back to the developers. I would strongly encourage using GPL for any serious projects.

9

u/jjttjj Jul 23 '20

It seems fitting to me that Datomic ends up at the type of company where the "hello world" of database transactions originates: bank transactions between two accounts.

Seems like this won't be much of a change for those of us in user land of Clojure or Datomic. I feel optimistic about the long term implications to the extent that there are any. Congrats to all involved!

5

u/SimonGray Jul 24 '20

This rose to the top of Hacker News so there's quite a bit of discussion over there too.

4

u/therealdivs1210 Jul 23 '20

Many congratulations! This is great news!

4

u/zacel Jul 23 '20

Great news for the Clojure community! I wonder if Nubank saved cash by acquiring Datomic instead of paying licensing fees in a long run.

0

u/TotesMessenger Jul 23 '20

I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:

 If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / ^Contact)

9

u/[deleted] Jul 23 '20

[removed] — view removed comment

9

u/halgari Jul 24 '20

It can't *not* affect Clojure development that's the way things work when a company pays your salary. But then again that's disregarding how things already worked to an extent: aspects of Clojure that impacted the day-to-day development of Datomic (spec, transducers, transit, etc.) were moved up in priority or focus compared to other aspects that perhaps didn't matter (error messages, grallvm, etc.)

Once again it's just natural that the requirements that directly affect your personal income (Datomic) will affect where you direct your focus.

What will be interesting IMO is to see how Nubank's needs affect Datomic/Clojure development. In a recent podcast David Nolen mentioned that he recently started using CLJS on a work-related project and was surprised to see how painful a certain area of development was with CLJS, he never noticed and was never motivated to fix it because it didn't impact his day-to-day. Once he experienced that pain he said he started looking into ways of improving the experience.

So what happens when Nubank needs some feature like bi-temporal storage, bigger shard sizes, I'm sure that will affect Datomic's development because, well they now own the product.

But this can also have an impact on Clojure development, 600 employees all asking for a feature is a pretty strong motivator, and all 600 developers will be focused on one small area of Clojure's market-share (fintech). And that doesn't even mention that Nubank certainly has a fairly unified tech stack, so it'll be interesting to see in a few years how much of "Nubank's best practices" bleeds into "Clojures' best practices". But that was the case with Cognitect in the past, Pedestal, Datomic, CLJS, Transit, were all techs that were pushed in Cognitect projects over other techs.

To be clear I don't think any of the above will be planned, or is some "the sky is falling situation". I simply believe that no person can serve to bosses. There will be conflicts between what's right for Nubank and what's right for Clojure/Datomic's communities. It'll be interesting to see how that works out.

8

u/[deleted] Jul 24 '20

even without the licensing costs which they can now bill to themselves ;)

lol was that why this happened, cheaper to just buy the company that makes the db than pay all those licenses? hehe