<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/migrating-graph-operations-to-apache-age-from-writes-to-reads-hhy7mnjlm" -->

---
title: Migrating Graph Operations to Apache AGE: From Writes to...
description: A production engineering team at Trendyol shares their migration from Neo4j Enterprise to Apache AGE, a graph extension for PostgreSQL. Key decisions include...
canonical: https://daily.dev/posts/migrating-graph-operations-to-apache-age-from-writes-to-reads-hhy7mnjlm
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Migrating Graph Operations to Apache AGE: From Writes to Reads | daily.dev
og:description: A production engineering team at Trendyol shares their migration from Neo4j Enterprise to Apache AGE, a graph extension for PostgreSQL. Key decisions include...
og:url: https://daily.dev/posts/migrating-graph-operations-to-apache-age-from-writes-to-reads-hhy7mnjlm
og:image: https://api.daily.dev/og/posts/Hhy7mnjLM.png
og:image:alt: Migrating Graph Operations to Apache AGE: From Writes to Reads
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Migrating Graph Operations to Apache AGE: From Writes to Reads

**[Trendyol Tech](https://daily.dev/sources/trendyoltech)** · 13 min read · 7 upvotes · 0 comments

## Summary

A production engineering team at Trendyol shares their migration from Neo4j Enterprise to Apache AGE, a graph extension for PostgreSQL. Key decisions include consolidating multiple relationship types into a single discriminated HAS edge for simpler writes, using native SQL instead of Cypher for high-throughput writes, and replacing variable-length path queries (which bypass indexes in AGE and caused 3–5 second response times) with iterative fixed-depth traversals. Go goroutines parallelize multi-hop queries across intermediate nodes, and pointer-based map sets handle memory-efficient deduplication of overlapping results. The migration traded Neo4j's raw graph performance for PostgreSQL's operational advantages: unified infrastructure, CDC via logical replication, and predictable licensing costs.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://medium.com/trendyol-tech/migrating-graph-operations-to-apache-age-from-writes-to-reads-3b8334628e1c>

---

Tags: [#architecture](https://daily.dev/tags/architecture), [#golang](https://daily.dev/tags/golang), [#postgresql](https://daily.dev/tags/postgresql), [#neo4j](https://daily.dev/tags/neo4j)

[View this post on daily.dev](https://daily.dev/posts/migrating-graph-operations-to-apache-age-from-writes-to-reads-hhy7mnjlm)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Migrating Graph Operations to Apache AGE: From Writes to Reads","url":"https://daily.dev/posts/migrating-graph-operations-to-apache-age-from-writes-to-reads-hhy7mnjlm","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/migrating-graph-operations-to-apache-age-from-writes-to-reads-hhy7mnjlm"},"datePublished":"2026-04-16T19:05:09.560Z","dateModified":"2026-04-16T19:05:35.002Z","description":"A production engineering team at Trendyol shares their migration from Neo4j Enterprise to Apache AGE, a graph extension for PostgreSQL. Key decisions include...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5215fbb6c26aab855990295907b1063e?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5215fbb6c26aab855990295907b1063e?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Trendyol Tech","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Trendyol Tech","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/67480ca531174b03952be35abd6572a9","url":"https://daily.dev/sources/trendyoltech"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/migrating-graph-operations-to-apache-age-from-writes-to-reads-hhy7mnjlm","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":7},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"architecture,golang,postgresql,neo4j","timeRequired":"PT13M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Trendyol Tech","item":"https://daily.dev/sources/trendyoltech"},{"@type":"ListItem","position":3,"name":"Migrating Graph Operations to Apache AGE: From Writes to Reads"}]}
```

