<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Alican Kilicarslan on Medium]]></title>
        <description><![CDATA[Stories by Alican Kilicarslan on Medium]]></description>
        <link>https://medium.com/@alicankilicarslan?source=rss-748e9d9e0192------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*266pKDyVzeGdXdWGBdkzSw@2x.jpeg</url>
            <title>Stories by Alican Kilicarslan on Medium</title>
            <link>https://medium.com/@alicankilicarslan?source=rss-748e9d9e0192------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 13:00:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alicankilicarslan/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Traditional software engineering is dying, but I don’t think AI is the reason the job market is…]]></title>
            <link>https://medium.com/@alicankilicarslan/traditional-software-engineering-is-dying-but-i-dont-think-ai-is-the-reason-the-job-market-is-24fbc93b6d5f?source=rss-748e9d9e0192------2</link>
            <guid isPermaLink="false">https://medium.com/p/24fbc93b6d5f</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[business]]></category>
            <dc:creator><![CDATA[Alican Kilicarslan]]></dc:creator>
            <pubDate>Mon, 19 Oct 2026 20:09:21 GMT</pubDate>
            <atom:updated>2026-10-19T20:09:21.812Z</atom:updated>
            <content:encoded><![CDATA[<h2>Traditional software engineering is dying, but I don’t think AI is the reason the job market is terrible.</h2><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_X-iSd9-tEKXMjnqSu776A.png" /></figure><p>I recently interviewed for one of FAANG&#39;s new agentic AI positions. I won’t share interview details, but the experience helped me realize where software engineering is heading. I think traditional software engineering as we know it is dying. Not software engineering itself, but what we spend our time doing.</p><p>Remember when we debated React vs. Angular, which framework was more efficient, or how to structure our code? Those questions aren’t completely irrelevant, but they’re becoming much less important. The bigger question now is, how do we solve a business problem using AI, agents, and tools like Google ADK?</p><p>And the deeper you get into actual business problems, the more you realize that AI is making previously unattractive areas interesting again.</p><p>Take conversational AI. Remember IBM Watson and those enterprise chatbots? Companies spent years trying to make these things useful. Now, with better voice models, lower latency, and tools like Dialogflow CX, we’re reopening doors that were practically abandoned.</p><p>But here’s what I think people underestimate.</p><p>Writing code is becoming cheap. Maintaining, reviewing, securing, and operating it is becoming much harder.</p><p>Multi-agent systems introduce a completely different category of problems. Nondeterministic behavior, hallucinations, unpredictable failures, and agents interacting in unexpected ways. Traditional unit testing isn’t enough anymore. You need continuous evaluations, observability, guardrails, error recovery, and fallback strategies. Even then, how confident are you that everything will behave correctly under production load?</p><p>Development timelines are shrinking, but the effort required for validation and maintenance isn’t necessarily shrinking with them.</p><p>There’s also a business problem nobody seems to discuss enough.</p><p>Companies are caught between development velocity and cost. AI allows engineers to build incredibly fast, but someone still needs to justify the cost, estimate ROI, and understand whether the product actually solves a valuable problem.</p><p>I think many AI projects will fail not because the technology doesn’t work, but because engineers and product managers struggle to connect technical decisions with business value and budgets. We’ve spent years separating engineering from those conversations. The growing interest in Forward Deployed Engineer (FDE) roles seems like one attempt to close that gap.</p><p>Security is another huge one. When everyone can build and deploy faster, and agents can access internal systems, APIs, and sensitive data, the attack surface grows dramatically. I wouldn’t be surprised if AI creates significantly more demand for security engineers.</p><p>So my prediction is:</p><ul><li>Coding becomes faster and cheaper.</li><li>Project timelines get shorter.</li><li>Evaluation, maintenance, and reliability become more expensive.</li><li>Security becomes significantly more important.</li><li>Engineers who understand business value become more valuable than engineers who just write code.</li></ul><p>I do think it’s a different story for new grads, though. Entry-level work is probably the most exposed to automation.</p><p>I’m curious what other engineers are seeing.</p><p><strong>Are we actually watching software engineering disappear, or are we entering an era where writing code is the easiest part of the job?</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=24fbc93b6d5f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LangGraph vs. Google ADK in 2026. Part 3: A Practical Decision Framework]]></title>
            <link>https://medium.com/@alicankilicarslan/langgraph-vs-google-adk-in-2026-part-3-a-practical-decision-framework-8b1525f61f1c?source=rss-748e9d9e0192------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b1525f61f1c</guid>
            <category><![CDATA[langgraph]]></category>
            <category><![CDATA[multi-agent-systems]]></category>
            <category><![CDATA[langgraph-vs-google-adk]]></category>
            <category><![CDATA[google-adk]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[Alican Kilicarslan]]></dc:creator>
            <pubDate>Fri, 25 Sep 2026 13:01:02 GMT</pubDate>
            <atom:updated>2026-09-25T13:01:02.542Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MPS9PvvVWs-XvO2MZOBNug.png" /></figure><p><em>There is no universal winner. Choose based on where your system’s complexity actually lives and make sure you can change your mind later.</em></p><p>In the first two parts of this series, I covered two ideas:</p><ol><li>LangGraph and Google ADK are increasingly capable of solving many of the same orchestration problems.</li><li>Production concerns such as context, state, contracts, recovery, observability, and evaluation matter more than framework syntax.</li></ol><p>So the remaining question is the practical one:</p><p><strong>When would I choose LangGraph, and when would I choose Google ADK?</strong></p><p>I would start by identifying what kind of complexity dominates the application.</p><h3>What I Like About LangGraph</h3><p>LangGraph becomes especially attractive when the application needs:</p><h3>Fine-Grained State Management</h3><p>You control exactly how information moves through the workflow.</p><h3>Explicit Routing</h3><p>The execution graph makes control flow visible.</p><h3>Durable Workflows</h3><p>Long-running operations, interruptions, and resumability fit naturally into the model.</p><h3>Human-in-the-Loop</h3><p>Pausing and continuing execution is treated as a first-class orchestration concern.</p><h3>Complex Deterministic + Probabilistic Workflows</h3><p>Normal application logic and LLM reasoning can coexist cleanly.</p><h3>Framework Flexibility</h3><p>The framework operates at a relatively low orchestration layer, which gives the architecture significant room to evolve.</p><h3>What I Like About Google ADK</h3><p>ADK becomes particularly attractive when the application needs:</p><h3>Natural Multi-Agent Composition</h3><p>Specialized agents and coordinator/sub-agent architectures map cleanly onto the framework.</p><h3>Opinionated Agent Primitives</h3><p>There are fewer architectural decisions to invent from zero.</p><h3>Multiple Workflow Styles</h3><p>The same ecosystem supports collaborative, graph-based, and dynamic workflow approaches.</p><h3>Deterministic + Agentic Execution</h3><p>Graph workflows can combine normal functions, tools, agents, routing, and human input.</p><h3>Google Ecosystem Alignment</h3><p>For organizations already deeply invested in Google’s AI and cloud ecosystem, the architectural fit can be an important consideration.</p><h3>Where LangGraph Can Become Difficult</h3><p>The same flexibility that makes LangGraph powerful can also increase engineering decisions.</p><p>There can be several valid ways to solve the same orchestration problem.</p><p>You may need to design:</p><pre>state structure<br>node boundaries<br>graph boundaries<br>subgraphs<br>persistence<br>error handling<br>context propagation<br>routing</pre><p>For an experienced engineering team, this control can be exactly what they want.</p><p>For a small team trying to validate a straightforward agent product, it can also become unnecessary architecture.</p><p>Don’t pay a complexity tax before you need the complexity.</p><h3>Where ADK Can Become Difficult</h3><p>Opinionated frameworks create the opposite trade-off.</p><p>The framework may feel extremely productive when your architecture resembles its preferred patterns.</p><p>The harder question is:</p><blockquote><em>What happens when my workflow stops fitting those patterns?</em></blockquote><p>This is why ADK’s graph and dynamic workflow capabilities matter.</p><p>They provide escape routes when higher-level agent composition is no longer enough.</p><p>Still, teams should think about ecosystem coupling.</p><p>That isn’t automatically bad.</p><p>Vendor integration can dramatically simplify an architecture.</p><p>It simply needs to be a deliberate trade-off rather than an accidental one.</p><h3>My Decision Framework</h3><p>If I were starting a new production project, I would not make a universal recommendation.</p><p>I would ask what kind of complexity dominates the application.</p><h3>Start With LangGraph When</h3><ul><li>complex state transitions dominate the system</li><li>checkpoints and long-running execution are critical</li><li>human-in-the-loop workflows are central</li><li>you need maximum routing control</li><li>deterministic and probabilistic logic are deeply intertwined</li></ul><h3>Start With Google ADK When</h3><ul><li>the architecture naturally consists of specialized agents</li><li>you want opinionated multi-agent primitives</li><li>agent delegation is central to the design</li><li>you are strongly aligned with the Google AI/cloud ecosystem</li><li>you want several orchestration styles inside one agent-oriented framework</li></ul><h3>For Either Framework</h3><ul><li>keep structured outputs and tool contracts independent</li><li>measure your real workload</li><li>avoid unnecessary agents</li><li>design for observability</li><li>keep an exit strategy</li></ul><p>Sometimes the best multi-agent architecture is:</p><p><strong>one agent.</strong></p><h3>Don’t Optimize the First Framework Decision. Optimize Your Exit Cost.</h3><p>The agent ecosystem changes too quickly to assume your first orchestration framework will be your last.</p><p>That means portability should be an architectural goal.</p><p>I would try to keep these outside the framework:</p><pre>Prompts</pre><pre>Tools</pre><pre>Domain models</pre><pre>Evaluation datasets</pre><pre>Business rules</pre><pre>Retrieval interfaces</pre><pre>Observability metadata</pre><p>And let the framework mostly own:</p><pre>Execution</pre><pre>Routing</pre><pre>Scheduling</pre><pre>Checkpointing</pre><pre>Agent lifecycle</pre><pre>Framework-specific middleware</pre><p>Then your architecture looks more like:</p><pre>                Your Application<br>                        │<br>       ┌────────────────┼────────────────┐<br>       │                │                │<br>    Prompts           Tools           Schemas<br>       │                │                │<br>       └────────────────┼────────────────┘<br>                        │<br>                 Orchestration<br>                        │<br>                ┌───────┴───────┐<br>                │               │<br>            LangGraph          ADK</pre><p>Replacing a framework should be unpleasant.</p><p>It should not require rewriting your product.</p><h3>The Decision I Would Avoid</h3><p>I would not choose primarily based on:</p><ul><li>GitHub stars</li><li>the newest framework</li><li>the shortest tutorial</li><li>one benchmark</li><li>one conference demo</li><li>one viral architecture diagram</li></ul><p>Framework ecosystems move too quickly.</p><p>Instead, build a small representative workflow.</p><p>Include the ugly cases.</p><p>Then ask:</p><pre>Can I understand the state?</pre><pre>Can I control the context?</pre><pre>Can I replay failures?</pre><pre>Can I validate tool boundaries?</pre><pre>Can I recover from partial execution?</pre><pre>Can I measure quality?</pre><pre>Can I observe every important decision?</pre><pre>Can I replace the framework later?</pre><p>If the answer is yes, you’re probably much closer to the right architecture.</p><h3>The Framework That Makes Failure Boring Usually Wins</h3><p>A simple framework comparison should not start with the happy path.</p><p>Start with the failure path.</p><p>Create a small workflow that contains:</p><ul><li>one tool call</li><li>one state transition</li><li>one failed tool response</li><li>one retry</li><li>one structured output</li><li>one human approval</li><li>one resumed execution</li></ul><p>Implement that workflow in both frameworks.</p><p>Then look at the code.</p><p>Look at the traces.</p><p>Look at the state.</p><p>Look at the recovery behavior.</p><p>Look at how much custom glue you had to write.</p><p>The framework that makes the failure cases boring is probably a better fit for your team than the framework that made the first demo look impressive.</p><h3>LangGraph vs Google ADK: My Real Conclusion</h3><p>I don’t think there is a universal winner.</p><p>LangGraph and Google ADK are approaching the same problem from different historical directions.</p><p>LangGraph starts close to:</p><blockquote><strong><em>workflow, state, and control</em></strong></blockquote><p>and builds toward increasingly capable agents.</p><p>Google ADK starts close to:</p><blockquote><strong><em>agents, tools, and collaboration</em></strong></blockquote><p>and has expanded toward increasingly sophisticated workflow control.</p><p>In 2026, the overlap between them is substantial.</p><p>So instead of asking:</p><blockquote><strong><em>Which framework can build my agent?</em></strong></blockquote><p>I would ask:</p><blockquote><strong><em>Which framework makes the difficult parts of my system easier to reason about?</em></strong></blockquote><p>If your complexity lives in <strong>state transitions, durability, recovery, and precise control</strong>, LangGraph deserves serious consideration.</p><p>If your complexity lives in <strong>composing specialized agents, delegation, and building inside an agent-centric ecosystem</strong>, ADK deserves serious consideration.</p><p>And if you’re still unsure?</p><p>Don’t build the full platform.</p><p>Build the smallest realistic workflow containing a tool call, state transition, failure, retry, and human decision.</p><p>Implement it in both.</p><p>The framework that makes the <strong>failure cases boring</strong> is probably the framework you want.</p><p>Because building an agent demo is easy.</p><p>Building one you can operate for years is the real engineering problem.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b1525f61f1c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LangGraph vs. Google ADK in 2026. Part 2: What Actually Matters in Production]]></title>
            <link>https://medium.com/@alicankilicarslan/langgraph-vs-google-adk-in-2026-part-2-what-actually-matters-in-production-8e42737c0d08?source=rss-748e9d9e0192------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e42737c0d08</guid>
            <category><![CDATA[langgraph-vs-google-adk]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[google-adk]]></category>
            <category><![CDATA[langgraph]]></category>
            <category><![CDATA[multi-agent-systems]]></category>
            <dc:creator><![CDATA[Alican Kilicarslan]]></dc:creator>
            <pubDate>Tue, 22 Sep 2026 13:01:03 GMT</pubDate>
            <atom:updated>2026-09-22T13:01:03.342Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ve4nZUAzRWAB5HRJo1jsaA.png" /></figure><p><em>Framework syntax is not the hard part. Context, state, contracts, failure recovery, observability, and evaluation are.</em></p><p>In Part 1, I compared the core philosophies behind LangGraph and Google ADK.</p><p>You can read it here: <a href="https://medium.com/@alicankilicarslan/langgraph-vs-google-adk-in-2026-part-1-two-different-ways-to-think-about-agent-orchestration-e1d3c18ee0aa"><strong>LangGraph vs. Google ADK in 2026. Part 1: Two Different Ways to Think About Agent Orchestration</strong></a></p><p>LangGraph tends to make <strong>state and workflow control</strong> explicit.</p><p>Google ADK tends to make <strong>agent composition and delegation</strong> natural.</p><p>But once an agent reaches production, the framework API becomes only one part of the architecture.</p><p>The harder questions become:</p><ul><li>What does each model call actually see?</li><li>What information crosses agent boundaries?</li><li>How are tools validated?</li><li>What happens when execution fails halfway through?</li><li>Can a human pause and resume the workflow?</li><li>Can you reconstruct exactly why the system made a decision?</li></ul><p>Those questions matter more than which framework produces the shortest demo.</p><h3>The Hidden Problem: Context Engineering</h3><p>I think context engineering is becoming more important than prompt engineering.</p><p>In real agent systems, the prompt you manually write is only one part of what reaches the model.</p><p>The effective context can contain:</p><pre>system instructions<br>+<br>framework instructions<br>+<br>tool definitions<br>+<br>conversation history<br>+<br>retrieved documents<br>+<br>workflow state<br>+<br>agent handoffs<br>+<br>previous tool results<br>+<br>memory<br>+<br>user input</pre><p>This creates one of the most important production questions:</p><blockquote><strong><em>What exactly does each model invocation need to know?</em></strong></blockquote><p>Not:</p><blockquote><strong><em>What information is available?</em></strong></blockquote><p>Those are different questions.</p><p>Giving every agent everything is easy.</p><p>Giving each agent exactly what it needs is architecture.</p><p>This matters for both LangGraph and ADK.</p><h3>Keep State Separate From Model Context</h3><p>Suppose your application knows:</p><pre>customer<br>order<br>permissions<br>previous_actions<br>retrieval_results<br>validation_status</pre><p>That does not mean every LLM invocation needs all of them.</p><p>The application might maintain rich state while exposing only:</p><pre>customer request<br>relevant order fields<br>allowed actions<br>relevant retrieved evidence</pre><p>to a particular agent.</p><p>This can improve:</p><ul><li>cost</li><li>model focus</li><li>security</li><li>predictability</li><li>observability</li></ul><p>A well-designed orchestration layer should make it easy to separate <strong>application state</strong> from <strong>model context</strong>.</p><p>That distinction becomes more important as systems grow.</p><h3>Tools Should Be Contracts, Not Just Functions With Nice Docstrings</h3><p>Another principle I would apply regardless of framework is treating tool calls as API boundaries.</p><p>A tool should not just be:</p><pre>def do_something(data):<br>    ...</pre><p>The agent needs a clearly defined contract:</p><pre>Input schema<br>↓<br>Validation<br>↓<br>Authorization<br>↓<br>Execution<br>↓<br>Output schema<br>↓<br>Validation</pre><p>This is where technologies such as Pydantic in Python and Zod in TypeScript become extremely important.</p><p>I increasingly think about them as the <strong>contract layer</strong> underneath agent frameworks.</p><p>Your orchestration framework may change.</p><p>Your business contract should not.</p><h3>Your Domain Models Should Not Belong to LangGraph or ADK</h3><p>Imagine your application needs a structured decision.</p><p>Conceptually:</p><pre>class Decision:<br>    action<br>    confidence<br>    explanation<br>    requires_review</pre><p>That object belongs to your domain.</p><p>The orchestration framework should consume it.</p><p>It should not define the meaning of it.</p><p>I prefer architectures that look approximately like this:</p><pre>                Application<br>                      │<br>            ┌─────────┴─────────┐<br>            │                   │<br>      Domain Contracts       Tools<br>      Pydantic / Zod        APIs / DB<br>            │                   │<br>            └─────────┬─────────┘<br>                      │<br>                Orchestration<br>                /           \<br>          LangGraph          ADK</pre><p>This becomes valuable when:</p><ul><li>models change</li><li>frameworks change</li><li>tool implementations change</li><li>evaluation approaches change</li><li>infrastructure moves</li></ul><p>The less business logic trapped inside framework-specific abstractions, the better.</p><h3>Human-in-the-Loop Changes the Comparison</h3><p>Human approval often looks simple in diagrams.</p><p>It isn’t.</p><p>Imagine an agent reaches a potentially sensitive action.</p><p>You may need to:</p><pre>pause workflow<br>↓<br>persist state<br>↓<br>notify someone<br>↓<br>wait minutes, hours, or days<br>↓<br>receive approval<br>↓<br>reload the correct execution<br>↓<br>continue from the correct point</pre><p>That is no longer just LLM orchestration.</p><p>It is workflow infrastructure.</p><p>This is an area where LangGraph’s execution model is particularly attractive because checkpointing, interruption, and resumption are central concepts in its architecture.</p><p>For systems containing many approval boundaries, I would look closely at this before looking at demo code.</p><h3>Don’t Compare Agent Frameworks by Lines of Code</h3><p>Framework comparisons often look like this:</p><p><em>Framework A implemented the agent in 40 lines.</em></p><p><em>Framework B required 90.</em></p><p>Therefore, Framework A is simpler.</p><p>I don’t think this tells us very much.</p><p>Production complexity tends to appear later:</p><pre>happy path<br>    ↓<br>timeouts<br>    ↓<br>retries<br>    ↓<br>tool failures<br>    ↓<br>partial state<br>    ↓<br>human review<br>    ↓<br>observability<br>    ↓<br>permissions<br>    ↓<br>evaluation<br>    ↓<br>version migration</pre><p>The important question isn’t how quickly you implement the happy path.</p><p>It is:</p><blockquote><strong><em>How naturally does the framework represent the boring failure cases?</em></strong></blockquote><p>That is usually where production architecture reveals itself.</p><h3>Observability Should Influence Framework Selection</h3><p>Agents are probabilistic software calling deterministic software.</p><p>That combination can be painful to debug.</p><p>When something goes wrong, “the LLM made a mistake” is not a useful production diagnosis.</p><p>You should ideally be able to reconstruct:</p><pre>User input<br>→ model input<br>→ model output<br>→ routing decision<br>→ tool arguments<br>→ tool result<br>→ state update<br>→ next model invocation<br>→ final result</pre><p>And every important execution should ideally be associated with:</p><pre>model version<br>prompt version<br>tool version<br>workflow version<br>retrieval configuration<br>evaluation version</pre><p>Without that information, debugging agent systems eventually becomes archaeology.</p><p>Both ecosystems provide observability options, directly or through surrounding tooling.</p><p>I would evaluate this seriously rather than treating tracing as something to add after launch.</p><h3>Evaluation Matters More Than Framework Benchmarks</h3><p>People naturally search for:</p><p><strong>LangGraph vs Google ADK performance</strong></p><p>But framework-level benchmarks can be misleading.</p><p>Agent performance depends heavily on:</p><ul><li>model</li><li>prompts</li><li>context</li><li>number of model calls</li><li>tools</li><li>retry policies</li><li>retrieval architecture</li><li>concurrency</li><li>infrastructure</li><li>state management</li><li>workflow design</li></ul><p>A better benchmark is your own workload.</p><p>Build a small representative evaluation set containing:</p><pre>normal request<br>tool failure<br>bad tool response<br>missing information<br>ambiguous request<br>retry<br>human approval<br>partial execution<br>unexpected model output</pre><p>Run the same scenarios through each implementation.</p><p>Then measure the outcomes that actually matter to you.</p><h3>The Metrics I Care About in Production</h3><p>Latency matters.</p><p>Cost matters.</p><p>But neither number is sufficient by itself.</p><p>For a serious agent system, I would measure:</p><ul><li>task success rate</li><li>cost per successful task</li><li>model calls per completed workflow</li><li>input tokens</li><li>output tokens</li><li>retry rate</li><li>tool-call accuracy</li><li>structured-output failure rate</li><li>human escalation rate</li><li>p50/p95/p99 latency</li><li>recoverability</li><li>observability</li><li>reproducibility</li></ul><p>The metric at the top of my list would usually be:</p><blockquote><strong><em>Cost per successful task at an agreed quality level.</em></strong></blockquote><p>An inexpensive incorrect answer is not inexpensive.</p><p>A fast failed workflow is not fast.</p><h3>Part 2 Takeaway</h3><p>Once an agent reaches production, framework selection becomes less about syntax and more about operational behavior.</p><p>The questions I care about are:</p><pre>Can I control what each model sees?</pre><pre>Can I validate every important boundary?</pre><pre>Can I recover from partial execution?</pre><pre>Can a human safely intervene?</pre><pre>Can I replay a failure?</pre><pre>Can I measure quality?</pre><pre>Can I explain what happened?</pre><p>If a framework makes those things difficult, its elegant demo API does not matter much.</p><p>In Part 3, I’ll turn this into a practical decision framework for choosing between <strong>LangGraph and Google ADK </strong>and explain why your exit strategy may matter more than the first framework you choose.</p><h3>Further Reading</h3><p>LangGraph Documentation<br><a href="https://docs.langchain.com/oss/python/langgraph/">https://docs.langchain.com/oss/python/langgraph/</a></p><p>Google Agent Development Kit<br><a href="https://adk.dev/">https://adk.dev/</a></p><p>Pydantic: The Contract Layer of Agentic AI<br><a href="https://agentswarms.fyi/blog/pydantic-the-contract-layer-of-agentic-ai">https://agentswarms.fyi/blog/pydantic-the-contract-layer-of-agentic-ai</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e42737c0d08" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LangGraph vs. Google ADK in 2026. Part 1: Two Different Ways to Think About Agent Orchestration]]></title>
            <link>https://medium.com/@alicankilicarslan/langgraph-vs-google-adk-in-2026-part-1-two-different-ways-to-think-about-agent-orchestration-e1d3c18ee0aa?source=rss-748e9d9e0192------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1d3c18ee0aa</guid>
            <category><![CDATA[multi-agent-systems]]></category>
            <category><![CDATA[langgraph]]></category>
            <category><![CDATA[langgraph-vs-google-adk]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[google-adk]]></category>
            <dc:creator><![CDATA[Alican Kilicarslan]]></dc:creator>
            <pubDate>Sun, 20 Sep 2026 18:43:38 GMT</pubDate>
            <atom:updated>2026-09-20T18:47:49.603Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j_kVUVeRzcE8dUXKEvhbkQ.png" /></figure><p><em>Both can build sophisticated AI agents. The real difference is where you want control, where you want opinionated defaults, and how much orchestration complexity you want to own.</em></p><p>There is a familiar problem in agentic AI right now.</p><p>You decide to build a production agent. Then suddenly you have to choose between LangGraph, Google ADK, OpenAI Agents SDK, PydanticAI, CrewAI, AutoGen, LlamaIndex, and another framework that probably launched while you were reading this sentence.</p><p>The natural question is:</p><p><strong>Which framework is best?</strong></p><p>I think that is the wrong question.</p><p>After working with agent orchestration, RAG, tool calling, structured outputs, guardrails, evaluation, and multi-agent architectures, I have become much more interested in a different question:</p><blockquote><strong><em>Where do I want the framework to be opinionated, and where do I want my application to remain in control?</em></strong></blockquote><p>That is the question I would use to compare <strong>LangGraph and Google Agent Development Kit (ADK)</strong> today.</p><p>And in 2026, the comparison is much more interesting than “graphs vs agents.”</p><h3>First: LangGraph and ADK Are Getting Closer</h3><p>A lot of older comparisons describe the frameworks this way:</p><p><strong>LangGraph:</strong> low-level graph orchestration.</p><p><strong>Google ADK:</strong> higher-level multi-agent framework.</p><p>There is still some truth to that distinction, but it is increasingly incomplete.</p><p>LangGraph is designed around explicit nodes, state, transitions, persistence, retries, and control over execution. Its architecture strongly emphasizes durable execution, human-in-the-loop workflows, state management, and explicit orchestration.</p><p>Google ADK now supports several orchestration styles as well:</p><ul><li>graph-based workflows</li><li>dynamic workflows</li><li>collaborative multi-agent workflows</li><li>deterministic execution nodes</li><li>agent-driven delegation</li></ul><p>ADK 2.x graph workflows can combine LLM agents, deterministic functions, tools, routing logic, state, and human input inside the same execution graph.</p><p>So the decision is no longer:</p><blockquote><strong><em>Do I want a graph or do I want agents?</em></strong></blockquote><p>Both can do both.</p><p>The difference is increasingly about <strong>how you want to build the system</strong>.</p><h3>The Way I Think About LangGraph</h3><p>LangGraph feels like an orchestration engine first.</p><p>You start thinking about:</p><p><strong>What is my state?</strong></p><p>Then:</p><p><strong>What changes that state?</strong></p><p>Then:</p><p><strong>Where can execution go next?</strong></p><p>Conceptually:</p><pre>State<br>  ↓<br>Node<br>  ↓<br>Decision<br> ↙   ↘<br>A     B<br>↓     ↓<br>Tool  Agent<br> \     /<br>  ↓   ↓<br> Validation<br>     ↓<br>    End</pre><p>The graph is not just an implementation detail.</p><p>It becomes part of the architecture.</p><p>That can be extremely valuable when your AI system contains important deterministic business logic.</p><p>For example, a workflow may need to:</p><ul><li>pause execution</li><li>wait for human approval</li><li>retry a failed operation</li><li>recover from a tool failure</li><li>continue from persisted state</li><li>branch according to structured data</li><li>execute deterministic code between model calls</li><li>preserve state across long-running operations</li></ul><p>LangGraph makes those concerns explicit.</p><p>That is a powerful model.</p><p>But there is a trade-off.</p><p>You own more of the orchestration architecture.</p><h3>The Way I Think About Google ADK</h3><p>ADK feels more like an <strong>agent application framework</strong>.</p><p>Instead of beginning entirely from the state machine, you can begin from agents:</p><pre>Coordinator<br>├── Specialist Agent<br>├── Specialist Agent<br>├── Specialist Agent<br>└── Specialist Agent</pre><p>Each agent can have:</p><ul><li>instructions</li><li>tools</li><li>responsibilities</li><li>boundaries</li><li>sub-agents</li><li>model configuration</li></ul><p>The framework gives you several ways to coordinate them.</p><p>For relatively autonomous systems, collaborative workflows allow a coordinator to delegate work to specialized agents.</p><p>For predictable workflows, you can use graph-based orchestration.</p><p>For workflows that are easier to express as code, ADK also supports dynamic workflows.</p><p>That is what I find most interesting about modern ADK.</p><p>It gives you fairly opinionated agent abstractions without forcing every workflow to be purely LLM-controlled.</p><p>You can still drop down into deterministic execution when reliability requires it.</p><h3>The Most Important Architectural Question: Who Controls the Workflow?</h3><p>This is probably the first question I would ask when choosing between them.</p><p>Consider two extremes.</p><h3>Mostly Deterministic Workflow</h3><p>The system already knows the process:</p><pre>Receive request<br>→ validate<br>→ retrieve information<br>→ classify<br>→ call service<br>→ validate result<br>→ human approval if necessary<br>→ respond</pre><p>The LLM provides intelligence inside the process, but the application controls the process.</p><p>This is naturally aligned with the way LangGraph encourages developers to think.</p><p>ADK graph workflows can now model this style as well.</p><h3>Mostly Agent-Driven Workflow</h3><p>Now imagine the system knows the goal but not necessarily the sequence:</p><pre>User goal<br>   ↓<br>Coordinator<br>   ↓<br>Which specialist is needed?<br>   ↓<br>Delegate<br>   ↓<br>Maybe call another specialist<br>   ↓<br>Synthesize</pre><p>Here the coordination itself can be partly semantic.</p><p>ADK’s collaborative multi-agent model fits naturally into that architecture.</p><p>LangGraph can absolutely implement the same pattern.</p><p>The question is not whether it can.</p><p>The question is:</p><blockquote><strong><em>Which abstraction better matches the architecture you already want?</em></strong></blockquote><h3>LangGraph’s Biggest Strength: Explicit State</h3><p>State sounds boring until your agent reaches production.</p><p>Then it becomes one of the most important parts of the system.</p><p>You need to know things like:</p><pre>What has already happened?</pre><pre>What did the previous agent produce?</pre><pre>Which tools were executed?</pre><pre>What has been validated?</pre><pre>What still needs approval?</pre><pre>Where should execution resume?</pre><pre>What should the next node actually see?</pre><p>LangGraph puts shared state near the center of its programming model.</p><p>That makes state transitions visible.</p><p>It also encourages an important architectural discipline:</p><blockquote><strong>Store structured state rather than turning everything into another giant prompt.</strong></blockquote><p>Your application state and your model context should not automatically be the same thing.</p><p>That distinction becomes increasingly important as agent systems grow.</p><h3>ADK’s Biggest Strength: Agent Composition</h3><p>ADK’s strongest abstraction, in my view, is how naturally specialized agents can become building blocks.</p><p>Instead of one enormous agent with an enormous system prompt, responsibilities can be separated.</p><p>Conceptually:</p><pre>                Coordinator<br>                      │<br>        ┌─────────────┼─────────────┐<br>        ↓             ↓             ↓<br>    Research       Domain        Action<br>     Agent          Agent         Agent<br>        │             │             │<br>        └─────────────┼─────────────┘<br>                      ↓<br>                  Validation</pre><p>This is important because multi-agent design should not mean:</p><blockquote><strong><em>“Create more agents.”</em></strong></blockquote><p>It should mean:</p><blockquote><strong><em>“Create meaningful boundaries.”</em></strong></blockquote><p>A specialist should exist because isolating its context, tools, permissions, responsibilities, model, or evaluation criteria creates a better architecture.</p><p>Otherwise, another agent is just another model call with a clever name.</p><h3>Multi-Agent Does Not Automatically Mean Better</h3><p>One of the most common mistakes in agentic architecture is assuming:</p><pre>1 agent = simple<br>5 agents = sophisticated<br>20 agents = extremely sophisticated</pre><p>That is not how it works.</p><p>Every additional agent potentially introduces:</p><ul><li>another model call</li><li>another prompt</li><li>another context</li><li>another handoff</li><li>another possible failure</li><li>another evaluation boundary</li><li>more latency</li><li>more tokens</li><li>more debugging complexity</li></ul><p>Before creating another agent, I like asking:</p><blockquote><strong><em>What capability becomes meaningfully better because this responsibility is isolated?</em></strong></blockquote><p>Good reasons might include:</p><ul><li>different tools</li><li>different security permissions</li><li>different context</li><li>different models</li><li>independent evaluation</li><li>reusable specialization</li><li>parallel execution</li></ul><p>“Because multi-agent architecture sounds better” is not one of them.</p><h3>Part 1 Takeaway</h3><p>The most useful way to think about LangGraph vs Google ADK is not:</p><p><strong>graphs vs agents</strong></p><p>It is:</p><p><strong>explicit orchestration vs agent-centric composition</strong></p><p>LangGraph starts from workflow, state, and control.</p><p>ADK starts from agents, tools, and collaboration, while increasingly adding explicit workflow capabilities.</p><p>In Part 2, I’ll go deeper into what matters once either framework reaches production: <strong>context engineering, contracts, human-in-the-loop execution, observability, and evaluation.</strong></p><h3>Further Reading</h3><p>Google Agent Development Kit<br><a href="https://adk.dev/">https://adk.dev/</a></p><p>Google ADK — Multi-Agent Systems<br><a href="https://adk.dev/agents/multi-agents/">https://adk.dev/agents/multi-agents/</a></p><p>Google ADK — Graph Workflows<br><a href="https://adk.dev/graphs/">https://adk.dev/graphs/</a></p><p>LangGraph Documentation<br><a href="https://docs.langchain.com/oss/python/langgraph/">https://docs.langchain.com/oss/python/langgraph/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1d3c18ee0aa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Scaling Git in a Monorepo: 11 Practical Ways to Speed Up Large Codebases]]></title>
            <link>https://medium.com/@alicankilicarslan/scaling-git-in-a-monorepo-11-practical-ways-to-speed-up-large-codebases-2a40b3b7207c?source=rss-748e9d9e0192------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a40b3b7207c</guid>
            <category><![CDATA[bitbucket]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[monorepo]]></category>
            <category><![CDATA[gitlab]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Alican Kilicarslan]]></dc:creator>
            <pubDate>Thu, 20 Aug 2026 16:01:31 GMT</pubDate>
            <atom:updated>2026-08-20T16:01:31.461Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uIVFOC942wyQ0Z2guJYWyQ.png" /><figcaption>Huge codebases are like large archives</figcaption></figure><p>As a monorepo grows, Git can feel slow for several different reasons. git status may scan hundreds of thousands of files. A fetch may download and process thousands of irrelevant branch references. A checkout may rewrite a huge working tree. Meanwhile, builds and tests may repeat work for packages that did not change.</p><p>There is no single switch that fixes all of these problems. The best results come from optimizing four separate costs:</p><ul><li><strong>Working-tree cost:</strong> how many files Git must inspect or update.</li><li><strong>Repository cost:</strong> how much history and how many objects Git must maintain.</li><li><strong>Network and reference cost:</strong> how much data and metadata each fetch process costs.</li><li><strong>Build-system cost:</strong> how much unaffected code the monorepo rebuilds and retests.</li></ul><p>The following eleven techniques address those costs directly. The first six are a strong baseline for existing large repositories; the final five extend the strategy to clones, checkouts, binary assets, and the build pipeline.</p><p>Before changing anything, record a small baseline:</p><pre>git --version<br>time git status<br>time git fetch origin<br>time git switch main</pre><p>Run each command more than once because caches warm up. Test changes on a representative developer machine and repository rather than assuming every optimization helps every filesystem.</p><h3>1. Enable scheduled Git maintenance</h3><p>Large repositories accumulate loose objects, packfiles, commit history, and indexes that become more expensive to traverse over time. Git maintenance performs this housekeeping in the background instead of making an interactive command absorb all of the cost.</p><p>From the repository, run:</p><pre>git maintenance start</pre><p>This registers the repository for scheduled maintenance and configures the platform scheduler. Git is used cron on many POSIX systems, launchctl on macOS, and on Task Scheduler on Windows. Maintenance can update structures such as commit graphs and pack data, improving history walks, object lookup, fetches, and disk use. Git’s own documentation describes the tasks and scheduling behavior in detail in <a href="https://git-scm.com/docs/git-maintenance">git maintenance</a>.</p><p>This is better than asking developers to run git gc --aggressive regularly. Aggressive garbage collection can consume substantial CPU and I/O, while scheduled maintenance is designed to distribute routine work safely over time.</p><p>Useful commands are:</p><pre># Run the configured maintenance tasks now<br>git maintenance run</pre><pre># Remove the repository from scheduled maintenance<br>git maintenance unregister</pre><p>One linked-worktree family shares a repository and object database, so it does not need a separate full clone and separate maintenance burden for every worktree.</p><h3>2. Enable feature.manyFiles</h3><p>Git provides a bundled feature flag for repositories with a very large working tree:</p><pre>git config feature.manyFiles true</pre><p>Set it locally, as shown, so the optimization applies to the large repository without silently changing every repository on the machine.</p><p>In current Git, this feature changes several defaults:</p><ul><li>index.version=4 compresses repeated path prefixes in the index.</li><li>core.untrackedCache=true caches information used to find untracked files.</li><li>index.skipHash=true avoids computing the trailing index checksum during index writes.</li></ul><p>These settings can reduce the work behind commands such as status, add, commit, and checkout. The exact behavior and compatibility notes are documented under <a href="https://git-scm.com/docs/git-config#Documentation/git-config.txt-featuremanyFiles">feature.manyFiles</a>.</p><p>There are two cautions. The untracked cache assumes reliable filesystem modification times. Also, it index.skipHash has compatibility implications for older Git clients: older versions may reject or incorrectly report the index. Standardize a modern Git version across the command line, IDE, and automation before enabling the feature for a team.</p><h3>3. Enable the filesystem monitor</h3><p>Without a filesystem monitor, Git may need to stat a large portion of the working tree to discover what changed. A filesystem monitor records changes as they happen, allowing commands such as git status to focus on likely changed paths.</p><p>Enable Git’s built-in monitor for the current repository:</p><pre>git config core.fsmonitor true</pre><p>The built-in daemon is especially valuable when the repository contains hundreds of thousands of files but a developer changes only a few dozen. It may take several git status runs for related caches to warm up.</p><p>Do not enable this blindly on every platform. The current official documentation lists the built-in monitor as supported on Windows and macOS. On other platforms, use a supported hook-based monitor such as Watchman if your environment provides and maintains it. Also ensure that the Git used by the terminal and the Git embedded in an IDE both understand boolean core.fsmonitor; very old clients interpreted true as a hook pathname. See <a href="https://git-scm.com/docs/git-config#Documentation/git-config.txt-corefsmonitor">core.fsmonitor</a> for the current compatibility details.</p><h3>4. Prune stale remote-tracking references automatically</h3><p>High-churn repositories create and delete branches continuously. Without pruning, local references such as origin/old-feature remain after their remote branches are gone. Thousands of stale refs make branch listings noisy and can increase the work of commands that inspect all known references.</p><p>Enable pruning globally:</p><pre>git config --global fetch.prune true</pre><p>Or limit it to one remote in one repository:</p><pre>git config remote.origin.prune true</pre><p>You can preview and perform a one-time cleanup with:</p><pre>git remote prune origin --dry-run<br>git fetch --prune origin</pre><p>Pruning removes stale <strong>remote-tracking</strong> references; it does not delete local development branches. Tag pruning is different and more dangerous. Do not enable fetch.pruneTags unless the team intentionally wants local tags to mirror the remote, because it can remove local-only tags. Git explains this distinction in the <a href="https://git-scm.com/docs/git-fetch#Documentation/git-fetch.txt-PRUNING">git fetch pruning documentation</a>.</p><h3>5. Fetch only main and your branch namespace</h3><p>The default clone refspec usually fetches every branch:</p><pre>+refs/heads/*:refs/remotes/origin/*</pre><p>That is unnecessary when a large repository contains tens of thousands of active and historical branches but a developer needs only main and branches under a personal or team prefix.</p><p>First inspect and save the existing configuration:</p><pre>git config --get-all remote.origin.fetch</pre><p>Then replace it with narrow refspecs. In this example, the developer’s branches use the prefix alican/:</p><pre>git config --unset-all remote.origin.fetch<br>git config --add remote.origin.fetch \<br>  &#39;+refs/heads/main:refs/remotes/origin/main&#39;<br>git config --add remote.origin.fetch \<br>  &#39;+refs/heads/alican/*:refs/remotes/origin/alican/*&#39;</pre><pre>git fetch --prune origin</pre><p>Adapt both main and alican/ to the repository’s actual naming convention. The leading + allows Git to update remote-tracking refs even when the remote branch was force-pushed; it does not change push permissions or force-push a local branch.</p><p>This configuration reduces reference advertisement, negotiation, local ref storage, and irrelevant branch updates. It also creates an intentional limitation: a normal git fetch origin will not create remote-tracking refs for coworkers’ branches outside the selected prefix. Fetch one temporarily when needed:</p><pre>git fetch origin \<br>  &#39;refs/heads/teammate/topic:refs/remotes/origin/teammate/topic&#39;</pre><p>Changing the refspec controls future fetches; remote-tracking refs already stored locally may remain and can be reviewed separately. Automatic tag following may also continue for reachable tags. If tags themselves are a major cost, evaluate remote.origin.tagOpt --no-tags with the release team before changing it. Git defines remote.&lt;name&gt;.fetch as the remote’s default set of fetch refspecs in <a href="https://git-scm.com/docs/git-config#Documentation/git-config.txt-remoteltnamegtfetch">git config</a>.</p><h3>6. Keep a pool of linked worktrees for parallel work</h3><p>Developers and coding agents often need several branches at once: a feature, a production fix, a review, and an experiment. Repeated clones duplicate the object database, repeat network transfers, and require independent maintenance.</p><p>Linked worktrees share the original repository’s objects and references while keeping separate working directories, indexes, and HEAD values. Creating one is therefore usually much faster and more space-efficient than cloning again. Git documents this sharing model in <a href="https://git-scm.com/docs/git-worktree">git worktree</a>.</p><p>Create a few reusable slots:</p><pre>mkdir -p ../monorepo-worktrees</pre><pre>git worktree add -b wt/slot-1 ../monorepo-worktrees/slot-1 main<br>git worktree add -b wt/slot-2 ../monorepo-worktrees/slot-2 main<br>git worktree add -b wt/slot-3 ../monorepo-worktrees/slot-3 main</pre><p>When work begins in a slot:</p><pre>cd ../monorepo-worktrees/slot-1<br>git switch -c alican/PROJ-123 origin/main</pre><p>Each branch can normally be checked out in only one worktree at a time. Each worktree also has its own untracked files, dependency directory, and build output, so connect the package manager and build system to shared content-addressed caches where possible. The Git object database is shared automatically; node_modules, compiler output, and tool caches are not.</p><p>Manage the pool with Git rather than deleting directories manually:</p><pre>git worktree list<br>git worktree remove ../monorepo-worktrees/slot-3<br>git worktree prune</pre><p>Pre-created worktrees are especially useful for parallel CI debugging and AI-assisted development because setup becomes a branch switch plus dependency hydration, not a full clone.</p><h3>7. Use sparse checkout and a sparse index</h3><p>If a developer owns two applications and a shared library, there may be no reason to materialize every other application in a million-file repository.</p><p>Use cone-mode sparse checkout to select directories:</p><pre>git sparse-checkout set \<br>  apps/customer-portal \<br>  packages/design-system \<br>  packages/shared-config</pre><p>Modern git sparse-checkout set enables the necessary sparse-checkout settings and a sparse index by default. Git then avoids populating unrelated files and can represent excluded directory trees compactly in the index. This reduces disk use and can improve status, checkout, and other index-heavy operations. See the official <a href="https://git-scm.com/docs/git-sparse-checkout">git sparse-checkout documentation</a>.</p><p>Sparse checkout works best when ownership and dependency boundaries align with directories. Some merges, rebases, scripts, IDE indexers, and build tools may expect the entire tree, so validate the workflow before making it the default. Restore the full working tree with:</p><pre>git sparse-checkout disable</pre><h3>8. Use a partial clone for new developer environments</h3><p>Sparse checkout reduces the files present in the working tree, but a normal clone may still download all historical file contents. Partial clone reduces the object transfer itself:</p><pre>git clone --filter=blob:none --sparse \<br>  https://example.com/company/monorepo.git</pre><pre>cd monorepo<br>git sparse-checkout set apps/customer-portal packages/design-system</pre><p>--filter=blob:none initially omits file-content objects and downloads them on demand. Combining it with sparse checkout can dramatically reduce initial clone time and disk usage. Official Git documentation describes both <a href="https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---filterltfilter-specgt">--filter</a> and the <a href="https://git-scm.com/docs/partial-clone">partial-clone model</a>.</p><p>The tradeoff is network dependence: a command that needs an omitted object may pause while Git retrieves it, and offline work may expose missing objects. Server support and developer tooling should be tested before organization-wide rollout. Partial clone is most effective when developers repeatedly touch a narrow part of a much larger repository.</p><h3>9. Enable parallel checkout on suitable hardware</h3><p>Checkout, clone, reset, and sparse-checkout operations may need to create or update enormous numbers of files. On SSDs or fast network filesystems, multiple workers can improve throughput:</p><pre>git config checkout.workers 0<br>git config checkout.thresholdForParallelism 500</pre><p>A value of 0 lets Git choose based on available logical CPUs. The threshold avoids paying process and coordination overhead for small checkouts. Benchmark this setting: Git notes that parallel checkout often helps on SSDs or NFS but can be slower on spinning disks or smaller machines. See <a href="https://git-scm.com/docs/git-config#Documentation/git-config.txt-checkoutworkers">checkout.workers</a>.</p><h3>10. Keep generated files and large binaries out of normal Git history</h3><p>Every tracked generated bundle, archive, test recording, and dependency file increases index size, checkout work, clone size, and history permanently. Add reproducible outputs to .gitignore, publish release artifacts to an artifact registry, and keep dependency caches outside the repository.</p><p>For large binary source assets that genuinely require versioning, use Git LFS or an equivalent artifact system instead of storing every binary version as a normal Git blob. LFS does not make large files free it adds service, quota, and availability considerations but it prevents ordinary Git history from carrying every large payload directly.</p><p>This policy should be enforced before files enter history. Adding a path to .gitignore does not remove copies already stored in earlier commits; history rewriting is a separate, disruptive migration that requires coordination across every clone and active branch.</p><h3>11. Build and test only what changed and cache the result</h3><p>Fast Git does not produce a fast monorepo if every commit rebuilds and retests the entire dependency graph. The build system should understand relationships among applications and packages, determine the projects affected by a change, and reuse outputs when the inputs are identical.</p><p>A mature monorepo pipeline typically includes:</p><ul><li>a dependency graph for packages and applications;</li><li>affected-only lint, test, build, and deployment selection;</li><li>deterministic cache keys based on source, lockfiles, tool versions, and environment;</li><li>local and remote cache sharing across developers, worktrees, and CI jobs;</li><li>explicit invalidation for shared configuration and platform changes.</li></ul><p>Tools such as Bazel, Buck2, Nx, Pants, and Turborepo approach this problem differently, but the principle is the same: compute the smallest correct unit of work and never repeat a deterministic task whose result is already available.</p><p>Do not optimize by skipping correctness. A change to a shared API, compiler configuration, lockfile, or base image may affect much more than its directory. The dependency graph and cache inputs must model those relationships accurately.</p><h3>A practical rollout order</h3><p>Avoid enabling everything at once. A staged rollout makes regressions attributable:</p><ol><li>Upgrade and standardize Git across terminals, IDEs, containers, and CI.</li><li>Capture timings for status, fetch, branch switching, clone, and the normal build/test path.</li><li>Enable maintenance, feature.manyFiles, and pruning.</li><li>Enable FSMonitor only on supported developer platforms.</li><li>Narrow fetch refspecs for users affected by extreme branch counts.</li><li>Adopt linked worktrees for parallel tasks.</li><li>Pilot sparse checkout and partial clone with one team whose ownership maps cleanly to directories.</li><li>Benchmark parallel checkout on the actual storage hardware.</li><li>Remove generated assets from future commits and define a binary-storage policy.</li><li>Add affected-only execution and shared caching to the build and CI system.</li></ol><p>Verify the important repository settings with:</p><pre>git config --show-origin --get-regexp \<br>  &#39;^(feature\.manyFiles|core\.fsmonitor|fetch\.prune|remote\.origin\.fetch|checkout\.workers)&#39;</pre><h3>Conclusion</h3><p>Large-codebase performance improves when the repository does less unnecessary work: scan fewer files, maintain better indexes, retain fewer stale refs, fetch fewer branches and blobs, avoid duplicate clones, and build only affected projects.</p><p>The strongest general-purpose baseline is scheduled maintenance, feature.manyFiles, appropriate FSMonitor support, automatic pruning, narrow fetch refspecs, and linked worktrees. Sparse checkout, partial clone, parallel checkout, clean artifact policies, and dependency-aware build caching then address the next layer of scale.</p><p>Treat every setting as a hypothesis, measure it on the real repository, and keep only the changes that make the team’s actual workflows faster and more reliable.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a40b3b7207c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Golang, Gofiber, GORM, PostgreSQL ile Rest API yazmak]]></title>
            <link>https://medium.com/@alicankilicarslan/golang-gofiber-gorm-postgresql-ile-rest-api-yazmak-b9a99b9420b5?source=rss-748e9d9e0192------2</link>
            <guid isPermaLink="false">https://medium.com/p/b9a99b9420b5</guid>
            <category><![CDATA[gofiber]]></category>
            <category><![CDATA[golang]]></category>
            <category><![CDATA[rest-api]]></category>
            <category><![CDATA[gorm]]></category>
            <category><![CDATA[postgres]]></category>
            <dc:creator><![CDATA[Alican Kilicarslan]]></dc:creator>
            <pubDate>Sun, 03 May 2020 04:54:52 GMT</pubDate>
            <atom:updated>2020-05-03T04:54:52.119Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oTCWiP5Bv0D6N1drJS52Xg.png" /></figure><p>Birkaç haftadır Go yazılım dilini öğrenmeye çalışıyorum. Go’nun en meşhur olduğu alan şüphesiz Rest API servisleri ve bunları yoğun istek durumunda dahi düşük kaynak tüketimi ile yönetebilmesi.</p><p><a href="https://github.com/gofiber/fiber/blob/master/.github/README_tr.md">Gofiber</a> ise hem söz dizimi(syntax) bakımından NodeJS’in meşhur ExpressJS kütüphanesi ile benzerliği, hem de hız karşılaştırmalarında gösterdiği yüksek performansı ile göz dolduran bir web çatısı(kütüphane, framework). Ayrıca http istekler için Go’nun en hızlı http kütüphanesi olan FastHttp kullanıyor.</p><p>Bugün Gofiber kullanarak, PostgreSQL veritabanından veri sorgulamayı ve bunu bir Rest API servisi olarak açmayı anlatacağım. Ayrıca ara katman(middleware) olarak da Go’nun diğer bir meşhur ORM kütüphanesi <a href="https://gorm.io/">GORM</a>’u kullanacağım.</p><p><strong>Basit API servisinin ayağa kaldırılması</strong></p><p>Başlamadan önce Go sürümümün v1.14.1 olduğunu belirtmek isterim.</p><p>Çalışma klasörümün içine giriyorum ve aşağıdaki komutları veriyorum.</p><pre>go mod init FiberGo</pre><blockquote>go mod ne işe yarıyor? Özetlemek gerekirse, kullandığımız kütüphanelerin versiyon numaralarını kayıt altına alıyor, böylelikle dosyayı başka bir ortamda tekrar çalıştırmak istediğimizde, github’dan en son versiyonu değil, projemizde kullandığımız versiyonu ve bağlı olduğu bağımlılıkları(dependencies) indiriyor. Javascript ve npm kullananlar package.json dosyasıyla benzer işleve sahip olduğunu farketmişlerdir. Daha detaylı bilgi için <a href="https://medium.com/@atarikguney/go-1-11-ile-gelen-yeni-module-%C3%B6zelli%C4%9Fi-1-b%C3%B6l%C3%BCm-61a41928403a">şuraya bakabilirsiniz</a>.</blockquote><p>Gofıber paketini kurmak için komut satırına bunu yazalım:</p><pre>go get -u github.com/gofiber/fiber</pre><p>Şimdi boş bir Go dosyası oluşturalım ve içine aşağıdakileri yazalım. Açıklamaları yorum satırlarına ekledim.</p><pre><em>//Paket ismimizi belirtiyoruz<br>package </em>main</pre><pre>//Fiber paketini import ediyoruz.<br>//Eğer bu paketi hiç kurmamışsak önce komut satırını <br>//açıp go get -u github.com/gofiber/fiber komutu ile<br>//bu paketi kurmamiz gerekli<br><em>import </em>(<br>   &quot;github.com/gofiber/fiber&quot;<br>)</pre><pre>//Fiber paktinden bir instance yani örnek üretiyoruz.<br><em>func </em>main() {<br>   restApiInstance := fiber.New()</pre><pre>//Ürettiğimiz instance&#39;ı router fonsiyonumuza gönderiyoruz.<br>   rotaAyar(restApiInstance)</pre><pre>restApiInstance.Listen(2000)<br>}</pre><pre>//GET Router fonksiyonu, selam diyecek fonksiyonu çağırıyor.<br><em>func </em>rotaAyar(app *fiber.App) {<br>   app.Get(&quot;/&quot;, ilkApi)<br>}</pre><pre>//Selam diyen fonksiyon.<br><em>func </em>ilkApi(c *fiber.Ctx) {<br>   c.Send(&quot;Selam uzayli, ben dunyali&quot;)<br>}</pre><p>Uygulamamızı çalıştıralım. İnternet tarayıcımızda <a href="http://localhost:2000/">http://localhost:2000/</a> adresine gittiğimizde “Selam uzaylı, ben dunyalı” yazısını gördüysek işlem tamam demektir.</p><p><strong>Parametre göndererek sorgu yapmak</strong></p><p>Dosyamızın en altına bu fonksiyonu ekleyelim. Bu fonksiyon bize gönderdiğimiz parametreyi ve fonksiyon adımızı dönecek.</p><pre><em>func </em>parametreliGetFonksiyonu(app *fiber.App) {<br>   app.Get(&quot;/api/*&quot;, <em>func</em>(c *fiber.Ctx) {<br>      c.Send(&quot;parametreliGetFonksiyonu. Parametre = &quot;, c.Params(&quot;*&quot;))<br>   })<br>}</pre><p>Sonra main fonksiyonumuz içinden bu fonksiyonumuzu çalıştırabilmemiz için aşağıdaki kodları main fonksiyonu içine ekleyelim.</p><pre>parametreliGetFonksiyonu(restApiInstance)</pre><p>Adres satırına örneğin <a href="http://localhost:2000/merhaba">http://localhost:2000/merhaba</a> yazalım. Bu bize merhaba olarak gerı dönecektir.</p><p><strong>Statik dosya göndermek</strong></p><p>Sistemimizde bulunan herhangi bir dosyayı, örneğin bir index.html dosyasını bu şekilde gönderebiliriz.</p><p>Öncelikle proje anadizininde src adında bir klasör onun içinde de static adlı bir klasör oluşturalım. Static klasörünün içine index.html adlı bir dosya oluşturup, içine aşağıdakı basit html kodlarını yazıp kaydedelim.</p><pre>&lt;!doctype html&gt;<br>&lt;html&gt;<br>&lt;head&gt;<br>&lt;title&gt;Bu bir statik web sayfasıdır&lt;/title&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br>&lt;p&gt;Bu bir statik websayfasıdır.<br>&lt;strong&gt; Merhaba!&lt;/strong&gt;<br>&lt;/p&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;</pre><p>Aşağıdaki fonksiyonu main.go dosyamızın en altına ekleyelim.</p><pre><em>func </em>statikGetFonksiyonu(app *fiber.App){<br>   app.Static(&quot;/index&quot;, &quot;./src/static/index.html&quot;)<br>}</pre><p>Sonra main fonksiyonumuz içinden bu fonksiyonumuzu çalıştırabilmemiz için aşağıdaki kodları main fonksiyonu içine ekleyelim.</p><pre>statikGetFonksiyonu(restApiInstance)</pre><p>Dosyamızın şu anki hali bu sekilde olmalı. Dizin isimleri sizde farklı olabilir.</p><pre><em>package </em>main</pre><pre><em>import </em>(<br>   &quot;github.com/gofiber/fiber&quot;<br>)</pre><pre><em>func </em>main() {<br>   restApiInstance := fiber.New()</pre><pre>rotaAyar(restApiInstance)<br>   parametreliGetFonksiyonu(restApiInstance)<br>   statikGetFonksiyonu(restApiInstance)<br>   restApiInstance.Listen(2000)<br>}</pre><pre><em>func </em>ilkApi(c *fiber.Ctx) {<br>   c.Send(&quot;Selam uzayli, ben dunyali&quot;)<br>}</pre><pre><em>func </em>rotaAyar(app *fiber.App) {<br>   app.Get(&quot;/&quot;, ilkApi)<br>}</pre><pre><em>func </em>parametreliGetFonksiyonu(app *fiber.App) {<br>   app.Get(&quot;/api/*&quot;, <em>func</em>(c *fiber.Ctx) {<br>      c.Send(&quot;parametreliGetFonksiyonu. Parametre = &quot;, c.Params(&quot;*&quot;))<br>   })<br>}</pre><pre><em>func </em>statikGetFonksiyonu(app *fiber.App){<br>   app.Static(&quot;/index&quot;, &quot;./src/static/index.html&quot;)<br>}</pre><p>Adres satırına <a href="http://localhost:2000/index">http://localhost:2000/index</a> yazdığımızda karşımıza statik web sayfası gelecek.</p><p><strong><em>Şimdi bildiklerimizi başka teknolojiler ile harmanlamaya sıra geldi.</em></strong></p><p>Yapılması gerekenler listesi:</p><ul><li>Docker içine PostgreSQL veritabanı kurulumu,</li><li>PostgreSQL içine yeni veritabanı kurulumu,</li><li>Gorm kütüphanesi ile Go uygulaması ve veritabanı arasında iletişimin sağlanması,</li><li>Veritabanına rest api yardımıyla veri yazılması,</li><li>Veritabanına yazdığımız veriyi rest api yardımıyla güncellemek ve silmek.</li></ul><p><strong>Docker içine PostgreSQL veritabanı kurulumu</strong></p><p>Docker içinde istediğimiz özellikte container kurulumu yapmanın en kolay yolunu docker-compose kullanmak olduğunu düşünüyorum. Tabi bunu yapabilmeniz için öncelikle sisteminizde docker kurulu olması gerekiyor.</p><p>Aşağıdaki yaml dosyasını docker-compose.yml olarak sisteminize kaydetmeniz gerekmekte. Bu docker-compose dosyası ile, otomatik olarak PostgreSQL’in son sürüm docker image’i indirilecek, postgres adında yeni bir veritabanı oluşturulacak, otomatik kullanıcı adı ve şifresi atanacak ve 5432 portundan dış dünyaya açılacaktır.</p><pre>version: &#39;3.5&#39;<br><br>services:<br>  postgres:<br>    container_name: postgres_veritabani<br>    image: postgres<br>    environment:<br>      POSTGRES_USER: admin<br>      POSTGRES_PASSWORD: sifre123<br>      PGDATA: /data/postgres<br>    volumes:<br>      - postgres:/data/postgres<br>    ports:<br>      - &quot;5432:5432&quot;<br>    networks:<br>      - postgres<br>    restart: unless-stopped<br><br>networks:<br>  postgres:<br>    driver: bridge<br><br>volumes:<br>  postgres:</pre><p>Dosyayı docker-compose.yml olarak kaydedelim ve aşağıdaki komutu komut satırına yazıp arkamıza yaslanalım, bütüm işlemler otomatik yapılacak ve veritabanımız çalışmaya başlayacaktır.</p><pre>docker-compose -f docker-compose.yml up</pre><p>Veritabanı ip adresi: localhost<br>Kullanıcı adı: admin<br>Şifresi: sifre123<br>Veritabanı ismi: postgres</p><p><strong>Gorm kurulumu ve veritabanı bağlantısı yapılması</strong></p><p>Sistemimize Gorm kütüphanesini kurmak için aşağıdaki komutu yazalım.</p><pre>go get -u <a href="http://github.com/jinzhu/gorm">github.com/jinzhu/gorm</a></pre><p><strong>Gorm modelinin oluşturulması</strong></p><p>Veritabanları ile konuşurken tablolarımız ve objelerimiz birbiri ile uyumlu olmalı ve her zaman aynı dili kullanmamız gerekir. Go dilinde bulunan struct yani yapı sistemi ile, obje modeli oluşturup, gorm’un veritabanı ve projemiz arasında aynı dili konuşturmasını sağlarız. Projemizde Gorm’u kullanarak bir Öğrenci struct’i oluşturup, bunun üzerinden id, ad, soyad, yad, boy bilgilerini gorm vasıtasıyla veritabanına göndereceğiz. ogrenciStruct adında bir klasör acalım ve ogrenciStruct.go adında yeni bir dosya oluşturalım ve içine aşağıdaki gibi yeni bir Öğrenci struct’i oluşturalım.</p><pre><em>package </em>ogrenciStruct<br><br><em>import </em>(<br>   &quot;FiberGo/dbGlobalPaketi&quot;<br>   &quot;fmt&quot;<br>   &quot;github.com/gofiber/fiber&quot;<br>   &quot;github.com/jinzhu/gorm&quot;<br>)<br><br><em>type </em>OgrenciStruct <em>struct </em>{<br>   gorm.Model<br>   Ad    string `json:&quot;ad&quot;`<br>   Soyad string `json:&quot;soyad&quot;`<br>   Yas   int    `json:&quot;yas&quot;`<br>   Boy   int    `json:&quot;boy&quot;`<br>}</pre><p><strong>Gorm’a global erişim sağlanması</strong></p><p>Öncelikle gorm kütüphanesinin database methoduna global erişim sağlamak için database adında bir klasör acalım ve içine db.go adında yeni bir dosya oluşturup onu içine de aşağıdakileri yazalım.</p><pre><em>package </em>dbGlobalPaketi<br><br><em>import </em>(<br>   &quot;github.com/jinzhu/gorm&quot;<br>)<br><br><em>var </em>(<br>   DBglobalPointer *gorm.DB<br>)</pre><p>main.go dosyasının son halini aşağıdaki şekle getirelim ve kodları inceleyelim. Burada amacımız PostgreSQL veritabanı ile iletişimi sağlamak. Method ve değişken isimlerinden yola çıkarak yaptıkları işleri rahatlıkla anlayabilirsiniz.</p><pre><em>package </em>main<br><br><em>import </em>(<br>   &quot;FiberGo/dbGlobalPaketi&quot;<br>   &quot;FiberGo/ogrenciStruct&quot;<br>   &quot;fmt&quot;<br>   &quot;github.com/gofiber/fiber&quot;<br>   &quot;github.com/jinzhu/gorm&quot;<br>   _ &quot;github.com/jinzhu/gorm/dialects/postgres&quot;<br>)<br><br><em>func </em>main() {<br>   restApiInstance := fiber.New()<br>   dbBaglantisiAc()<br>   rotalar(restApiInstance)<br>   <em>if </em>err := restApiInstance.Listen(2000); err != nil {<br>      fmt.Println(&quot;Listen fonksiyonunda hata&quot;)<br>   }<br>   <em>defer </em>dbBaglantisiKapa()<br>}<br><br><em>func </em>dbBaglantisiAc() {<br>   <em>var </em>dbBaglantisindaHata error<br>   dbGlobalPaketi.DBglobalPointer, dbBaglantisindaHata = gorm.Open(&quot;postgres&quot;, &quot;host=localhost port=5432 user=admin dbname=postgres password=sifre123 sslmode=disable&quot;)<br>   <em>if </em>dbBaglantisindaHata != nil {<br>      panic(&quot;Veritabani baglantisinda hata olustu&quot;)<br>   } <em>else </em>{<br>      fmt.Println(&quot;Veritabani baglantisi acildi&quot;)<br>   }<br>   <em>if </em>err := dbGlobalPaketi.DBglobalPointer.AutoMigrate(&amp;ogrenciStruct.OgrenciStruct{})<br>   err != nil {<br>      fmt.Println(&quot;Veritabani Automigrate fonksiyonunda hata&quot;)<br>   }<br>   fmt.Println(&quot;Veritabani AutoMigrated&quot;)<br>}<br><br><em>func </em>dbBaglantisiKapa() {<br>   err := dbGlobalPaketi.DBglobalPointer.Close()<br>   <em>if </em>err != nil {<br>      fmt.Println(&quot;Veritabani Close hatasi&quot;)<br>   }<br>   fmt.Println(&quot;Veritabani baglantisi kapatildi&quot;)<br>}</pre><p><strong>Veritabanında CRUD(Create Read Update Delete) işlemleri</strong></p><p>Veritabanımıza Api aracılığı ile veri yazmak ve veritabanımızdan öğrenci verilerini okumaya geldi sıra. Yazmayı hedeflediğimiz fonksiyonlarla, öğrencilerin hepsini listeleme, bir tane öğrenciyi listeleme ve öğrenci ekleme işlemlerini yapmaya çalışacağız.</p><p>Fonksiyonlarımı ogrenciStruct.go dosyama yazacağım. Aşağıdaki kodları inceleyelim.</p><pre><em>package </em>ogrenciStruct<br><br><em>import </em>(<br>   &quot;FiberGo/dbGlobalPaketi&quot;<br>   &quot;fmt&quot;<br>   &quot;github.com/gofiber/fiber&quot;<br>   &quot;github.com/jinzhu/gorm&quot;<br>)<br><br><em>type </em>OgrenciStruct <em>struct </em>{<br>   gorm.Model<br>   Ad    string `json:&quot;ad&quot;`<br>   Soyad string `json:&quot;soyad&quot;`<br>   Yas   int    `json:&quot;yas&quot;`<br>   Boy   int    `json:&quot;boy&quot;`<br>}<br><br><em>func </em>OgrencilerinHepsiniGetir(o *fiber.Ctx) {<br>   db := dbGlobalPaketi.DBglobalPointer<br>   <em>var </em>ogrenciler []OgrenciStruct<br>   db.Find(&amp;ogrenciler)<br>   err := o.JSON(ogrenciler)<br>   <em>if </em>err != nil {<br>      fmt.Println(&quot;OgrencilerinHepsiniGetir JSON serialize error&quot;)<br>   }<br>}<br><br><em>func </em>BirTaneOgrenciGetir(o *fiber.Ctx) {<br>   <em>var </em>birOgrenci OgrenciStruct<br>   database := dbGlobalPaketi.DBglobalPointer<br>   id := o.Params(&quot;id&quot;)<br>   <em>//Eger ogrenci id&#39;si bulunamadiysa<br>   if </em>database.Find(&amp;birOgrenci, id).RecordNotFound() {<br>      err := o.JSON(&quot;404 student not found&quot;)<br>      <em>if </em>err != nil {<br>         fmt.Println(&quot;BirTaneOgrenciGetir JSON serialize error&quot;)<br>      }<br>      <em>//Ogrenci id&#39;si bulunduysa<br>   </em>} <em>else </em>{<br>      database.Find(&amp;birOgrenci, id)<br>      <em>if </em>err := o.JSON(birOgrenci); err != nil {<br>         fmt.Println(&quot;BirTaneOgrenciGetir JSON serialize error&quot;)<br>      }<br>   }<br>}<br><br><em>func </em>YeniOgrenci(o *fiber.Ctx) {<br>   ogrenci := new(OgrenciStruct)<br>   database := dbGlobalPaketi.DBglobalPointer<br>   <em>if </em>err := o.BodyParser(ogrenci)<br>   err != nil {<br>      o.Status(503).Send(err)<br>      <em>return<br>   </em>}<br>   database.Create(&amp;ogrenci)<br>   err := o.JSON(ogrenci)<br>   <em>if </em>err != nil {<br>      fmt.Println(&quot;YeniOgrenci JSON serialize error&quot;)<br>   }<br>}</pre><p>main.go içine, api’dan gelen sorguları fonksiyonlara yönlendirip veritabanında işlem yapıp, tekrar api’a JSON sonucu döndürmek için rotalarımızı yazalım.<br>main.go dosyamızın son hali şekildeki gibidir.</p><pre><em>package </em>main<br><br><em>import </em>(<br>   &quot;FiberGo/dbGlobalPaketi&quot;<br>   &quot;FiberGo/ogrenciStruct&quot;<br>   &quot;fmt&quot;<br>   &quot;github.com/gofiber/fiber&quot;<br>   &quot;github.com/jinzhu/gorm&quot;<br>   _ &quot;github.com/jinzhu/gorm/dialects/postgres&quot;<br>)<br><br><em>func </em>main() {<br>   restApiInstance := fiber.New()<br>   dbBaglantisiAc()<br>   rotalar(restApiInstance)<br>   <em>if </em>err := restApiInstance.Listen(2000); err != nil {<br>      fmt.Println(&quot;Listen fonksiyonunda hata&quot;)<br>   }<br>   <em>defer </em>dbBaglantisiKapa()<br>}<br><br><em>func </em>dbBaglantisiAc() {<br>   <em>var </em>dbBaglantisindaHata error<br>   dbGlobalPaketi.DBglobalPointer, dbBaglantisindaHata = gorm.Open(&quot;postgres&quot;, &quot;host=localhost port=5432 user=admin dbname=postgres password=sifre123 sslmode=disable&quot;)<br>   <em>if </em>dbBaglantisindaHata != nil {<br>      panic(&quot;Veritabani baglantisinda hata olustu&quot;)<br>   } <em>else </em>{<br>      fmt.Println(&quot;Veritabani baglantisi acildi&quot;)<br>   }<br>   <em>if </em>err := dbGlobalPaketi.DBglobalPointer.AutoMigrate(&amp;ogrenciStruct.OgrenciStruct{})<br>   err != nil {<br>      fmt.Println(&quot;Veritabani Automigrate fonksiyonunda hata&quot;)<br>   }<br>   fmt.Println(&quot;Veritabani AutoMigrated&quot;)<br>}<br><br><em>func </em>dbBaglantisiKapa() {<br>   err := dbGlobalPaketi.DBglobalPointer.Close()<br>   <em>if </em>err != nil {<br>      fmt.Println(&quot;Veritabani Close hatasi&quot;)<br>   }<br>   fmt.Println(&quot;Veritabani baglantisi kapatildi&quot;)<br>}<br><br><em>func </em>rotalar(app *fiber.App) {<br>   app.Get(&quot;/api/ogrencileriGetir&quot;, ogrenciStruct.OgrencilerinHepsiniGetir)<br>   app.Get(&quot;/api/birOgrenciGetir/:id&quot;, ogrenciStruct.BirTaneOgrenciGetir)<br>   app.Post(&quot;/api/ogrenciEkle&quot;, ogrenciStruct.YeniOgrenci)<br>}</pre><p><strong>Test aşaması</strong></p><p>Api ile http isteklerimizi yapmak için Postman adlı yazılımı kullanacağım.<br>Docker veritabanı continerinin ve uygulamamızın çalışıyor olduğundan emin olalım.<br>İlk yapmamız gereken boş veritabanına bir kayıt eklemek olacak.</p><p>1-Postman içinde önce POST methodunu seçelim, adres çubuğuna <a href="http://localhost:2000/api/ogrenciEkle">http://localhost:2000/api/ogrenciEkle</a> adresini girelim. Şu şekilde olmalı.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*APoaaoTjQEBzL-3RttdQGA.png" /><figcaption>POST methodu</figcaption></figure><p>2-Header butonuna tıklayıp aşağıdaki gibi http başlığımızı dolduralım.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M8RwTiQoFOpIDYcw_KwYAQ.png" /><figcaption>HTTP başlığının doldurulması</figcaption></figure><p>3-Http gövdesini aşağıdaki gibi dolduralım</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n5h2jpVMzkBitZOcomyMdg.png" /></figure><p>4-En heyecanlı ana geldik. Şimdi Send butonuna tıklayalım. Eğer herşey yolundaysa aşağıdaki gibi bir çıktı almamız gerekiyor. Id numarasını Gorm kendisi otomatik olarak atıyor o yüzden sizde id numarası ve tarihler farklı olacaktır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LX_qRruifNQNJv7k1sE5jw.png" /></figure><p>5- İstediğiniz şekilde birkaç tane daha veri ekleyin. Şablon bir üstteki belirtilen şekilde olmalı.</p><p>6- 2 numaralı öğrenciyi sorgulayalım.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*64yfh-65saGevYnmjtj2aw.png" /></figure><p>7- Bütün öğrencileri sorgulayalım.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lTyLBCW-rn1FBWZW0fJGfw.png" /><figcaption>Adres satırına yukarıdakı sorguyu yazıp send butonuna basmanız yeterli</figcaption></figure><p><strong>Sonuç</strong></p><p>Sonuç olarak Docker üzerindeki bir PostgreSQL veritabanı ile çalışan, Gofiber kütüphanesini kullanan bir uygulama elde etmiş olduk.<br>Yazım hatası veya bilgi kazası yaptıysam en kısa sürede düzeltmeye çalışacağım, Go’da henüz yeniyim ve üreterek ilerliyorum. Yanlışlarım için bana ulaşırsanız sevinirim. Eğer beğendiyseniz alkış butonuna basmayı unutmayın lütfen :) <br>İyi kodlamalar, sağlıklı günler.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b9a99b9420b5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Verimliliğinizi artıracak Chrome eklentileri]]></title>
            <link>https://medium.com/@alicankilicarslan/verimlili%C4%9Finizi-art%C4%B1racak-chrome-eklentileri-a60568e99ebd?source=rss-748e9d9e0192------2</link>
            <guid isPermaLink="false">https://medium.com/p/a60568e99ebd</guid>
            <category><![CDATA[verimlilik]]></category>
            <category><![CDATA[chrome-eklentisi]]></category>
            <category><![CDATA[chrome-extension]]></category>
            <dc:creator><![CDATA[Alican Kilicarslan]]></dc:creator>
            <pubDate>Sat, 11 Apr 2020 05:59:57 GMT</pubDate>
            <atom:updated>2020-04-11T06:03:39.934Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Pp6V7UEbn3yfoR15" /><figcaption>Photo by <a href="https://unsplash.com/@joszczepanska?utm_source=medium&amp;utm_medium=referral">Jo Szczepanska</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Günlük işlerimi yaparken pek çok Chrome eklentisi benim için olmazsa olmaz hale geldi. Bunları kullanarak siz de verimliliğinizi artırabilir, yaptığınız işlere kolaylık sağlayabilirsiniz. Aşağıda 10 tane Chrome eklentisi paylaşacağım, fakat maalesef Chrome üzerine ne kadar çok eklenti kurarsanız, Chrome’un hem açılış süresi uzuyor, hem ram(hafıza) kullanımı artıyor, hem de işlemcinizin daha fazla çalışmasına sebebiyet veriyor. Bu yüzden fazla eklenti yüklememeye özen göstermenizi tavsiye ederim.</p><h3><strong>1. Dark Reader</strong></h3><p>Artık bütün websiteleri yavaş yavaş gece modunu desteklemeye başladı fakat internetin büyük kısmı hala beyaz arkaplana sahip. Her ne kadar bilgisayarımıza f.lux programını kursak veya bilgisayarımızda gece modunu aktif etsek de beyaz arkaplan gözlerimizi yorabiliyor. Dark reader bu sorunuma güzel bir çözüm sundu.</p><p><a href="https://chrome.google.com/webstore/detail/dark-reader/eimadpbcbfnmbkopoojfekhnkhdbieeh?hl=en-US"><em>Dark Reader eklentisinine bu linkten ulaşabilirsiniz.</em></a></p><h3><strong>2. LastPass</strong></h3><p>Her gün çeşitli websitelerine giriş yapmak için farklı şifre ve kullanıcı adı kullanıyoruz. Bazen çok uzun süredir ziyaret etmediğimiz websitelerine giriş bilgilerimizi unutabiliyoruz. Diğer bir sorun da bu giriş bilgilerine telefonumuzdan ve tabletimizden ulaşmak. LastPass bunun için şu ana kadar kullandığım en iyi şifre yöneticisi. Chrome eklentisi olarak kurulabiliyor, ayrıca İOS ve Android uygulamaları da mevcut ve tüm uygulamalar senkronize biçimde çalışabiliyor. Alternatifi 1Password fakat 1Password ücretli bir uygulama olduğu için tavsiye listeme almadım.</p><p><a href="https://chrome.google.com/webstore/detail/lastpass-free-password-ma/hdokiejnpimakedhajhdlcegeplioahd?hl=en-US"><em>LastPass eklentisine bu linkten ulaşabilirsiniz.</em></a></p><h3><strong>3. Pocket</strong></h3><p>Gözümüze çarpan bir makale gördük ama okumaya zamanımız yok mu? Ya da daha sonra tekrar bulmak üzere onlara kolayca ulaşabileceğimiz bir kaynakta bir web sayfası adresini saklamak mı istiyoruz? Pocket uzun yıllardır kullandığım bir web clipper(Web kırpıcısı) aracı. Evernote ve OneNote da Pocket’ın iki güçlü alternatifi, fakat sadeliği ve sadece yapması gereken işi iyi bir şekilde yapması Pocket’i listeme alma sebebim.</p><p><a href="https://chrome.google.com/webstore/detail/save-to-pocket/niloccemoadcdkdjlinkgdfekeahmflj?hl=en-US"><em>Pocket eklentisine bu linkten ulaşabilirsiniz.</em></a></p><h3><strong>4. </strong>Grammarly</h3><p>Sanırım kendisi duymayan kalmamıştır. Anadili İngilizce olan insanlar bile yazım ve dil bilgisi hatası yapmamak için bu İngilizce kelime ve grammer(Dil kuralları) düzelticisi eklentisini kullanıyor.</p><p><a href="https://chrome.google.com/webstore/detail/grammarly-for-chrome/kbfnbcaeplbcioakkpcpgfkobkghlhen?hl=en-US"><em>Grammarly eklentisine bu linkten ulaşabilirsiniz.</em></a></p><h3><strong>5. </strong>autoConvert</h3><p>Farklı ölçü birimlerini, döviz kurlarını ve zaman dilimlerini otomatik olarak çevirmeye yarayan bu aracı özellikle Amerika menşeili web sayfalarında sıkça kullanabilirsiniz.</p><p><a href="https://chrome.google.com/webstore/detail/autoconvert-you-select-it/einokpbfcmmopbfbpiofaeohhkmcbbcg?hl=en"><em>autoConvert eklentisine bu linkten ulaşabilirsiniz.</em></a></p><h3>6. Turkish Deasciifier</h3><p>Evet sanırım tuhaf bir isme sahip bu eklenti, İngilizce klavyede Türkçe yazı yazanlar için biçilmiş kaftan. Benim gibi bahsettiğim sıkıntıdan muzdarip olanlar bu eklentiyi kurup, İngilizce karakterlerle yazısını yazdıktan sonra bu eklenti sayesinde, metinlerindeki Türkçe olması gereken harfleri otomatik düzeltebilirler. Bu yazımı da bu eklentiyi kullanarak düzeltiyorum.</p><p><a href="https://chrome.google.com/webstore/detail/turkish-deasciifier/nhfdmlgglfmcdheoabgklabmgjklgofk"><em>Turkish Deasciifier eklentisine bu linkten ulaşabilirsiniz.</em></a></p><h3><strong>7. Clear Cache</strong></h3><p>Bu araçla web geçmişinizi, kullanıcı bilgilerinizi vb. kolaylıkla silebilir, ayrıca bazen önbelleklenmiş eski verilerden dolayı doğru görüntülenemeyen web sayfalarının önbellek(cache) verilerini de silebilirsiniz.</p><p><a href="https://chrome.google.com/webstore/detail/clear-cache/cppjkneekbjaeellbfkmgnhonkkjfpdn?hl=en"><em>Clear Cache eklentisine bu linkten ulaşabilirsiniz.</em></a></p><h3><strong>8. Pronounce</strong></h3><p>İngilizce bir kelimenin doğru telafuzunu öğrenmek bu araçla artık çok kolay. Sadece ilgili kelimeyi işaretleyin ve sağ tıklayarak “Pronounce”a tıklayın.</p><p><a href="https://chrome.google.com/webstore/detail/pronounce/fbjmlmabammiejnfkmgjhdcnjdahblaj?hl=en"><em>Pronounce eklentisine bu linkten ulaşabilirsiniz.</em></a></p><h3><strong>9. Text Mode</strong></h3><p>Özellikle bazı havaalanlarında ve internet erişiminin kısıtlı yada yavaş olduğu zamanlarda bu eklenti size çok yardımcı olacak. Web sayfalarının şeklini bozmadan sayfada metin harici bulunan her şeyi kaldırıyor. Böylelikle hem gözlerimiz ve hem internetimiz rahat nefes alıyor.</p><p><a href="https://chrome.google.com/webstore/detail/text-mode/adelhekhakakocomdfejiipdnaadiiib?hl=en"><em>Text Mode eklentisine bu linkten ulaşabilirsiniz.</em></a></p><h3><strong>10. Push to Kindle</strong></h3><p>Kindle’i olanlar için mükemmel bir uygulama(Eğer bir Kindle’iniz veya başka bir E-ink kitap okuyucunuz yoksa bir an önce edinmeniz hayatınıza çok fayda sağlayacaktır). Bir web sayfasını veya Kindle’ın desteklediği dosya tipini otomatik olarak belirttiğiniz Kindle email adresinize gönderiyor.</p><p><a href="https://chrome.google.com/webstore/detail/push-to-kindle/pnaiinchjaonopoejhknmgjingcnaloc?hl=en"><em>Push to Kindle eklentisine bu linkten ulaşabilirsiniz.</em></a></p><p>İyi çalışmalar dilerim. Eğer beğendiyseniz lütfen alkış butonuna basmayı unutmayın.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a60568e99ebd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>