~/talk

Using Gremlin.NET and Azure Cosmos DB for code analysis

Talkat Azure Cosmos DB Conf 2022 · 2022-04-19..04-20· [databases, dotnet]
links:none on file
slides:none on file

A .NET code-analysis pipeline stores a property-graph model of assemblies in Azure Cosmos DB using Gremlin.NET and a custom bytecode-to-script translator that turns TinkerPop bytecode into Cosmos-compatible Gremlin strings. The prototype deserializes vertices, edges, paths and valueMaps, runs queries (for example classes with >30 incoming edges) and visualizes coupling; it currently analyzes standard .NET Framework assemblies and persists results to Cosmos DB. Work in progress lives at bytecode4cosmosdb on GitHub.

AI-written summary · about

  1. 0:00Introduction
  2. 2:00Motivation
  3. 3:40Persistence
  4. 5:13Gremlin
  5. 6:18Property Graph
  6. 7:34Code Model to Graph
  7. 9:15Gremlin NET
  8. 10:22Cosmos DB Connection
  9. 12:45Submitting the query
  10. 13:43Drawbacks
  11. 14:34Bitcode based requests
  12. 15:04GremlinNET extensions
  13. 15:40bytecode based request
  14. 17:38what now
  15. 18:10bytecode based approach
  16. 19:07driver remote connection
  17. 19:50driver remote connection interface
  18. 20:25current implementation
  19. 20:50Groovy translator
  20. 21:01Deserialization
  21. 22:12Analyzing NET assemblies
  22. 22:31Querying data
  23. 23:33Voided method
  24. 24:19Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.