<?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 Necmi Kılıç on Medium]]></title>
        <description><![CDATA[Stories by Necmi Kılıç on Medium]]></description>
        <link>https://medium.com/@necmik?source=rss-17bbdddae346------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*1gV22EhR5nPSlrghHNaJMA.jpeg</url>
            <title>Stories by Necmi Kılıç on Medium</title>
            <link>https://medium.com/@necmik?source=rss-17bbdddae346------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 01:59:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@necmik/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[Time Savers For Programmers]]></title>
            <link>https://necmik.medium.com/time-savers-for-programmers-b53862af2734?source=rss-17bbdddae346------2</link>
            <guid isPermaLink="false">https://medium.com/p/b53862af2734</guid>
            <category><![CDATA[time-management]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Necmi Kılıç]]></dc:creator>
            <pubDate>Sun, 10 Sep 2023 19:21:33 GMT</pubDate>
            <atom:updated>2023-09-10T19:21:33.290Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/572/1*sKvgfdCC1j0XikNihDdshA.png" /><figcaption>AI image from midjourney</figcaption></figure><p>Although I am against writing codes as if in a racing, there are some useful tips to save programmer’s time. They also help skipping boring tasks when developing. Here are some of them that I take advantage of:</p><p><strong>Code Reusing: </strong>Do not try to write code from scratch. Most of the time you can find a similar development in the applications you currently work on. Firstly, try to find and reuse them. It is totally different than just “copy-paste” action.</p><p><strong>Coding Standards: </strong>Following coding standards prevents you to think much about whether your code is acceptable or not in your team. It reduces code review findings and so time for fixing them. It also increases readability for future.</p><p><strong>Code Generators: </strong>Use code generators and scaffolding tools to create boilerplate code and repetitive structures quickly depending on the programming language. For example, Ruby on Rails has very helpful scaffolding commands to create controllers, views or entities. Lombok is another useful library for Java users.</p><p><strong>Keyboards Shortcuts:</strong> Every IDE has shortcuts to perform tasks. Learn especially ones that you often run.</p><p><strong>Code Analysis Tools:</strong> They save a lot of time by preventing bugs and code review findings in advance. They also help refactor your code in development time. I am using Sonar Lints which is free and very helpful.</p><p><strong>Knowledge Sharing:</strong> The best way to learn something new is asking and sharing. It prevents you from spending a significant time by searching from web.</p><p><strong>Documentation and Comments:</strong> Write clear documentation and comments for your code. Well-documented code is easier to understand and maintain. It doesn’t just save your time but also your colleagues.</p><p><strong>Unit Tests:</strong> Cover your code with unit tests as much as possible. It helps you to detect bugs when you refactor your codes. Otherwise, you find yourself in a new development life-cycle.</p><p><strong>Automate Tasks: </strong>Automate repetitive tasks like build, deploy, copy files, migration...etc. Take advantage of CI/CD tools and DevOps pipelines.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b53862af2734" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Yazılım Geliştirme Neden Daha da Karmaşıklaşıyor?]]></title>
            <link>https://necmik.medium.com/yazilim-gelistirme-neden-daha-da-karmasklasiyor-d38c522c127f?source=rss-17bbdddae346------2</link>
            <guid isPermaLink="false">https://medium.com/p/d38c522c127f</guid>
            <category><![CDATA[tech-stack]]></category>
            <category><![CDATA[yapay-zeka]]></category>
            <category><![CDATA[yazılım-geliştirme]]></category>
            <category><![CDATA[teknoloji]]></category>
            <dc:creator><![CDATA[Necmi Kılıç]]></dc:creator>
            <pubDate>Sat, 06 May 2023 19:56:28 GMT</pubDate>
            <atom:updated>2023-05-07T10:23:27.669Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/609/1*KGg2QSbUuZX1GVDRwQzTuA.png" /><figcaption>AI image created from Midjourney</figcaption></figure><p>Benim gibi uzun yıllardır IT sektöründe olan ve IC (Individual Contributor) olarak çalışmaya devam eden yazılımcıların (dinozorlar diyebilirsiniz) arada bir kendilerine sordukları bir soru vardır: “O kadar yeni araçlar ve frameworkler çıkmasına ve kullanmamıza rağmen, yazılım geliştirme neden daha da karmaşıklaşıyor?”</p><p>Her çıkan araç veya framework mevcut işlerimizin bir parçasını kolaylaştırmayı vadediyor. Ve birçoğu gerçekten de ediyor. Ama MVC pattern üzerinden gidersek, eskiden SQL + 1 veritabanı (Oracle, SQL Server, MySQL..) + birkaç frontend teknolojisi (HTML, JavaScript, JSF, PrimeFaces, …) + bir backend dili (C#, Java, Delphi..) ile full stack developer olmak ve bir uygulamayı komple yönetebilmek mümkün iken, bugün daha specific bir alan seçsek dahi (mesela backend developer) karşımıza kabarık bir tech stack (teknoloji seti) çıkıyor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/572/1*GH0EJy-TPULLyhoV6coGBw.png" /><figcaption>AI image created from Midjourney</figcaption></figure><p>Bunun sebepleri arasında birkaçını saymak gerekirse:</p><ul><li><strong>Uygulamaların modernleşmesi:</strong> Değişen talepler, beklentilerin artması ve rekabet ile birlikte uygulamalar daha fazla kullanıcı dostu olmak ve hizmet sunmak zorunda. Örneğin eskiden büyük bir kısmı statik içeriklerden oluşan web siteleri var iken, bugün interaktif, dinamik ve daha fazla fonksiyonları olan web uygulamaları karşımıza çıkıyor. Bunlar için de yeni araçlar/kütüphaneler entegre edilmesi gerekiyor.</li><li><strong>Alternatif teknolojilerin artışı:</strong> Daha önce bir ihtiyaçtan bahsedildiği zaman, herkesin aklına benzer teknolojiler gelirdi. Bugün ise aynı işi yapabilen onlarca alternatif var. Bu alternatifleri birbirleri karşılaştırıyor ve bazen de tartışıyoruz. Teknolojideki hızlı değişiklikleri de hesaba katarsak ilk defa duyduklarımız bile olabiliyor.</li><li><strong>Entegrasyon artışı:</strong> Modern uygulamalar çok nadir standalone çalışıyor. Genelde başka uygulamalar ile entegre olurlar. Mikroservice mimaride olabiliyorlar, API/Web servis çağrımları ile birbirleriyle konuşuyorlar. Bu da uygulama geliştirme ve testi biraz daha karmaşık hale getiriyor.</li><li><strong>Deployment:</strong> Eskiden serverlara deployment genelde manual olarak yapılırdı. Build ve test sonrası onaylanmış paket (mesela war, ear…) bir webserver a kopyalanır ve ayağa kaldırılırdı. Bugün ise CI/CD entegrasyonu yapılmamış uygulamaya az rastlanıyor. Build, test, deployment gibi adımları otomatize eden bu araçlar kolaylık sağlasa da, bu araçları da öğrenmek zorunda kalıyoruz. Tech stack kabarıyor.</li><li><strong>Scalibility (Ölçeklenebilirlik) ve performans ihtiyaçları:</strong> Eskiden desktop uygulamaları revaçtaydı. Her client kendi makinesine uygulamayı kurur ve kendi kaynaklarını kullanırdı. Bir ölçeklendirme ihtiyacı pek yoktu. Ama günümüzde modern web ve enterprice uygulamaların kolay ölçeklenebilir olması çok kritik. Yeni bir clientın gelmesi veya requestların artması durumunda bir sorun yaşamamanız lazım. Bunun için de mimarinize distributed sistem, load balancer, api gateway, caching, read replicas ve message queue gibi yetenekler kazandırmanız gerekiyor. Bunların yolu da yeni araçlar öğrenmekten geçiyor.</li></ul><p>Özetle, yeni araç ve frameworkler yazılım geliştirmeyi daha verimli ve kaliteli hale getirmesinin yanında, geliştirme sürecindeki karmaşıklığı azaltmıyor, aksine artırabiliyor. Bugünlerde en fazla konuşulan konulardan biri olan “AI developerların sonunu getirebilir mi?” sorusuna ben kabaca olumsuz yanıt dönüyorum. CoPilot veya ChatGPT gibi araçlar belki bazı hamallık işleri bizden alacak ama bu defa da bu araçların kullanılmasını öğrenmemiz gerekecek. Kullandığımız IDE’lere ilgili pluginleri yükleyip onların da verimli kullanımını öğreneceğiz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2LtNcepd_xRiR7Al0PwtsA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d38c522c127f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What I Learned From Playlist]]></title>
            <link>https://necmik.medium.com/what-i-learned-from-playlist-3245bc27d635?source=rss-17bbdddae346------2</link>
            <guid isPermaLink="false">https://medium.com/p/3245bc27d635</guid>
            <category><![CDATA[spotify]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[initiative]]></category>
            <dc:creator><![CDATA[Necmi Kılıç]]></dc:creator>
            <pubDate>Sat, 04 Feb 2023 16:24:41 GMT</pubDate>
            <atom:updated>2023-02-04T16:24:41.412Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_itLV7cRfn_h5ErRQ0MGxw.jpeg" /></figure><p>I don’t know how much the story is close to the origin, but I enjoyed watching this Netflix Tv series. It is a documentary that tells story of Spotify which Swedish music streaming company along with its early stages.</p><p>As a software engineer, we mostly —not all- focus on technical sides of the initiatives or projects. In other words, we manage the kitchen. And we usually do not have a chance to touch the outside, or be a part of the business. We may sometimes communicate with the business to collaborate, but they are mostly limited with an active project especially if we work in a big corporate company. That is actually fine, because we already have heavy jobs.</p><p>When we want to start our own startup or we start working in a small company, we likely meet new challenges such as marketing, customer relationships, presentations, human resources, more communication and investigations…etc. “Playlist” is a good example for what I am trying to explain. Here are what I learned from it:</p><ul><li>We think that the product development is the most important part of a company. We are sure it is important. But without a good marketing and important relationships, it just can be a trash. Always start with the business part.</li><li>No need to fear sharing your idea with the people may help you. You will need a good team including engineers, salesmen, lawyer, …etc.</li><li>Do not wait for customers to use your product. Find the first customers yourself. In the series, Daniel and his team were going to schools because the potential customers were music lover young people.</li><li>To give the best experiences to your customers, push your team to do better. 500 ms to start a song may sound good, but why not 200 ms?</li><li>To be rejected from some famous companies does not mean you are not talented enough. Google had rejected Daniel to work as an engineer there.</li><li>Always think for long term. Define a roadmap and revenue model. You may not earn much in short and that is normal.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3245bc27d635" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[İşim Var, İş Görüşmelerim de Var]]></title>
            <link>https://necmik.medium.com/i%CC%87%C5%9Fim-var-i%CC%87%C5%9F-g%C3%B6r%C3%BC%C5%9Fmelerim-de-var-e3aa956507c9?source=rss-17bbdddae346------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3aa956507c9</guid>
            <category><![CDATA[kariyer]]></category>
            <category><![CDATA[yazılım-mühendisliği]]></category>
            <category><![CDATA[onboarding]]></category>
            <category><![CDATA[is-gorusmesi]]></category>
            <dc:creator><![CDATA[Necmi Kılıç]]></dc:creator>
            <pubDate>Sat, 21 Jan 2023 16:07:30 GMT</pubDate>
            <atom:updated>2023-01-21T16:21:35.346Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/572/1*Ykt6uWKyNBTvRI5q1WANGA.png" /></figure><p>İş hayatında konfor alanına ulaşmak (ya da onboarding’i tamamlamak diyelim) biraz zaman alır. Şirket kültürüne adapte olmak, ekibe alışmak, iş tanımını oturtmak …vs. Yazılım mühendisleri için buna bir de uygulamaların teknolojik alt yapısına ve mimari yapılarına hakim olmayı ekleyebiliriz.</p><p>Az çok bir alana sahip olduğumuz ve ciddi bir sorun yaşamadığımız sürece de genelde yeni bir iş bakmayız. Gelir/faydaların piyasanın altında kalması veya istediğimiz ünvanı alamamamız gibi durumlarda iş değiştirmeyi düşünmeye başlarız. Halbuki az çok mutlu olduğumuz bir işimiz varken dahi iş görüşmeleri yapmanın bir çok faydası var:</p><ol><li>Özellikle teknik görüşmelere hazırlık için algoritma, veri yapıları ve sistem tasarımı gibi konulara göz atarak bilgilerinizi tazelersiniz. İş hayatında bunlara pek dokunmadığınız için oluşan körelmeyi biraz engellersiniz. Ani bir işten ayrılma ve yeni bir iş arama sürecine girdiğinizde gözünüzde büyümeyecek. Kaba ifadeyle yumurta kapıya dayandığında sıfır konumunda değilsiniz.</li><li>Piyasada ne tür teknolojilerin veya tasarımların kullanıldığı hakkında bilgi edinirsiniz. Bunlardan işinize yarayabilecekleri şirketinize taşıma olasılığı doğar.</li><li>Piyasada maaş ve yan hakların nerelere geldiğini öğrenirsiniz. Şirketinizin ücret politikalarını eleştirirken bu verileri kullanabilirsiniz. Hatta pazarlıkta da kullanabilirsiniz. Bunda anormal bir durum yok.</li><li>Networking: Başka firmalarla görüşmek, profesyonel ağınızı genişletmenize yardımcı olur. Örneğin görüşme yaptığınız bir yönetici veya teknik lideri LinkedIn’de ekleyerek ağınıza dahil edersiniz. İlerde tekrar karşılaştığınızda yabancılık olmaz.</li><li>Pozisyonunuzun diğer firmalarda sorumluluklarını duyarak eksiklerinizi öğrenir, kapatır ve hatta bunları şirketinizde uygulayarak öne çıkabilirsiniz.</li><li>Bazen öyle fırsatlarla kaşılaşırsınız ki, konfor alanından çıkıp kariyerinizde ve gelirinizde bir basamak yukarı çıkma fırsatını kaçırmak istemezsiniz.</li></ol><p>Bu belki kulağa biraz yorucu gelebilir. Ama emin olun faydaları bu küçük yorgunluğa değer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1szPJOby7hDsIFWfaVE7QQ.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3aa956507c9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Yine Ret Yedim!]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://necmik.medium.com/yine-ret-yedim-1b3d1eb1cab7?source=rss-17bbdddae346------2"><img src="https://cdn-images-1.medium.com/max/609/1*cUl6shuXENtM013foGohtw.png" width="609"></a></p><p class="medium-feed-snippet">&#x201C;Unfortunately, we regret to inform you that other candidates better match the profile we are looking for.&#x201D;</p><p class="medium-feed-link"><a href="https://necmik.medium.com/yine-ret-yedim-1b3d1eb1cab7?source=rss-17bbdddae346------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://necmik.medium.com/yine-ret-yedim-1b3d1eb1cab7?source=rss-17bbdddae346------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b3d1eb1cab7</guid>
            <category><![CDATA[danışmanlık]]></category>
            <category><![CDATA[mulakatlar]]></category>
            <category><![CDATA[yurtdışı]]></category>
            <category><![CDATA[kariyer]]></category>
            <dc:creator><![CDATA[Necmi Kılıç]]></dc:creator>
            <pubDate>Sat, 07 Jan 2023 08:44:49 GMT</pubDate>
            <atom:updated>2023-01-07T08:49:58.698Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Ben de mi Yurt Dışı Yapsam?]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://necmik.medium.com/ben-de-mi-yurt-d%C4%B1%C5%9F%C4%B1-yapsam-652c9bd50268?source=rss-17bbdddae346------2"><img src="https://cdn-images-1.medium.com/max/609/1*bxivEceLjTU7v4z7U8wHWg.png" width="609"></a></p><p class="medium-feed-snippet">2022&apos;de T&#xFC;rkiye&#x2019;deki -&#xF6;zellikle- yaz&#x131;l&#x131;mc&#x131;lar&#x131;n ve doktorlar&#x131;n kendilerine en &#xE7;ok sordu&#x11F;u sorulardan biri, son 6&#x2013;7 y&#x131;lda oldu&#x11F;u gibi yurt&#x2026;</p><p class="medium-feed-link"><a href="https://necmik.medium.com/ben-de-mi-yurt-d%C4%B1%C5%9F%C4%B1-yapsam-652c9bd50268?source=rss-17bbdddae346------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://necmik.medium.com/ben-de-mi-yurt-d%C4%B1%C5%9F%C4%B1-yapsam-652c9bd50268?source=rss-17bbdddae346------2</link>
            <guid isPermaLink="false">https://medium.com/p/652c9bd50268</guid>
            <category><![CDATA[yurtdışında-yaşamak]]></category>
            <category><![CDATA[yazılım-mühendisliği]]></category>
            <category><![CDATA[kariyer-planlama]]></category>
            <category><![CDATA[yurtdışı]]></category>
            <dc:creator><![CDATA[Necmi Kılıç]]></dc:creator>
            <pubDate>Sun, 01 Jan 2023 14:01:30 GMT</pubDate>
            <atom:updated>2023-01-01T14:17:48.762Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Ben Senior muyum?]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://necmik.medium.com/ben-senior-muyum-358ce4396447?source=rss-17bbdddae346------2"><img src="https://cdn-images-1.medium.com/max/600/1*0r1hkiCm1H8yBNmZ_Zj2qw.png" width="600"></a></p><p class="medium-feed-snippet">Bir yaz&#x131;l&#x131;m m&#xFC;hendisi bu soruyu &#xF6;zellikle yurtd&#x131;&#x15F;&#x131;na &#xE7;&#x131;kmay&#x131; planlad&#x131;&#x11F;&#x131; zamanlarda kendisine &#xE7;ok sorar. Siz de bunu kendinize soruyorsan&#x131;z&#x2026;</p><p class="medium-feed-link"><a href="https://necmik.medium.com/ben-senior-muyum-358ce4396447?source=rss-17bbdddae346------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://necmik.medium.com/ben-senior-muyum-358ce4396447?source=rss-17bbdddae346------2</link>
            <guid isPermaLink="false">https://medium.com/p/358ce4396447</guid>
            <category><![CDATA[interview-preparation]]></category>
            <category><![CDATA[yurtdışında-yaşamak]]></category>
            <category><![CDATA[senior-software-engineer]]></category>
            <category><![CDATA[liderlik]]></category>
            <dc:creator><![CDATA[Necmi Kılıç]]></dc:creator>
            <pubDate>Sun, 25 Dec 2022 14:40:51 GMT</pubDate>
            <atom:updated>2022-12-28T15:10:20.264Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Continious Learning vs. Overwhelming]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://necmik.medium.com/continious-learning-vs-overwhelming-e8ff7411918e?source=rss-17bbdddae346------2"><img src="https://cdn-images-1.medium.com/max/1200/1*ehC4X-fS_VXJwnBXRkRe5Q.jpeg" width="1200"></a></p><p class="medium-feed-snippet">IT people know how much important continious learning is.</p><p class="medium-feed-link"><a href="https://necmik.medium.com/continious-learning-vs-overwhelming-e8ff7411918e?source=rss-17bbdddae346------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://necmik.medium.com/continious-learning-vs-overwhelming-e8ff7411918e?source=rss-17bbdddae346------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8ff7411918e</guid>
            <category><![CDATA[continuous-learning]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[lifetime-learning]]></category>
            <dc:creator><![CDATA[Necmi Kılıç]]></dc:creator>
            <pubDate>Sun, 23 Jan 2022 16:46:52 GMT</pubDate>
            <atom:updated>2022-01-28T07:50:48.592Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Optimizing SQL Based Cache Memory]]></title>
            <link>https://necmik.medium.com/optimizing-sql-based-cache-memory-3c543695d927?source=rss-17bbdddae346------2</link>
            <guid isPermaLink="false">https://medium.com/p/3c543695d927</guid>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[memory-improvement]]></category>
            <category><![CDATA[cache-memory]]></category>
            <category><![CDATA[aggregation]]></category>
            <category><![CDATA[cache]]></category>
            <dc:creator><![CDATA[Necmi Kılıç]]></dc:creator>
            <pubDate>Wed, 18 Aug 2021 22:05:54 GMT</pubDate>
            <atom:updated>2022-12-26T07:17:44.023Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*ekCjaYkzdNy50e5GYDu_eA.jpeg" /></figure><p>We all know how cache systems are very important for most of the applications. They provide faster access to data we need in spite of accessing databases each time we need. But it comes with a price: memory</p><p>Even though you already have a distributed cache system, you may have a limit and need to control the status of memory. If you don’t do it, you may encounter alarms or errors.</p><p>The first step to control your cache memory is to cleaning unused cache definitions or columns periodically. Unfortunately, most developers are lazy to drop caches or tables or columns after they retire them from application layer. They are afraid of crushing something or just postpone them. So, it would be efficient to scan your system for unused cache objects especially these you haven’t touch for a while.</p><p>Let me explain my main advice : optimizing your sql statement defined in the cache definition. Most of the cache definitions consist of 2 parts: <strong>keys </strong>and <strong>properties</strong>. You access the caches by keys and retrieve the data formatted by columns. Here is an example order data from the table Orders:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/534/1*LWPzFceX40Yjy4PbpZ1OOA.jpeg" /></figure><p>Suppose we need to retrieve orders by customerId from cache. Our key here is customerId. Our cached SQL probably would be like that:</p><pre>SELECT customerID, orderId, orderDate, totalPrice, deliveryDate<br>  FROM Orders<br> WHERE customerId = ? </pre><p>There is no any problem for this structure. But, if you decide to decrease memory assigned for the cache, you just could aggregate data by the key. In this way, you can avoid caching the key for each row. It can be accomplished by using LISTAGG function for Oracle:</p><pre>SELECT customerId, <br>       LISTAGG(orderId||&#39;,&#39;||orderDate||&#39;,&#39;||totalPrice||&#39;,&#39;|| deliveryDate, &#39;|&#39;) WITHIN GROUP (ORDER BY orderDate, orderId)order<br>  FROM Orders <br>WHERE customerId = ?<br>GROUP BY customerID</pre><p>Now, instead of multiple rows to cache, you just have 1 row that contains concatenated columns. The price of this method is to parsing the properties at application level. The saved memory depends on the number of the keys and rows for each keys. The method saves more memory when there are multiple keys and more rows.</p><p>With this method you will cache below data anymore:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*WxTVJNgXQA91pzkrCgCOBQ.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3c543695d927" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setting up Remote Debugging in Eclipse]]></title>
            <link>https://necmik.medium.com/setting-up-remote-debugging-in-eclipse-ea505441b7d1?source=rss-17bbdddae346------2</link>
            <guid isPermaLink="false">https://medium.com/p/ea505441b7d1</guid>
            <category><![CDATA[conditional-breakpoints]]></category>
            <category><![CDATA[remote-debug]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[eclipse]]></category>
            <dc:creator><![CDATA[Necmi Kılıç]]></dc:creator>
            <pubDate>Thu, 08 Jul 2021 13:51:32 GMT</pubDate>
            <atom:updated>2021-07-08T13:51:32.099Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tv288WNkoXasftXLQr7AMA.jpeg" /></figure><p>Developers sometimes need to debug the related application remotely. The reason may be difficulty of catching the case on local environment, lack of data or urgency. Because of risks (and do not do it if possible), debugging production is not preferred, but test environments are suitable for debugging. Just be careful not blocking the requests. I will tell you how to avoid blocking test requests when debugging.</p><p>To define remote debugging in Eclipse you will need 3 important information:</p><ul><li>End point address</li><li>Port number</li><li>Java projects you need to debug</li></ul><p>Below is a screenshot example of Remote Java Application</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GdiIMkDQxOU9Tj8tpVHBfg.jpeg" /></figure><p>As you can see, you need to choose the main Java project. It is mostly the one that has starting point when you debug starts. For example, if you want to debug a web or rest service, you probably choose the project that include the related service. If you want to debug more projects especially in build path of the main project ones, you can add them in Source tab.</p><p>Let’s jump to second step: placing breakpoints. Adding a new breakpoint is easy as much as a double click. But the trick comes here. If you leave the breakpoint without any condition, any request comes to server could be blocked and you may break up running program or tests by throwing TimeOutException to clients. To solve this problem we make our breakpoint conditional. One of the best practices when entering the condition is to use specific values such as customer number. By this way, only your requests will be broken to debug:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/865/1*p-UzVl01KU_KGLRYKxj-3Q.jpeg" /></figure><p>Hope, it was a useful article especially for the young software developers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ea505441b7d1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>