<?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 V Ramya on Medium]]></title>
        <description><![CDATA[Stories by V Ramya on Medium]]></description>
        <link>https://medium.com/@ramyav?source=rss-4972c9fcda99------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*H4Q-DAxTPYFrOBxWDLkTLg.jpeg</url>
            <title>Stories by V Ramya on Medium</title>
            <link>https://medium.com/@ramyav?source=rss-4972c9fcda99------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 05:55:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ramyav/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[Guide to Creating Scalable Websocket Application in Java]]></title>
            <link>https://ramyav.medium.com/guide-to-creating-scalable-websocket-application-in-java-d2c689e815b?source=rss-4972c9fcda99------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2c689e815b</guid>
            <category><![CDATA[undertow]]></category>
            <category><![CDATA[websocket]]></category>
            <category><![CDATA[scalable-web-application]]></category>
            <category><![CDATA[jsr356]]></category>
            <category><![CDATA[websocket-server]]></category>
            <dc:creator><![CDATA[V Ramya]]></dc:creator>
            <pubDate>Sat, 10 Jun 2023 18:11:59 GMT</pubDate>
            <atom:updated>2023-07-06T06:27:14.741Z</atom:updated>
            <content:encoded><![CDATA[<p>In today’s world, real time data is the actual game changer. Users need real time updates to stick to their screens and engage more. User engagment and experience drives the success of any buisness. Coming from stock broking industry, I have been developing near real time APIs for quite sometime but recently got my hands on into websockets which are perfect for the real time stock market data users need.</p><p>Developing scalable websocket applications are not as easy as it may sound. It comes with its own set of challenges starting with how to implement in java using spring boot to how to optimise the processes to how to scale for millions of users. It is a journey of months altogether. So, In this blog, I would like to share all my learnings with this protocol to provide a starting point at least for those who aim to not only build a websocket application but actually make it production ready.</p><p>Technologies used : Spring boot, Java JSR356, OkHttp ( for publisher websocket connection )</p><p>Lets get started !!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yLo5J1PnYt_Tb7rb" /><figcaption>Photo by <a href="https://unsplash.com/@bash__profile?utm_source=medium&amp;utm_medium=referral">Nicholas Cappello</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>What is a websocket ?</strong></p><p>Websocket is a persistent, bi-directional and full duplex protocol which is used for client-server communication.</p><p>Let’s understand this with an example :</p><p>You go to a restaurant where for your table an assistant is assigned. You can order anything , any number of times just by registering your request with the assistant and he will take care of the rest. You need not call the different assitants every time you wish you to order something.</p><p>Similarly in websocket, client need not open a new connection every time. The websocket protocol leverages the HTTP upgrade technology to upgrade an HTTP connection to a WebSocket. After which, same connection will be persistent and can be used for two way communication unlike traditional HTTP request where client and server communicate only once and the connection gets closed.</p><p><strong>Tips to consider while creating Websocket Server :</strong></p><p>Spring boot is the best choice to setup a websocket server. However, I won’t be giving details of what should be the code or step by step process to actually start a websocket server because that’s the real thing to learn and dive into. Instead, I would just point down some tips that are good to consider :</p><ol><li>Use Java JSR-356 dependency in spring boot for implementing websocket server. Other websocket libraries, which are present such as stomp take lock on the session iterations which slows down the process of writing messages over sessions. So, native library is always the best choice !! Useful link : <a href="https://www.oracle.com/technical-resources/articles/java/jsr356.htm">https://www.oracle.com/technical-resources/articles/java/jsr356.htm</a></li><li>Using undertow as application server instead of tomcat. In high concurrency systems, Tomcat is relatively weak. Undertow is optimal in terms of performance and memory usage. Just introduce spring boot undertow dependency, exclude tomcat dependency and get going !!</li><li>Whenever the undertow server starts, it doesn’t initialise the dispatcher servlet which is responsible for handling incoming HTTP request. This is called lazy initialisation. However, in real scenarios it will be good to have this initialisation done early to avoid intialisation during API call. This can be enabled just by a simple property spring.mvc.servlet.load-on-startup : 1</li><li>Loose coupling between the producer thread vs publisher thread which sends the messages to users.</li></ol><p>4.1 If the coupling is high the producer thread which does all the processing of incoming messages and hands over to the publisher has to wait till the publishing is finished.</p><p>4.2 This can be achieved by either maintaining a queue for all publishers ( if data is common for all ) or if the data to be sent is subscription based, better to use individual queues for each user.</p><p>5. Long running single thread acting as publisher manager to manage the threads which will send messages to user. This design helps in managing the sessions which has data to sent effectively. Using thread pool with optimal number of threads ( determined from load test ), queue size to submit tasks.</p><p>6. Use dynamic batching ( formula to adjust the batch size of sessions based on number of active sessions and the thread pool size ) to process ‘x’ no of sessions together in one thread so that each session get it’s chance faster.</p><p>7. When we send websocket message in byte buffer format one by one there is heavy performance penalty. It is recommended to batch ’n’ no. of messages present in user queue and send them at once. This is faster and gives optimal performance.</p><p>7.1 Undertow manages the threads on its own based on the number of cores allocated to the application. Task threads are 8 * no of cores and I/O threads are equal to number of cores.</p><p>7.2 When we don’t batch the XNIO- I/O threads which are limited in number are always busy which leads to latency issues and threads keep waiting for the writing to finish this could cause major delays at client side in receiving updated data.</p><p>8. Users connecting to websocket must be served with the last available data and in-memory caching comes to rescue where you can cache the incoming messages according to your use case and for every new request send first data from cache.</p><p>9. Keeping a note on GC activity and the CPU + memory utilisation in the app using Visual VM. Websocket application is CPU intensive and it generates huge amount of data, if there is a memory leak, it could lead to severe performance troubles. Hence, performance testing is must and longer GC pauses must be avoided at any cost.</p><p>More info in my blog : <a href="https://medium.com/@ramyav/handling-java-out-of-memory-issues-in-websocket-application-90ee33e936e3">https://medium.com/@ramyav/handling-java-out-of-memory-issues-in-websocket-application-90ee33e936e3</a></p><p>10. Using message size in websocket @onMessage.. function to restrict clients from sending large chunks of data as message which could overwhelm the server.</p><p>11. Implementing rate limiting to prevent DDOS attacks on server using messages sent in uncontrolled manner from client side.</p><p>12. Keeping the connection retries with sleep (if your websocket server acts as client and consumes data from sources through websocket ) this helps to maintain CPU usage under control.</p><p>13. Accepting batch of requests to be processed in a single message to avoid performance issues during scale.</p><p>Let’s understand with this example of same assistant of restaurant:</p><p>Let’s say you decide to order 4 dishes, so if you would call assistant 4 times and tell him your order, each time he will go to chef and register your order and comeback to take next order from you this will add significant waiting time instead if you can just tell all the 4 orders at once, chef will get busy quickly in parallel to prepare them.</p><p>Following all these steps, doesn’t ensure that your application will start serving lakhs or millions customers from day 1. To reach that level of readiness, the application need to be tested through tough rounds of performance test with variable load, different infra and the number of socket connections an application could serve vary use case to use case. It depends on how much CPU intensive tasks the server does, the amount of data it process, the size of data, the collections being used, the number of clients that are expected to connect, the peak load handled by server, memory and CPU config , number of threads in server and lot more.</p><p>I can proudly say that, we did several rounds of optimisations (as mentioned above) , so many hit and trials with infra and configs to reach 10–15k connections in one server with no latency at our client side.</p><p>I hope this blog was helpful to some extent. Please share your feedback and valuable learning from the journey of building websocket applications. Thanks for reading :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2c689e815b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Handling Java Out of Memory Issues in Websocket Application]]></title>
            <link>https://ramyav.medium.com/handling-java-out-of-memory-issues-in-websocket-application-90ee33e936e3?source=rss-4972c9fcda99------2</link>
            <guid isPermaLink="false">https://medium.com/p/90ee33e936e3</guid>
            <category><![CDATA[websocket]]></category>
            <category><![CDATA[visualvm]]></category>
            <category><![CDATA[garbage-collection]]></category>
            <category><![CDATA[out-of-memory-exception]]></category>
            <category><![CDATA[heapdump]]></category>
            <dc:creator><![CDATA[V Ramya]]></dc:creator>
            <pubDate>Sat, 10 Jun 2023 16:01:20 GMT</pubDate>
            <atom:updated>2023-07-02T15:39:03.360Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article, I will be sharing some of the best tips to analyse the out of memory issue in java applications. My main focus would be to cover some important details related to garbage collection and its contribution to <em>java.lang.OutOfMemoryError: GC Overhead Limit Exceeded</em>.</p><p>Before diving into the issue, let’s understand the common basics terminologies in simplest form to carefully analyse the heap later.</p><ol><li><strong>Heap</strong> : Part of memory allocated to JVM used for dynamic allocation of objects which are accessed globally across the threads in the application.</li><li><strong>Heap Allocations</strong> : Heap is divided into different parts to manage different generations of objects. The heap parts are: Young Generation, Old or Tenured Generation, and Permanent Generation.</li><li><strong>Garbage collection</strong> : It is a process of identifying objects in the heap which are not in use and deleting their reference to reclaim the memory.</li><li><strong>Young Generation</strong> : This area holds new objects created in the program.</li><li><strong>Minor GC</strong> : JVM periodically triggers Minor GC to clean up the objects created in Young Generation. This is a very small duration event having almost no impact in program processing.</li><li><strong>Old Generation</strong> : This area holds the objects which survived the cycles of “minor GC” and have been promoted when the age of objects in Young Generation crossed the threshold.</li><li><strong>Major GC</strong> : This is popularly known as “Stop The World” GC , this is triggered to clear the Old Generation space. This GC pauses all the threads of the application and hence for throughput and latency sensitive applications major GC must be minimised.</li></ol><p>VisualVM is best tool for debugging as it had some really good default visualisers and plugins to dig deeper into each space of memory as well as CPU. Consider installing <strong>Visual GC</strong> plugin it helps to visualise the GC happening in real time in each distribution of heap area. It gives a crisp idea of how and where the memory is growing and whether the GC is reclaiming the memory or not.</p><p>Analysing JVM memory issues require debugging the heap area in detail and what is interesting and often overlooked is the contribution of CPU cycles on going in the program. We can analyse thread by thread memory and CPU consumption with the help of CPU and memory sampler. It helps us to determine where is the CPU time spent method wise which really benefits to optimise the code.</p><p>Talking about <em>java.lang.OutOfMemoryError: GC Overhead Limit Exceeded </em>error, it happens when the application is spending more time doing GC than the actual work. It is an alarming situation because it freezes entire application work for long time. Giving some context of what our application does..it was trying to maintain a queue of incoming messages and publishing those messages to the subscribers in multiple threads over the websocket . The messages were of type byte buffer.</p><p><strong>Observations during High GC cycles :</strong></p><p>a. During the memory profiling using visual GC we carefully observed the relation between GC cycles and its effect on memory. Every pause had an effect on all the threads of application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/978/1*BrjLJQ6clmceCuhmahP9Ew.png" /><figcaption>Spike in CPU during GC cycle vs normal usage</figcaption></figure><p>b. Whenever there was full GC, the websocket connection over which the server was receiving messages used to pause, which led to the connection getting restarted due to ping-pong failure as the thread was paused for longer time than the timeout set over connection. There used to be a spike as the paused threads start to retry their connections.</p><p>c. On the other side, the connections made by end users to the server starts choking the entire processing of the thread pool which inturn halted the thread to run which was the manager thread.</p><p>d. Due to these many halts, the eden space begins to grow quickly so minor GC starts believing these are long-lived objects as the publisher thread was paused and hence it tries to move the objects to the old generation space which started filling it even faster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CaJ3Z3I8H_YGAejUaidtrQ.png" /><figcaption>Memory profile when Old generation became full</figcaption></figure><p>The speed with which the queue of incoming messages was getting filled was not getting emptied by the publishers and this resulted in the old generation heap space getting filled completely leading to even longer pauses for full GC and the space was not getting reclaimed at all….ultimately we had to restart our application.</p><p>After several tireless rounds of analysis and testing, we found the ray of hope with CPU and memory sampler which accurately helped us to see where most of the CPU time is spent function by function. This was the eureka moment !! We found that the maximum time it was spending in the <strong><em>array list initialisation</em></strong>.<strong><em> </em></strong>So, the part of code which was copying the bytes of message from queue into an array list was the culprit. It was generating way more objects than we imagined and it led to filling up of memory too quickly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N3BcC9V8dkzRw5uUyLZ_Zg.png" /><figcaption>Time spent by the thread per step</figcaption></figure><p><strong>Remedies</strong> :</p><ol><li>Removed all the unnecessary object creations from during incoming message processing.</li><li>Removed static declaration of concurrent maps in the code as static objects life cycle is almost same as the application life.</li><li>Started processing batches of connections together in a single thread.</li><li>Sending batches of packets to those users instead of single packet to empty the queue faster using multiple threads.</li></ol><p>All these small optimisations, helped us reduce GC cycles + we were able to manage the memory even more efficiently. This single websocket application was able to handle 10k connections with zero to minimum latency in just a heap size of min : 400 mb , max : 2.4 GB. All thanks to visual VM !!</p><p>I hope this article helps you and if you find this useful, share it with you team mates and do let me know what challenges you had faced while developing web socket applications :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90ee33e936e3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[7 Reasons to start a Startup as a Student]]></title>
            <link>https://ramyav.medium.com/7-reasons-why-a-student-should-do-startup-bb243235ccf4?source=rss-4972c9fcda99------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb243235ccf4</guid>
            <category><![CDATA[buisness]]></category>
            <category><![CDATA[student-business-idea]]></category>
            <category><![CDATA[startup-lessons]]></category>
            <category><![CDATA[startup-in-india]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[V Ramya]]></dc:creator>
            <pubDate>Sun, 26 Feb 2023 15:06:19 GMT</pubDate>
            <atom:updated>2023-02-26T16:06:20.649Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5RluJ4PuiW3hMhkh" /><figcaption>Photo by <a href="https://unsplash.com/@mbaumi?utm_source=medium&amp;utm_medium=referral">Mika Baumeister</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Starting a business can be a daunting task, especially for college students who are juggling academic responsibilities and social commitments. However, starting a business while in college can be one of the most rewarding decisions you make. In this video, we’ll explore seven reasons why starting a business in college is a smart move.</p><p><strong>1. Best time to experiment</strong><br>College is the perfect time to explore different career paths and experiment with new ideas. As a student, you have access to a wide range of resources and support, including academic advisors, professors, and other students who share your interests. This makes it easier to test out new ideas and pivot if something doesn’t work out.</p><p>When it comes to entrepreneurship, this experimentation mindset can be incredibly valuable. Starting your own business requires a willingness to take risks, learn from failures, and adapt your approach over time. As a college student, you’re already in the mindset of trying new things and learning from your experiences. This can give you a unique advantage when it comes to starting a business.</p><p><strong>2. Lesser Responsibilities</strong><br>Compared to later stages of life, college students often have fewer responsibilities and commitments. Many students are living away from home for the first time, and they may not yet have a family or other major obligations to worry about. This can free up time and energy to pursue entrepreneurial ventures.</p><p>Starting a business requires a lot of time and effort, especially in the early stages. By starting your business while you’re still in college, you have the luxury of being able to devote more of your time and energy to it without sacrificing other important responsibilities. This can help you get your business off the ground more quickly and give it the attention it needs to thrive.</p><p><strong>3. Access to affordable Team</strong><br>One of the biggest challenges that many entrepreneurs face is finding the right team members to help bring their vision to life. As a college student, you have access to a built-in network of peers who are also looking to build their skills and gain experience. This can be an incredibly valuable resource when it comes to building a team.</p><p>In addition, many colleges and universities offer resources and support for student entrepreneurs. This might include mentorship programs, incubators or accelerators, or funding opportunities. These resources can help you find the right team members and give your business a strong foundation to build upon.</p><p><strong>4. Nothing to lose</strong><br>When you’re in college, you have relatively little to lose by starting a business. You may not yet have a mortgage, car payments, or other major financial obligations to worry about. This can give you the freedom to take risks and pursue your entrepreneurial dreams without worrying about the consequences of failure.</p><p>Of course, this doesn’t mean that starting a business is risk-free. But compared to later stages of life, the risks are generally lower. By starting your business early on, you have the chance to learn from your mistakes and build valuable experience that you can carry forward into future ventures.</p><p><strong>5. Entrepreneurship Opportunity as a Career</strong><br>Entrepreneurship can be an incredibly rewarding career path, both financially and personally. By starting your own business, you have the freedom to pursue your own vision and build something that you’re truly passionate about. In addition, successful entrepreneurs can often earn significant financial rewards.</p><p>Starting a business while you’re still in college can be a great way to jump-start your entrepreneurial career. Even if your first business doesn’t take off, the experience and skills you gain can be incredibly valuable in future ventures. And if you’re able to build a successful business while you’re still in college, you may be able to use that as a launchpad for even greater success down the road.</p><p><strong>6. Access to Student Grants and Tools.</strong><br>Many colleges and universities offer grants and funding opportunities to students who are interested in starting a business. These grants can provide the financial support you need to get your business off the ground. Additionally, many tools and resources are available to college students that can help them build their businesses, such as access to specialized software, workshops, and mentorship programs.</p><p><strong>7. Best Time in History to Start a Business</strong><br>Finally, there has never been a better time to start a business than now. We are living in a digital age, and the internet has made it easier than ever to start a business with minimal resources. Online platforms, such as social media and e-commerce sites, have made it easier to reach a wider audience.</p><p>Subscribe to our channel — <a href="https://www.youtube.com/@startnicely">https://www.youtube.com/@startnicely</a></p><p>Visit our website for more details: <a href="https://codenicely.in/">https://codenicely.in/</a></p><p>Follow CodeNicely :</p><p>Instagram- <a href="https://www.instagram.com/codenicely/">https://www.instagram.com/codenicely/</a></p><p>Linkedin- <a href="https://www.linkedin.com/company/codenicely/">https://www.linkedin.com/company/codenicely/</a></p><p>Twitter — <a href="https://twitter.com/codenicely2">https://twitter.com/codenicely2</a></p><p>Facebook — <a href="https://www.facebook.com/CodeNicely">https://www.facebook.com/CodeNicely</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb243235ccf4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Multi-Column Query using IN Clause in Java]]></title>
            <link>https://ramyav.medium.com/multi-column-query-using-in-clause-in-java-7ac58aebf161?source=rss-4972c9fcda99------2</link>
            <guid isPermaLink="false">https://medium.com/p/7ac58aebf161</guid>
            <category><![CDATA[mysql]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[hibernate-jpa]]></category>
            <category><![CDATA[hibernate]]></category>
            <category><![CDATA[entitymapping]]></category>
            <dc:creator><![CDATA[V Ramya]]></dc:creator>
            <pubDate>Mon, 05 Jul 2021 14:19:00 GMT</pubDate>
            <atom:updated>2021-12-17T10:34:40.910Z</atom:updated>
            <content:encoded><![CDATA[<h3>Multi-Column Query using IN clause in Java</h3><p>We all use IN clause every time we need to fetch multiple results from database at once. If the query was over a single primary key it’s perfect!</p><p>But the challenge I faced was how to do the query over multiple columns together ?</p><p>I tried looking for the sources to understand how does it actually work and how can I leverage hibernate and JPA to query the list of items using multiple columns ?</p><p>So, I assume the problem statement is pretty clear till here…</p><ol><li>We need to query multiple items at once to avoid the round trips.</li><li>We need to make sure the columns and their respective values must not go out of order i.e the values to the IN clause should be in order per column.</li></ol><p>In MySQL, we have a concept of composite key i.e a row which can be uniquely identified by using multiple columns which has been declared to be unique together.</p><p>There is a concept called row constructor in MySQL which allows simultaneous comparisons of multiple values. Another interesting questions which branches out from here is —<em> what about indexes ? How will they behave?</em></p><p>Answer is- When using composite key columns few things should be kept in mind-</p><ul><li>Ordering of columns is important i.e if we have 4 keys which uniquely identify a row we must make sure to use them in the order.</li></ul><p>→<em> How to check order?</em></p><p>Use SHOW INDEX FROM &lt;TABLE_NAME&gt;; and check the “Seq_in_index” column. This indicates the sequence number of the column in the index. If multiple columns are part of the index, the sequence number will be assigned based on how the columns were ordered during the index creation time. Sequence number starts from 1.</p><p>Based on this we can arrange the columns in where clause.</p><p>→ <em>How to know if index will work or not?</em></p><p>On a Table suppose Index is created on multiple columns → <strong>A1, A2, A3</strong></p><p>So the general rule is- <strong><em>Composite Indexes will be used only when where clause covers columns in the order of index creation.</em></strong></p><p>if order of A1 is 1, order of A2 is 3 and order of A3 is 2. We must make sure order is maintained else index won’t take effect and performance will degrade.</p><p>Lets understand with few combinations</p><p><strong>A1 = ?</strong> ,</p><p><strong>A1= ? and A2 = ?</strong>,</p><p><strong>A1=? and A3= ?</strong>,</p><p><strong>A 1= ? and A2= ? and A3= ?</strong></p><p>→ Index will work in all these cases since we have maintained the relative ordering.</p><p><strong>A2=? and A1=?</strong></p><p><strong>A3=? and A2=?</strong></p><p><strong>A3=?</strong></p><p><strong>A2=?</strong></p><p>→ In all these cases, it won’t work since A1 which stands 1st at sequence is used at wrong order/ not used at all.</p><p>Another option is to look by cardinality of the column. Higher the cardinality, higher the chances that optimiser might select that column. So try both and see which works out for you the best.</p><p>→ How to check query efficiency?</p><p>Always use EXPLAIN ANALYZE ( &lt;QUERY&gt;) to understand the underlying execution of queries and its run time. It gives a better picture.</p><h3><strong>Implementation:</strong></h3><p>For solving this problem, we have to find some way to pass a bunch of column names together in IN clause and also make sure to pass bunch of values corresponding to those columns and hibernate should translate them correctly in order 🤔</p><p>One solution, I stumbled upon was @ Embeddable and @ EmbeddedId annotation in hibernate which are useful when you want to create a combination of columns / properties.</p><p>Step 1: Create a class and annotated with @ Embeddable so that it can easily embedded in another class which will requires this.</p><pre>@Embeddable<br>@NoArgsConstructor<br>@EqualsAndHashCode<br>public class CompositePrimaryId implements Serializable {<br><br>    @Column(name=&quot;ab&quot;)<br>    private String ab;<br><br>    @Column(name = &quot;ac&quot;)<br>    private String ac;<br><br>    @Column(name = &quot;ad&quot;)<br>    private String ad;<br><br>    public CompositePrimaryId(String ab, String ac, String ad) {<br>        this.ab = ab;<br>        this.ac = ac;<br>        this.ad = ad;<br>    }</pre><p>It is just like separating some common properties from the classes and embedding them wherever required to avoid duplicate code.</p><p>Step 2: Embed the required columns into the class.</p><pre>@Getter<br>@Setter<br>@Table(name = &quot;&lt;table_name&gt;&quot;)<br>@Entity<br>public class MainTable implements Serializable {<br><br>    @EmbeddedId<br>    private CompositePrimaryId compositePrimaryId;<br>     <br>    private boolean check;</pre><pre>    // other columns here..</pre><pre><br>}</pre><p>This behaviour can be visualised like splitting tables into 2 separate tables (logically) and then embedding the required columns when required without actually altering the table structure. That’s the power of Hibernate ! 🔥</p><p>Step 3: Get the repository, create the entity manager and use the query builder to create the native query and pass the parameters as list.</p><pre>@Autowired<br>MainTableRepository mainTableRepository;<br>List&lt;CompositePrimaryId&gt; compositeIds=new ArrayList&lt;&gt;();<br>// add all your composite ids here<br>CompositePrimaryId cpId1=new CompositePrimaryId();<br>cpId1.setAb(123);<br>cpId1.setAc(&#39;E&#39;);<br>cpId1.setAd(&#39;ZSR&#39;);<br>compositeIds.add(cpId1);</pre><pre>CompositePrimaryId cpId2=new CompositePrimaryId();<br>cpId2.setAb(143);<br>cpId2.setAc(&#39;P&#39;);<br>cpId2.setAd(&#39;ZSR&#39;);<br>compositeIds.add(cpId2);</pre><pre>mainTableRepository.getResultsFromMainTable(compositeIds);</pre><pre>@Repository<br>class MainTableRepository{<br>@Autowired<br>EntityManager entityManager;</pre><pre>public List&lt;MainTableDto&gt; getResultsFromMainTable(List&lt;CompositePrimaryId&gt; compositeIds) {<br>    String sqlQuery = &quot;SELECT new com.test.MainTableDto(mt.compositePrimaryId.ab,mt.check) FROM MainTable mt WHERE mt.compositeid IN (?1)&quot;;<br>    Query query = entityManager.createQuery(sqlQuery, MainTableDto.class);<br>    query.setParameter(1, compositeIds);<br>    return query.getResultList();<br>}</pre><pre>}</pre><p>Step 4- Check the query 👀</p><p>Final query will look something like this-</p><p><strong><em>SELECT ab, check FROM MainTable WHERE ab=123 and ac=”E” and ad=”ZER” OR ab=143 and ac=”P” and ad=”ZSR”;</em></strong></p><p>We are done !! 😀</p><p>If you like this post please provide your support by claps :) and let me know your thoughts. Thank you !!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ac58aebf161" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Composite Aggregation using Java API]]></title>
            <link>https://ramyav.medium.com/composite-aggregation-using-java-api-38882cabc886?source=rss-4972c9fcda99------2</link>
            <guid isPermaLink="false">https://medium.com/p/38882cabc886</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[elasticsearch]]></category>
            <category><![CDATA[composite-aggregation]]></category>
            <category><![CDATA[aggregation-api]]></category>
            <dc:creator><![CDATA[V Ramya]]></dc:creator>
            <pubDate>Mon, 28 Dec 2020 12:40:47 GMT</pubDate>
            <atom:updated>2020-12-29T09:58:00.708Z</atom:updated>
            <content:encoded><![CDATA[<h3>Elasticsearch Composite Aggregation using Java</h3><p>While trying to lookout for an implementation related to Composite Aggregation of Elasticsearch using Java Rest High Level Client on the internet I couldn’t find anything which was easy to understand and implement. Hence, I decided to share my understanding of this topic with the community.</p><p>In my current organisation, we extensively use Elasticsearch to store and process complex user related documents to leverage the power of indexing and search capabilities of Elasticsearch for serving our API requests in an optimal time.</p><figure><img alt="Eat. Sleep.Code.Repeat" src="https://cdn-images-1.medium.com/max/1024/0*LOhdl5YqEqNsmJEr" /><figcaption>Photo by <a href="https://unsplash.com/@tracycodes?utm_source=medium&amp;utm_medium=referral">Tracy Adams</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Let’s first understand the problem we encountered and then our approach to solve it.</p><p><strong>Problem-</strong></p><p>We have been using search query to find the distinct values of a property ( say id) with the size limit of 10000.Elasticsearch scans all the documents which satisfy the given criteria and then aggregates them into the buckets. As the number of documents started increasing in the index we were facing <strong>too_many_buckets_exception</strong> in search response. This led us to rethink about the loopholes in our current implementation as it wasn’t really scalable.</p><p><strong>Solution</strong>-</p><p>Whenever we have to query large datasets the best way is to use pagination. We definitely wanted to implement pagination but the challenge was to keep our current functionality intact. We found our ray of hope in Composite Aggregation which supports Pagination + Aggregation allowing you to quickly paginate over large aggregation result sets sequentially without compromising response time.</p><p><strong>Implementation</strong>-</p><p>Let’s quickly check the implementation using Java Rest High Level Client.</p><p>Steps-</p><ol><li><strong>Search Request</strong>- Using this class we create a search request and specify the index to be queried.</li></ol><pre>SearchRequest searchRequest = new SearchRequest(indexName);</pre><p>2. <strong>CompositeValuesSourceBuilder</strong>- We need to have a composite values source builder to add terms on which we are performing aggregation.</p><pre>List&lt;CompositeValuesSourceBuilder&lt;?&gt;&gt; sourceBuilderList=new ArrayList&lt;&gt;();<br>sourceBuilderList.add(new TermsValuesSourceBuilder(&quot;distinctId&quot;).field(&quot;id<em>&quot;</em>));</pre><p>3. <strong>CompositeAggregationBuilder</strong>- This class will help to build a composite aggregation where we need to define the source fields to be used while building composite buckets. Source fields we created in the step 2 pass them as an argument along with search size.Composite builder has a property “aggregateAfter” where we need to pass last result from our previous query in this property to be able to paginate further. For first and last set of results it would be null.</p><pre>CompositeAggregationBuilder compositeAggregationBuilder=new CompositeAggregationBuilder(&quot;composite_id&quot;,sourceBuilderList)<br>.size(10000);<br>compositeAggregationBuilder.aggregateAfter(afterKey);</pre><p>4. <strong>SearchSourceBuilder</strong>- This is the standard class used to build the search request and we will now be combining everything created for the search into this. Aggregation Type would be the composite aggregation builder since we are looking to make a composite aggregation based search. Now, specify the fields to be included in the search response along with size and hit search.</p><pre>SearchSourceBuilder searchSourceBuilder = new SearchSourceBuilder();<br>searchSourceBuilder.aggregation(compositeAggregationBuilder);<br>String[] includeFields = {&quot;id<em>&quot;</em>};<br>searchSourceBuilder.fetchSource(includeFields, null);<br>searchSourceBuilder.size(10000);<br>searchRequest.source(searchSourceBuilder);<br>searchResponse = restHighLevelClient.search(searchRequest, RequestOptions.<em>DEFAULT</em>);</pre><p>At the end, the search query would look like this :</p><pre>{<br>   &quot;size&quot;:10000,<br>   &quot;_source&quot;:{<br>      &quot;includes&quot;:[<br>         &quot;id&quot;<br>      ],<br>      &quot;excludes&quot;:[<br>         <br>      ]<br>   },<br>   &quot;aggregations&quot;:{<br>      &quot;id_composite&quot;:{<br>         &quot;composite&quot;:{<br>            &quot;size&quot;:10000,<br>            &quot;sources&quot;:[<br>               {<br>                  &quot;distinctId&quot;:{<br>                     &quot;terms&quot;:{<br>                        &quot;field&quot;:&quot;id&quot;,<br>                        &quot;missing_bucket&quot;:false,<br>                        &quot;order&quot;:&quot;asc&quot;<br>                     }<br>                  }<br>               }<br>            ]<br>         }<br>      }<br>   }<br>}</pre><p>5. <strong>Iteration</strong> —We would be iterating in while loop until the aggregations over the data set isn’t over in the search response.</p><p>Search Response would contain aggregation results as mentioned below as an example-</p><pre>{ ...some other values</pre><pre>   &quot;aggregations&quot;:{<br>      &quot;composite#id_composite&quot;:{<br>         &quot;after_key&quot;:{<br>            &quot;distinctId&quot;:500<br>         },<br>         &quot;buckets&quot;:[<br>            {<br>               &quot;key&quot;:{<br>                  &quot;distinctId&quot;:100<br>               },<br>               &quot;doc_count&quot;:1<br>            },<br>            {<br>               &quot;key&quot;:{<br>                  &quot;distinctId&quot;:101<br>               },<br>               &quot;doc_count&quot;:1<br>            },<br>            {<br>               &quot;key&quot;:{<br>                  &quot;distinctId&quot;:102<br>               },<br>               &quot;doc_count&quot;:1<br>            }<br>            .<br>            .<br>            .<br>           more buckets</pre><pre>         ]<br>      }<br>   }<br>}</pre><p>Aggregations are easy to iterate in the form of a list hence we can use for each loop and type cast each aggregation item to ParsedComposite object which keeps track of the afterKey for next round of search query and the data per page in form of buckets.</p><p>Each bucket in turn is an array list where each list item consist of a property key which is a LinkedHashMap having key as the name specified for each distinct value( here- “distinctId”) and value would be the id.</p><pre>SearchResponse searchResponse = findDistinctIds(null); //null after key for first round<br>while (searchResponse != null &amp;&amp; searchResponse.getAggregations() != null) {<br>    List&lt;Aggregation&gt; aggregationList = searchResponse.getAggregations().asList();<br>    if (CollectionUtils.<em>isNotEmpty</em>(aggregationList)) {<br>        for (Aggregation aggregation : aggregationList) {<br>            ParsedComposite parsedComposite = (ParsedComposite) aggregation;<br>            afterKey = parsedComposite.afterKey();<br>            parsedComposite.getBuckets().forEach(parsedBucket -&gt; parsedBucket.getKey().forEach((k, v) -&gt; idList.add(String.<em>valueOf</em>(v))));<br>        }<br>    }<br>    if (afterKey != null) {<br>        searchResponse = findDistinctIds(afterKey);<br>    } else {<br>        searchResponse = null;<br>    }<br>}</pre><p>That’s it ! We have successfully completed the composite aggregation implementation using Elasticsearch Java API and I really hope this article was helpful for you. Happy Coding :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=38882cabc886" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[13 Common Mistakes every Company must Avoid to make their Customers Happy !]]></title>
            <link>https://medium.com/codenicely/13-common-mistakes-every-company-must-avoid-to-make-their-customers-happy-2efd461d0cbe?source=rss-4972c9fcda99------2</link>
            <guid isPermaLink="false">https://medium.com/p/2efd461d0cbe</guid>
            <category><![CDATA[sales]]></category>
            <category><![CDATA[customer-experience]]></category>
            <category><![CDATA[startups-in-india]]></category>
            <category><![CDATA[customer-service]]></category>
            <dc:creator><![CDATA[V Ramya]]></dc:creator>
            <pubDate>Sun, 18 Mar 2018 08:55:44 GMT</pubDate>
            <atom:updated>2018-03-18T10:23:57.716Z</atom:updated>
            <content:encoded><![CDATA[<p>Are your customers happy? Do you keep a check on your customer services? If NO then do this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jCMNPZgy0jPEaOxr." /><figcaption><a href="https://unsplash.com/@rawpixel?utm_source=medium&amp;utm_medium=referral">rawpixel.com</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Every company works hard to implement their strategies right. They primarily focus on the ways to make their product easily available to the customers with attractive website, offers, packing&#39;s and most modern processing facilities for faster delivery and returns but if customer isn’t happy with the services then what is the point of developing the product?</p><p>Out of all major issues, customer service ranks among the top issues for organisations. Best product or service must be accompanied by a smart customer service strategy. Happy and satisfied customers are an asset to the company’s profile.</p><p><strong>How customer service can be defined?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*90XupU7Fmjo4zexV." /><figcaption><a href="https://unsplash.com/@mkwlsn?utm_source=medium&amp;utm_medium=referral">Mike Wilson</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>It refers to how a particular customer is served when he/she contacts the company regarding any kind of query or advice or problem. It is a complete cycle of different stages a customer undergoes, which begins as soon as he/she enters the company, participates in the business process through one or more transactions and extends even after that, if the customer raises some additional needs or issues after the final transaction is completed.</p><p><strong>Why customer service is valuable?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3ViAA-OmBw_dw1E9." /><figcaption>Photo by <a href="https://unsplash.com/@quickorder?utm_source=medium&amp;utm_medium=referral">QuickOrder</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>A company must address customer issues with full sincerity and honesty. Managing, retaining and providing smooth experience to customers is a very exhaustive and expensive matter for any new startup or company. It requires huge amount of efforts to establish trust amongst the customers.It was found in a survey that- whenever a customer was asked to review about any company they start with — “<strong><em>Their customer service is very poor/bad/good/best</em></strong>” i.e customer service satisfaction is their first parameter for judgement.</p><p>Carefully examine the curated list of top 13 mistakes a company must avoid to become the front-lead in the game of business. These mistakes are -</p><ol><li><strong>Giving less importance to customer service<br></strong>For a company to excel and perform better consistency in providing excellent services is the key. Customer needs and problems need to kept at highest priority for improving the services, their emotions with a company’s service or product must be addressed well and they must feel appreciated for the same.</li><li><strong>Failing to provide sufficient training to the customer service representatives<br></strong>Customer service is an art and one need to master it to impress the customers. Lack of communication skills, insufficient knowledge about the subject, lack of listening skills and bad approach to examine the situation reflects the improper training scenario in a representative which degrades the reputation of company.</li><li><strong>Regularly putting customers on hold and make them wait<br></strong>Response time must be a priority for best customer service.<strong> </strong>Customers expect to have quick responses and better solution for their problem in the very first first attempt itself. If they are regularly placed on hold, they feel frustrated to contact the company again and again, so instead they prefer to switch off to some other competitor.</li><li><strong>Giving customers the runaround<br></strong>Once the customer approaches customer service for any kind of query, they expect to a service representative to whom they speak will resolve their problem. But sadly, most of them are switched to some other person making them feel tired of speaking to multiple persons and explaining same thing over and over again. This lack of incompetence in the staff leads to unsatisfied customer. Companies must get over the concept of giving the runarounds to customers to maintain better relationship with their customers.</li><li><strong>Lack of organization of customer complaints<br></strong>Customers often register their complaints in offline mode or through online portals. Customer care representatives must have the skills to record and manage all the complaints efficiently, they should not get displaced or destroyed. Improper management of customer records and lack of efficient systems for recording, processing and producing the desired output give bad experience to customers.</li><li><strong>Being proactive instead of being active<br></strong>When one need to succeed as a small business owner, it really is extremely important to always accept the fact that — “<em>the customer is always right</em>”. Sometimes customer care representing indulge in an unwanted argument kind of situations but it is worth remembering that the <em>effort and cost involved to gain one new customer is a lot more tedious than it does to maintain an existing one</em>. If you try to win an argument but lose a steady customer, you are punishing yourself and your business with lost revenue and ensuring bad reviews too.</li><li><strong>Bad Attitude towards customers<br></strong>Customers are very selective, they consider company behavior towards them as a very important criteria to stick to their product. If the attitude of customer care representative or the company is not empathetic or personal enough in terms of not being responsive to customer emotions, they may leave your services and find some other destination.Customer service employees must be very humble in their approach to understand the customer problem, must learn to use the words like -“THANK YOU” , ”WE ARE SORRY”, “PLEASE”,etc. customers feels pleasing and might grant a second try !</li><li><strong>Mistaking the silence of customers for satisfaction<br></strong>Every customer has different interests and experiences with any product or services of any company.If they face any issues, they may file or raise a complaint but most of the customers remain silent they leave it due to which unfortunately many companies falsely believe that there’s nothing to worry about because they haven’t heard from a customer. Wrong! Chances are, customers don’t know how to reach you or don’t think it will make a difference.</li><li><strong>Failing to keep promises<br></strong>Its a famous saying that- “<em>Under promise and over deliver is a way to success</em>”. A study by Bain &amp; Company revealed that while 80% of companies believe they develop great service — only 1% of customers agree with that. Just for the sake of satisfying the customers, officials often make fake or short term promises which develop wrong picture in the minds of customers and they feel it’s better to switch the services.</li><li><strong>Not collecting and acting on customer feedback<br></strong>Feedback is an essential medium to peep inside a customer’s mind and understand their interests. Feed backs collection, maintenance and useful utilization is the key where businesses fail.Timely collection of feedback and using them to improve their customer service and product is what expected by their customers.</li><li><strong>Failing to answer the customer queries on social media<br></strong>Businesses are no way far from using social media as a super-power to attract their customers but sometimes they fail to be responsive and attentive regarding customer queries on their support platforms. Questions on social media handles get ignored lot of times, sometimes there is no representative to reply to all those queries piled up in their inboxes and once they start replying it becomes difficult to handle the flooding messages all day long which results in customers losing up their interests.</li><li><strong>Sending automated copy-paste responses<br></strong>Customers face variety of issues which depends on lot of different factors.Company while resolving those issues often forget to keep this in mind. Since email is impersonal, some use predefined templates or scripts for each and every customer just in a copy paste manner none of which may apply to a particular customer, while some other businesses simply ignore customer complaints hoping the customer will simply forget the issue.</li><li><strong>Inflexible customer service policy<br></strong>Customer service representatives and managers should be able to find different ways to adapt the system to new policies to build positive customer relationships which can encourage customer participation and regenerate the trust in them.It must find an opportunity in every customer interaction to build a relationship which can help the business to shine. Rules must bend as and when required just for the sake of customers !</li></ol><p>We at <strong>CodeNicely </strong>are working hard to build a good and productive team which can give best software service support to our customers. We are committed to work for best and deliver the best ! Join us in our journey to create a better technical space for the startups :)</p><p>Like our official page on Facebook for more updates- <a href="https://www.facebook.com/CodeNicely/">https://www.facebook.com/CodeNicely/</a></p><p>Follow us on Instagram- <a href="https://www.instagram.com/codenicely/">https://www.instagram.com/codenicely/</a></p><p>If you have idea or want any product feel free to contact us ! Our official website is -<a href="https://www.codenicely.in/">https://www.codenicely.in/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2efd461d0cbe" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codenicely/13-common-mistakes-every-company-must-avoid-to-make-their-customers-happy-2efd461d0cbe">13 Common Mistakes every Company must Avoid to make their Customers Happy !</a> was originally published in <a href="https://medium.com/codenicely">CodeNicely</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting Started with Open Source]]></title>
            <link>https://medium.com/codenicely/getting-started-with-open-source-af6479390fe1?source=rss-4972c9fcda99------2</link>
            <guid isPermaLink="false">https://medium.com/p/af6479390fe1</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[V Ramya]]></dc:creator>
            <pubDate>Tue, 06 Mar 2018 12:00:05 GMT</pubDate>
            <atom:updated>2018-03-06T12:32:48.608Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/525/1*KBwtOpbE6cPix6nPWltFhw.jpeg" /><figcaption>L<a href="https://www.pexels.com/photo/coffee-writing-computer-blogging-34676/">ove coding with coffee?</a></figcaption></figure><p>Being a part of this highly turbulent IT industry have you ever given a thought about how the tech giants like Google, Microsoft, Facebook, etc.are able to impact us so much with their valuable products and ideas?</p><p>Yes, they made it possible because they opened up some of their proprietary innovations to the open source community. Spreading the technology improves the experience for all users by creating efficiencies and making the entire global community more streamlined. It helps in making things simpler and more easy to access and improve. Perhaps you might have already heard and read about open source software but have you started?</p><p>If not, it&#39;s never too late to start and learn about open source software technologies and projects.</p><p>New trends and technologies are impacting our lives each and every second that’s shaping our future to an imaginable extent.The key player in this revolution is undoubtedly the open source technologies.</p><h3><strong>What is this Open Source?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/526/1*yp2KzHlblx2dV_DrAlfhAw.jpeg" /><figcaption>T<a href="https://www.pexels.com/photo/blackboard-business-chalkboard-concept-355988/">hink and start</a></figcaption></figure><p>Open source is developed by a group of individuals with a shared interest in the project, this community of users and programmers is key to the advancement of any open source project. Open source projects, products, or initiatives embrace and celebrate the principles of open exchange, collaborative participation, transparency and community-oriented development.</p><p>Internet is the biggest example of open source and how impactful it is in our lives today needs no explanation.</p><p>Google, taking a step ahead, in order to disseminate the importance of an open source software development introduced a renowned program known as GOOGLE SUMMER OF CODE which is focused to bridge the gap between young talented students across the globe and the open source organizations.</p><h3><strong>How it is creating impact?</strong></h3><p>The idea of open source stems from the technology community. From the earliest days of computers, programmers and engineers developed new technologies through collaboration. All of us knowingly and unknowingly use products such as any library, plugin, programming language or any platform among which most of them are open source.</p><h3><strong>I am a student, why should I become a part of Open Source Community?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/525/1*KrjVNVadgUKB7PCX4BsX2w.jpeg" /><figcaption><a href="https://www.pexels.com/photo/man-wearing-black-and-white-stripe-shirt-looking-at-white-printer-papers-on-the-wall-212286/">Are u a student ? Explore the opportunities</a>!</figcaption></figure><p>Student life is the best time to pitch your skills and projects in front of global community like Open Source Community which can give you a hell lot of exposure on how to publish, collaborate and learn by providing a way to stretch yourself beyond your limits. It can help you understand the architecture of projects, new tools and libraries being used, the way to interact to many global contributors of that project, you may get a mentor over there to help you solve bugs and issues in your code and the opportunity to mark your presence by contributing to some of the really cool and innovative projects of tech companies by sitting at any corner of the world and you might end up with an opportunity to work in those companies either as an intern or employee. It’s just more than awesome!</p><h3><strong>How to get started with Open Source Community?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/525/1*Vsr-_PZ5Z4A3ZsSui61FCg.jpeg" /><figcaption>Get set go !</figcaption></figure><p>Contributing to an open source for the first time can make you feel stiff and a little overwhelming from inside as you may be a newbie or have been coding for a while but it’s never too late to start.</p><p>1.You can find lots of open source projects on GitHub.You just need to make an account and push your own project to make it open for collaboration or you can even start contributing to the projects which match up to your interests.</p><p>2.This link might be useful to get a brief overview about how GIT can be used for making contributions. It consists of tutorial series too-</p><p><a href="https://www.digitalocean.com/community/tutorials/contributing-to-open-source-getting-started-with-git">https://www.digitalocean.com/community/tutorials/contributing-to-open-source-getting-started-with-git</a></p><p>3. There is a site which aggregates projects that actively <em>want</em> help. They label those projects with things like “up-for-grabs”, “jump-in” or “help wanted.” Link for the site is-<a href="http://up-for-grabs.net/">http://up-for-grabs.net</a></p><p>4.You can also go through the links mentioned below</p><p>a. <a href="https://github.com/explore">https://github.com/explore</a> — use this site by github to explore interesting projects to work on.</p><p>b. <a href="https://www.hackerearth.com/getstarted-opensource/">https://www.hackerearth.com/getstarted-opensource/</a></p><p>c. <a href="https://github.com/MunGell/awesome-for-beginners">https://github.com/MunGell/awesome-for-beginners</a> — This is a curated list of projects helpful for beginners.</p><p>5. Read open-source community blogs, participate in hackathons, try to be an active problem solver in github discussions and take part in GSOC as they are primary source to encourage you towards global collaborative contributions.</p><p>There are lots of stuff on the Internet to help you jump into open source but all you have to do is crawl your fingers on the keyboard, find them and start contributing :)</p><p>The world is full of “codes” which guides us and shape the way we think and act to redefine our ideas into a more valuable and scalable contribution to the community. Open Source Community is to open to all whether you are a beginner or an experienced professional.</p><p>We at<strong> CodeNicely</strong> aim to develop an environment where you can connect and work collaboratively with wide range of talented people over the extremely flourishing open source community, which is the best way to embrace your skills because love for open source is incredible ! :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af6479390fe1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/codenicely/getting-started-with-open-source-af6479390fe1">Getting Started with Open Source</a> was originally published in <a href="https://medium.com/codenicely">CodeNicely</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>