Worth clicking into .claude/agents/ in this repo. There are 25 agent definitions, 10 of them code-review dimensions.
I wasn't surprised that it's written in a JVM language, but I was surprised that that language is Java, not JetBrains' very own Kotlin...
Youtrack was made long before Kotlin so I suspect the rewrite just wasn't worth it
TIL - YouTrack was first released in 2009, Kotlin in 2011, so I wouldn't call it long before, but definitely before. Guess I'm more interested in programming languages than in task management tools, that's probably why I have been aware of Kotlin longer than of YouTrack...
Thing is, iirc Kotlin is mostly compatiable / interchangeable with Java so they could write any new code in Kotlin.
You can port files from Java to Kotlin by pressing a button, but Jetbrains has generally not done bulk ports. They leave it up to individual devs to convert a file when it's being worked on, if the diff and VCS history pollution is worth it.
I've always been curious about graph DBs and dabbled a bit in them, but for those who have more extensive experience in them-- are they really worth it? Is it that for small scale SQL is better and graph DBs really only matter at scale, or for specific use cases with highly connected data?
I worked in a startup whose value proposition was largely derived from using graph data and graph databases under the hood. The main benefit is, as the repo even states "Fast data processing: Links traversal is processed with O(1) complexity."<p>So, technically, you can do deep traversals quicker. A few notes:<p>1. Few use cases truly need low-latency deep traversal on realtime data (>5 hops). There are some well known ones like fraud detection in payment processing and, possibly, social media recommendation engines. But I am not even sure how latest social media engines work, and whether they still rely on graph DBs.<p>2. However, in practice the advantage is often marginal. With modern analytical databases, or even an optimized PostgreSQL (ltree, materialized views, pgrouting, pg_duckdb, etc), you often get more than good enough performance. In addition those traditional SQL DBs scale with hardware more easily than graph databases. So, you can always use the lever: "Throw more hardware at it."<p>3. Even Graph DBs don't get good traversal performance under all conditions without hand tuning. For example, there is the "super node" issue, a node with an abnormally high number of connections (edges). And if you still need hand-tuning, you might as well choose something more versatile.<p>4. The ecosystem of a PostgreSQL and other popular DBs is just unbeaten. With graph DBs, you often prematurely put yourself in a corner that you don't want to be in.<p>Hence, my recommendation. Unless you are really sure that a graph DB is the right fit for your use case, start with something else, and go the graph db way when you have established a true need.
I'm a bit of a Forensic Files nerd, so I worked on a little side project a while back to pull the transcripts from several episodes, use entity recognition to categorize people, places, things, etc, and load them into a Neo4j database (via Cypher queries). It turns out there's something called the POLE data model[1] that can be used by law enforcement to help solve crimes. You load all the details into a graph database and evaluate the relationships to aid in solving crimes. I suppose you could argue a criminal investigation is essentially graph traversal.<p>[1] <a href="https://neo4j.com/blog/government/graph-technology-pole-position-law-enforcement/" rel="nofollow">https://neo4j.com/blog/government/graph-technology-pole-posi...</a><p>Edit: typo
I played around with Neo4j and only ever found two domains where it excelled.<p>- custom app security<p>- social media<p>I also think cypher is a brilliant way to query a graph.
I worked for the research branch of a children's hospital. At one point, I was brought into vendor evaluations a department wanted to buy. Their tool had something to do with visualizing protein interactions, which was highly networked. It was basically a Neo4j database with a React UI on top of it.
I wonder if there's a design decision documented somewhere that makes the existing graph databases like Neo4j, etc. not good enough for Youtrack's use case.
Neo4j is a great DB but their license price is egregious for enterprise customers. A few years ago I was involved in negotiating a contract for a small/medium size kubernetes deployment (think around 25 cores) and the annual price was more than the salary of a senior SWE full-time equivalent. See this page for an idea of their prices in 2018: <a href="https://blog.igovsol.com/2018/01/10/Neo4j-Commercial-Prices.html" rel="nofollow">https://blog.igovsol.com/2018/01/10/Neo4j-Commercial-Prices....</a>
Also embedding Neo4j is not possible, that seems to be the killer feature for YouTrackDB, they even shade dependencies so it’s like a no deps Java library for your application.
> small/medium size kubernetes deployment (think around 25 cores<p>That's ~1 machine. 1 SWE for a database isn't egregious, databases provide huge value, but for that little performance, that's crazy.<p>I can only assume as core count has blown up over the last 10 years, the pricing has somewhat diminished, but still, I'd be expecting a heck of a lot more capacity for 1 SWE.
Not just that, if a database company has both a community edition and enterprise then it’s likely the enterprise will get many new features that the community edition will never get.<p>Ongoing enshittification risk.
Didn't Neo4J pivot away from being a boring embedded DB which you point at a path and then traverse through Node objects, and decide to become some kind of paid platform with a client-server protocol and proprietary query DSL?<p>I remembered it from a uni course (early 10s?) a few years ago for a use-case we didn't end up pursuing, but I wasn't hugely comfortable with investing effort into what I saw.
That's a good question indeed. Also I wonder why they picked java as the implementation language.
Likely because they are a Java shop. All the IDEs they develop use Java, so they have quite an expertise in low level optimization for this language.
That's true, although, if you look at them, you wouldn't notice. The only mention of JVM you can see in the IDEs is in the About dialog, and the IDEs install and run their own OpenJDK, so no JVM has to be installed globally. Almost as if they were a bit self-conscious about using such an "unsexy" architecture...
They also have C# expertise, but yes, Java is probably the language they have the most expertise in.
Date of commits shows this project is 3 years old.<p>It’s JetBrains who were synonymous with Java so not a surprise, if was a recent project would have been Kotlin (which this company created)
Because Youtrack itself is written in java
This is the successor of <a href="https://github.com/JetBrains/xodus" rel="nofollow">https://github.com/JetBrains/xodus</a>, but with quite some differences.
There's also falkorDb (based on redis) to consider<p>[0]: <a href="https://github.com/falkordb/falkordb" rel="nofollow">https://github.com/falkordb/falkordb</a>
I played around with something similar before called typedb. It also does object oriented graph model which was a bit weird at first after using sql for a long time, but once it clicks there's a lot of thing that you could express surprisingly nicely
Do they have a doc that says what scale this can operate at?
is it distributed? It would be awesome to use it with graph neural network due to the O(1) graph traversal
It's a fork of OrientDB, isn't it?
Object databases routinely go away and routinely come back.<p>Ten years ago I worked with a database called Versant OODBMS (from Actian). I was a junior sysadmin so i was essentially administering it at a very surface level but skimming the documentation (and trying some of the samples) it was very cool that you could pick essentially any random class, implement an interface (and hence a few method) and that was it, you had a database-serializable object.<p>The main issue was really scaling out (as in, multiple machines) but otherwise was a really great database.
That's funny, one of my buddies from college was one of the OG Versant employees (I assume there's not another OODBMS named Versant). That was in the late 80s.
Yes, POET for C++, for example.<p><a href="http://www.kevra.org/TheBestOfNext/ThirdPartyProducts/ThirdPartySoftware/DataCapture-Storage-Reports/page92/POET/POET.html" rel="nofollow">http://www.kevra.org/TheBestOfNext/ThirdPartyProducts/ThirdP...</a>
summary<p>* AFAICT, this is not (yet) in active use in production YouTrack, which is still using <a href="https://github.com/JetBrains/xodus" rel="nofollow">https://github.com/JetBrains/xodus</a><p>* the technical leader of the YouTrackDB project, Andrii Lomakin, was one of the main contributors to OrientDB -- see <a href="https://medium.com/@youtrackdb" rel="nofollow">https://medium.com/@youtrackdb</a><p>* YouTrackDB is a fork of OrientDB<p>* this project makes heavy use of Claude Code<p>* YouTrackDB does not use Kotlin<p>* this can be used as a network service (rather than just embedded in a single runtime process like in current production YouTrack), but I've not yet got the docker images working to try.<p>from the blurb<p>YouTrackDB is a general-purpose object-oriented graph database developed by JetBrains, used internally in production. It implements the Apache TinkerPop API with Gremlin query language support and features O(1) link traversal, schema-less/mixed/full modes, and encryption at rest. The project is a fork of OrientDB, re-architected under the com.jetbrains.youtrackdb package namespace.
see also <a href="https://youtrackdb.zulipchat.com/" rel="nofollow">https://youtrackdb.zulipchat.com/</a>
[flagged]
Isnt youtrackdb a odd name, if its intended as a general use db? Why link it that much to a specific known product?