<?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 Harish Kumar on Medium]]></title>
        <description><![CDATA[Stories by Harish Kumar on Medium]]></description>
        <link>https://medium.com/@harish77kumar4270?source=rss-8b28ae72c9aa------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*paHTxPYIk4NrmZhVfyakew.jpeg</url>
            <title>Stories by Harish Kumar on Medium</title>
            <link>https://medium.com/@harish77kumar4270?source=rss-8b28ae72c9aa------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 09:10:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@harish77kumar4270/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[What is a good marketing ROI?]]></title>
            <link>https://medium.com/@harish77kumar4270/what-is-a-good-marketing-roi-de55994e7de7?source=rss-8b28ae72c9aa------2</link>
            <guid isPermaLink="false">https://medium.com/p/de55994e7de7</guid>
            <category><![CDATA[influencers]]></category>
            <category><![CDATA[digital-marketing-tips]]></category>
            <category><![CDATA[influencer-marketing]]></category>
            <category><![CDATA[influencer-marketing-roi]]></category>
            <dc:creator><![CDATA[Harish Kumar]]></dc:creator>
            <pubDate>Tue, 17 Sep 2019 19:21:42 GMT</pubDate>
            <atom:updated>2019-09-17T20:19:41.518Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rXk11W63onRMF7c8.png" /><figcaption>Digital Marketing ROI</figcaption></figure><p><strong>What is a good marketing ROI?</strong></p><p>In this article, we will focus on answering the following question</p><ol><li>How to measure marketing ROI?</li><li>What is a good revenue to sales ratio in the context of digital marketing?</li><li>What is a good KPI to calculate digital marketing ROI?</li><li>How to Calculate influencer marketing ROI?</li><li>How data-driven machine learning models and AI algorithms can be used to measure a good marketing ROI?</li><li>Does Brand need marketing spend before starting a social media marketing campaign?</li><li>How can brands measure their ROI for influencer and influencer marketing campaigns?</li></ol><p>“What is a good marketing ROI?” What is a good influencer marketing ROI? How to calculate influencer marketing ROI? How to optimize marketing ROI by investing in <a href="https://quantamixsolutions.com/blog/44/top-8-local-seo-factors-and-solutions-in-digital-marketing-in-2019">search engine organic traffic growth</a>? Next, what <a href="https://quantamixsolutions.com/blog/40/ai-tools-and-techniques-in-seo-for-affiliate-marketing">AI tools and techniques in SEO</a> can maximize the marketing ROI?</p><p>The most important question is, are your marketing efforts are targeted at leads generation? Are these leads converted into sales? Are these sales profitable? Are you able to attribute marketing costs to revenue?</p><p>A good marketing ROI is itself a KPI. It indicates if you are profitably running your business. However, it is hard to measure, and before we can apply analytics and algorithms, it will be useful to take some ballpark estimate.</p><p>Many times, the most common question is what benchmark marketing ROI ratio is? Based on consensus in the industry, a 5:1 revenue to marketing cost ratio is considered as the middle average in the normally distributed bell-shaped curve.</p><h3>What is a good KPI to calculate a marketing ROI?</h3><p>A KPI is a measurable quantity. Using a KPI, you can monitor ROI. You can use KPIs to measure marketing campaign success, conversion rates, and measure your site’s <a href="https://quantamixsolutions.com/blog/38/role-of-ai-and-machine-learning-in-affiliate-marketing">SEO quality using AI tools and techniques</a>. Following are some example of such KPIs.</p><p><strong>Influencer coupon and promotion vouchers</strong></p><p>You can increase engagement rate, and generate a good ROI by tracking all the influencer coupon and promotion codes which they share with their followers. This will also boost your <a href="https://quantamixsolutions.com/blog/43/how-to-get-your-website-on-the-first-page-of-google-search">website traffic</a>.</p><p><strong>Tracking Clicks</strong></p><p>Using a <a href="https://skillcrush.com/2012/07/19/tracking-pixel/">tracking pixel</a>, e.g. facebook pixel, you see how many people and from where they are coming to your site and using pixel and cookies you can track how many visitors are coming by monitoring one of your influencers. You can also combine insights from <a href="https://analytics.google.com/analytics/web/">Google Analytics</a>.</p><h3>How to Calculate influencer marketing ROI?</h3><p>How you calculate digital marketing ROI? Let’s take an example. You pay the influencer $62 for the picture.</p><p>You give the influencer a coupon code, Creatorsxxyy77zz, to share with her followers in the photo. The code provides people 10 percent off their purchases. Within one single day, 1000 coupon codes are burned or redeemed, which generated sales of 10,000 dollars.</p><p>So far, you’ve only spent the 620 dollars on your digital marketing campaign, so you subtract that from the 10,000 to get 9380 dollars. You then divide 9380 by 620 to get digital marketing ROI of 15.12%</p><p>Here’s another example. You pay an influencer for a sponsored photo and include a tracking pixel on the post. After 24 hours, 100 people have clicked from the influencer’s post to your site. Of those 100 people, two ended up buying something from your brand, bringing in 300 dollars in revenue.</p><p>You are subtracting the cost of the photo (62 dollars) from the 300 dollar results in an influencer social media marketing ROI of under 400 percent.</p><h3>How data-driven machine learning models and <a href="https://quantamixsolutions.com/blog/40/ai-tools-and-techniques-in-seo-for-affiliate-marketing">AI algorithms</a> can be used to measure a good marketing ROI?</h3><p>Moving from more straightforward economics to comprehensive trends and traits, social media marketing AI tool will collect data such as likes, shares, video views, followers, comments, click through, total rewards shared to followers, unique niche talent and skills, national and international awards, entire crowd fundraised etc., as well as an influencer’s demographics, psychometric, social media posts reach. The influencer score will take all of the above information to determine the worth of an influencer based on engagement, relevancy, and interest.</p><h3>Does Brand need marketing spend before starting a social media marketing campaign?</h3><p>Successful social media marketing programs through the influencer’s require brands to allocate a budget or marketing spend which depends on</p><ul><li>How many followers you have across social media?</li><li>What kind of sponsored content you have?</li><li>What is the <a href="https://www.linkedin.com/help/lms/answer/73937/getting-started-with-data-integrations-for-linkedin-ads?lang=en">Length of sponsored integration</a>?</li></ul><h3>How can brands measure their ROI for influencer and influencer marketing campaigns?</h3><p>Brands must think critically about all the costs associated with a digital marketing campaign before setting up the marketing spend. You must predict and analyze the hidden costs associated with a digital marketing campaign in addition to other advertising agency fees. Brand awareness is a costly affair.</p><p><a href="https://quantamixsolutions.com/">Quantamix Solutions</a> offers consulting and software solutions for digital marketing including <a href="https://quantamixsolutions.com/blog/40/ai-tools-and-techniques-in-seo-for-affiliate-marketing">AI tools and techniques in SEO for Digital Marketing</a> and <a href="https://quantamixsolutions.com/blog/46/wordpress-alternative-in-2019-python-web-development-vs-php-web-development">Python-based Web Development as an alternative to Wordpress in 2019 </a>to help you determine how you can optimize your content, SEO and website strategy to maximize and optimize on your digital marketing ROI.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de55994e7de7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Wordpress Alternative in 2019 | Python is Darling of Web Development]]></title>
            <link>https://medium.com/@harish77kumar4270/wordpress-alternative-in-2019-python-is-darling-of-web-development-31a484539772?source=rss-8b28ae72c9aa------2</link>
            <guid isPermaLink="false">https://medium.com/p/31a484539772</guid>
            <category><![CDATA[compare-php-vs-python]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[python-web-developer]]></category>
            <category><![CDATA[php-vs-python]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Harish Kumar]]></dc:creator>
            <pubDate>Sun, 15 Sep 2019 18:47:39 GMT</pubDate>
            <atom:updated>2019-09-15T18:47:39.974Z</atom:updated>
            <content:encoded><![CDATA[<p>From blogging to CMS to extremely appealing themes and mushrooming plugins, WordPress has become the darling of many quick starters leaving less room for WordPress alternatives but in WordPress SEO plugins are not so good, and people are looking for WordPress alternative in 2019.</p><p>When it comes to Wordpress web development, we say a big NO to our clients. You will figure this out if you hang on and keep reading below. We will approach this debate with PHP vs. Python as well.</p><p>Most importantly, at <a href="https://quantamixsolutions.com/blog/45/django-vs-flask-and-python-based-web-development-in-2019">Quantamix Solutions</a>, we develop professional applications with customization options, in-built scalability, and test-driven release to the production environments. We add value by embedding cutting edge <a href="https://quantamixsolutions.com/blog/40/ai-tools-and-techniques-in-seo-for-affiliate-marketing">AI tools and techniques in SEO for digital marketing</a>. For this to work, we need a robust framework which meets our and our client’s needs, and honestly, the WordPress SEO Plugin is not good, and it doesn’t fit for our needs.</p><p>I am not a WordPress newbie. I have used it in the past and still using it when I want quick sandboxing and prototyping. Now, this time, I am convinced I am not going to use it again for my new project, and I will tell you why you also don’t use WordPress.</p><p>Are you getting lured by quick 5-minute installation, stunning themes, a plethora of great plugins for your mashup, great one-click SEO…and honeymoon with PHP?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xqnGYfWtjzeq8dhS.png" /></figure><h3>Why should you not care about 5-minutes installation?</h3><p>For a professionally well-crafted idea, priority is most important in terms of <a href="https://www.techopedia.com/definition/27809/minimum-viable-product-mvp">Minimum Viable Product</a>. The estimate of costs, timelines, and functional features of the end product are the most critical factors than quick, easy installation.</p><p>If you are not a quick-to-shine hobbyist blogger and if you are looking for a professional web developer, then use of the 5-minute drag and drop installation is not appealing.</p><h3>Crappy extensibility of Themes</h3><p>What you care most about a professional web application is the flexible, and customizable design that fits into your product requirements. For your professional product, you want to have structured and well-synced front-end design components based on established frameworks rather than something which works out of thin air like a mashup of WordPress plugins.</p><h3>Forget a Github-like version control system.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/0*zIBK5Nf6MqXY49C_.png" /></figure><p>A few months ago, a client of a friend asked us to transfer his WordPress site to a new application. We had to go back and forth due to the complicated UI UX design feedback. When we deployed a new site in Python Flask and wanted to go back to his old WordPress site, we could not find a versioning system that we could revert again. We had to depend on the full back of the folder rather than a separated backup of data and code like a popular Github version control system.</p><h3>SEO myth bused for WordPress outdated plugins</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/694/0*enwTEX_7h-ibfS0p.png" /></figure><p>Game of SEO is ever-changing, and now it is no more the same in the year 2012. <a href="https://quantamixsolutions.com/blog/40/ai-tools-and-techniques-in-seo-for-affiliate-marketing">AI tools and techniques in SEO for Digital Marketing</a> are standard, and Google has transformed the way you want to get your website <a href="https://quantamixsolutions.com/blog/43/how-to-get-your-website-on-the-first-page-of-google-search">on the first page of Google</a>. <a href="https://quantamixsolutions.com/blog/44/top-8-local-seo-factors-and-solutions-in-digital-marketing-in-2019">Top SEO factors</a> like Pretty URLs, metadata, alt text, sitemaps, keywords, backlinks, etc. are not taken care of by Google, and you no longer need a plugin like Yoast to do it for you.</p><p>For professional software development, you should be prepared to use advanced <a href="https://quantamixsolutions.com/blog/40/ai-tools-and-techniques-in-seo-for-affiliate-marketing">AI tools and techniques in SEO</a> rather than rely on old and misleading WordPress SEO plugins. Google has gone smart with the use of AI in SEO. At Quantamix Solutions, we are strong proponents for <a href="https://quantamixsolutions.com/blog/40/ai-tools-and-techniques-in-seo-for-affiliate-marketing">AI tools and techniques in SEO for Search Engine Marketing</a>.</p><h3>WordPress Security issues in Plugins</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*8i7o2BYENT6U59eP.jpg" /></figure><p>Wordpress security vulnerabilities are known in the Web Development community. Before we can be confident of sharing such bold views, we at <a href="https://quantamixsolutions.com/blog/45/django-vs-flask-and-python-based-web-development-in-2019">Quantamix Solutions</a> did a sandbox phase for our <a href="https://dailytop.deals/about-us/">DailyTop. Deals</a> projects.</p><p>We were in the middle of SEO optimization strategy and updated <a href="https://wordpress.org/plugins/wordpress-seo/">Yoast SEO WordPress plugin</a> to premium features. Suddenly our Sitemap broke, which leads to Google Search Engine not able to crawl our pages for search engine indexing. Our upgrade introduced some <a href="https://en.wikipedia.org/wiki/Whitespace_character">whitespace</a> in the code which unfortunately we could not trace and correct ourselves due to messy PHP code.</p><p>The problem is that by installing easy 5-minute drag and drop plugins, you are introducing WordPress vulnerabilities and exploits in themes and existing plugins. This WordPress security issue is because you are installing executable codes directly through the WordPress admin interface without any testing of the code in development and user acceptance staging environment. For professional web applications, we advise our clients to work with a reliable web development framework that has in-build security and testing.</p><p>A more detailed guide and debate on PHP vs Python as web development are answered in this blog on <a href="https://quantamixsolutions.com/blog/46/wordpress-alternative-in-2019-python-web-development-vs-php-web-development">Quantamix Solutions</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=31a484539772" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Machine Learning Features Engineering]]></title>
            <link>https://medium.com/@harish77kumar4270/machine-learning-features-engineering-1e1006fc284e?source=rss-8b28ae72c9aa------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e1006fc284e</guid>
            <category><![CDATA[apc]]></category>
            <category><![CDATA[lasso-regression]]></category>
            <category><![CDATA[feature-engineering]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Harish Kumar]]></dc:creator>
            <pubDate>Sat, 06 Apr 2019 12:27:51 GMT</pubDate>
            <atom:updated>2019-04-06T12:31:20.459Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kyw-7AoZdxshdLq_KLNbUQ.png" /><figcaption>Originally published by <a href="https://www.quantamixsolutions.com/">https://www.quantamixsolutions.com</a></figcaption></figure><p>One of the essential tasks in machine learning is feature creation. It is the process of constructing new features from existing data on which a machine learning model is trained. This step is as important as the actual model used as the algorithm only learns from the data we give it, and creating features that are relevant to the task is crucial to gain insight.</p><p>Usually, feature engineering is a tedious manual process- relying on domain knowledge, intuition, and extensive data manipulation. It is time-consuming because each new feature usually requires several steps to build, using information from multiple tables.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/667/0*sCHpQxjefVebUCtC" /></figure><p>We can broadly group the operations of feature creation into two categories:</p><p><strong>Transformations</strong></p><p>A transformation acts on a single table by creating new features out of one or more of the existing columns. Creating a logarithm of annual income table for a monthly salary table would be an example.</p><p><strong>Aggregations</strong></p><p>Aggregations are performed across tables to infer group observations and calculate statistics. An example would be taking the stands of mortgages and loans and calculating statistics on financial liabilities of a particular client. Performing these operations repeatedly on multi-table datasets is inefficient. Thus, automated feature engineering helps the data scientist by automatically creating many candidates features out of a dataset from which the relevant features can be selected and trained for. One good way to do this is to use the<strong> Feature tools Python library</strong>. This open-source Python library will automatically create many features from a set of related tables. It is based on a method known as “<strong>Deep Feature Synthesis (DFS)</strong>.” DFS stacks multiple transformation and aggregation operations (called feature primitives) to create features from data spread across many tables.</p><p>Let us understand that by understanding some fundamental concepts of Feature tools first.</p><p>The two main concepts of Feature tools are<strong> Entities</strong> and <strong>EntitySets</strong>. An entity is merely a table. An EntitySet is a collection of tables and the relationships between them. A minimal input to DFS is a set of entities, a list of relationships, and the “target_entity” to calculate features for. The output of DFS is a feature matrix and the corresponding list of feature definitions. We show it’s working by taking a prototype example on publicly available data and replicating this in our environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*JLUt8Yy66ZBi-OL8.png" /></figure><p><strong>Example:</strong></p><p>In this dataset, there are 3 tables or entities</p><p><strong>users</strong></p><p>unique users with user ID who shares multiple posts. Each has a Zipcode, session count and join date.</p><p><strong>posts</strong></p><p>posts shared by a user, each post has a post ID.</p><p><strong>interaction</strong></p><p>Likes, views, comments on each post shared. Each post has multiple interactions.</p><p>The tables are related (through the user_id and the post_id variables), We can create an empty Entityset in feature tools using the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/554/0*Yv8KWMVXTAm-lJrs.png" /></figure><p>Now we have to add entities. Each entity must have an index, which is a column with all unique elements. The index in the users dataframe is the user_id. The index in the post dataframe is thepost_id. However, for the interactions dataframe, there is no unique index. When we add this entity to the entity set, we need to pass in the parameter make_index = True and specify the name of the index.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/462/0*739eaiDAHLJZw7So.png" /></figure><p>Second, we specify how the entities are related. When two entities have a one-to-many relationship, we call the “one” entity, the “parent entity.” For example, in our dataset, the users dataframe is a parent of the posts dataframe which in turn is the parent of the interactions dataframe. To specify a relationship in Feature tools, we only need to specify the variable that links two tables together. The users and the posts table are linked via the user_id variable and posts and interactions are linked with the post_id.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/484/0*dPBRKhN7Ky5ERLIx.png" /></figure><p>Operations of feature creation are called feature primitives in Feature tools. These primitives can be used by themselves or combined to create features. To make features with specified primitives we use the ft.dfs function (standing for deep feature synthesis). We pass in the entity set, the target_entity, which is the table where we want to add the features, the selected trans_primitives (transformations), and agg_primitives (aggregations). We are interested in the time the user joined and the number of interaction count for example. Feature tools select features automatically by stacking these features.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/555/0*tSGVWjpB91aKlJOK.png" /></figure><p>We now have hundreds of new features to describe a user’s behavior. This was done by combining or stacking multiple primitive features — an example of deep feature synthesis. We can modify the code appropriately for even more second-order features.</p><p><strong>Following steps</strong></p><p>Automated feature engineering has solved the problem of creating features, but created another problem of having too many features- not all of them relevant to a task we want to train our model on. Having too many features can lead to poor model performance because the less useful features overwhelm those that are more important.</p><p>This is known as the curse of dimensionality. As the number of features increases, it becomes exponentially more difficult for a model to learn the mapping between features and targets. This problem is dealt with feature reduction techniques like Principal Component Analysis (PCA), SelectKBest, autoencoders, etc. An often used powerful technique is LASSO (least absolute shrinkage and selection operator) which is a regression analysis method that performs both feature selection and regularization.</p><p>A good data scientist can thus incorporate these two steps — automated feature creation along with feature selection (domain knowledge or feature reduction techniques) to achieve the desired results.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e1006fc284e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Breaking down the Monolith. Considering Serverless!]]></title>
            <link>https://medium.com/@harish77kumar4270/breaking-down-the-monolith-considering-serverless-fb6253729d18?source=rss-8b28ae72c9aa------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb6253729d18</guid>
            <category><![CDATA[cloud-services]]></category>
            <category><![CDATA[serverless]]></category>
            <dc:creator><![CDATA[Harish Kumar]]></dc:creator>
            <pubDate>Sat, 30 Mar 2019 23:35:15 GMT</pubDate>
            <atom:updated>2019-03-30T23:37:30.220Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*OTsYuPsjw9xO9oyIWRr_ow.png" /></figure><p>This short article describes key strategic steps you need to take in your journey to Serverless migration</p><p><strong>What business value you are creating?</strong></p><p>The first question you ask is what is the business value you will create by moving to serverless. Are you looking for an accelerated delivery model for features? Are you annoyed with slow features delivery and losing your market share to competitors? Is your current backlog leave no room for new developments? Is scalability of your current application concerns you? Is your brand reputation is at stake due to unstable environments? Is your finance department crying badly on your server and infrastructure maintenance cost? Do you want to create focus in your development team so that they can focus on business functionality and not get bothered with the infrastructure of several environments one for development, other for testing and the one for UAT and the one for production?</p><p>If your answer to any one of the above questions is yes, you are creating great business value by breaking down your monolith and migrating to serverless. You have in your hands a great business case to convince your stakeholders and set right business objectives against main business goals and KPIs.</p><p>The shared understanding of this business goal is the key pre-requisite for your serverless migration strategy.</p><p><strong>Start with low hanging fruits</strong></p><p>The first step is to identify low-risk and non-critical features of your application or data processing or your business workflow. You can start first migrating these to avoid expensive failures and minimize business risk. A big migration step will be fatal as it might be risky and very difficult to find the bug. Get support from your team and management to keep them on your side to manage and avoid the big-bang change.</p><p><strong>Accelerated Prototyping with an active feedback loop</strong></p><p>Start building accelerated prototypes, test, learn and validate your choices, assumptions, and mistakes. These are perfect learning opportunities to understand the behavior of your applications. With this in mind, you learn fast but at least cost. The journey to production deployment becomes easy when you learn and repeat until you are fully convinced of the next steps. The main business values you focus during this <strong><em>phase</em></strong> is on scalability, parallelism, resilience, and cost.</p><p><strong>Search out-of-the-box excellence and follow Serverless continuous delivery</strong></p><p>Let the heavy lifting for the deployment, release, tests and other environment overheads be done by serverless. The Serverless framework is the most popular and takes care of most of the heavy lifting for you. It supports many cloud providers and gives you many choices out of the box. It’s a very extensible framework with powerful plugin systems developed by the serverless community. Your CD pipeline model should consider controlled code versions. Builds should be reproducible. Dependencies, including transient dependencies, should be locked down to exact versions. If minor/patch version updates can creep in between 2 builds, then the build is not reproducible!</p><p><strong>Automate the Testing</strong></p><p>Testing paradigm takes a new shift in the serverless era. There is a great amount of diversification in the code complexity as now it is in the configuration and security of your functions and how they interact with external dependencies. These are the things that are most likely to break your application now. Unit tests should no longer be the workhorse of your testing strategy. They have a lower return on investment (ROI) than ever before. Instead, we should focus on integration and acceptance tests.</p><p>Integration tests should exercise our functions locally and talk to the real downstream systems. Acceptance tests should exercise the system end-to-end without calling into its internal code. That means, if you’re testing an API then the tests should talk to the system via its HTTP interface.</p><p><strong>Build observability into the system</strong></p><p>Ship your logs to a log aggregation service where they can be easily searched. Use structured logging with JSON. Complement log messages with contextual data that are useful for debugging and finding related logs. For example, include the order ID as an attribute in every log message related to an order.</p><p>Disable debug logging in production. Instead, sample debugs logs for, say, one out of every thousand function invocations. Log an error message with the invocation event as an attribute for failed invocations. This lets you capture and replay failed invocations.</p><p><strong>Record custom, application-level metrics.</strong></p><p>Create dashboards and alarms for key performance indicators. Connect alarms to an alerting &amp; incident management system such as OpsGenie or PagerDuty.</p><p>Capture and forward correlation IDs through both synchronous and asynchronous event sources, and include the captured correlation IDs in every log message. This way, you can find all logs related a user action even when the action spans over multiple functions. You need this for debugging complex interactions inside a serverless application.</p><p>Also, sample debugs logs for the entire call chain. Make the sampling decision at the edge, and pass the decision along as correlation ID. The receiving function would respect this decision and enable debug logging for the invocation as well. Capture performance traces for your function invocations. For example, by using Amazon X-Ray with Lambda.</p><p><strong>Don’t be shy to talk about security</strong></p><p>Follow the principle of least privilege. Each function should have only the permissions it needs, nothing more, nothing less. Apply account level isolation. Each environment should have a separate account, so as to contain a security breach. Use git commit hooks to stop account credentials from leaking. Sensitive data such as API keys and credentials should never be checked into source control in plain text. Use automated services such as Snyk to continuously scan dependencies for known vulnerabilities.</p><p>Sanitize and validate user input as well as a function output. Sanitizing function output stops unintended data from leaks. If multiple functions are chained together then it also prevents problems from being passed down the chain.</p><p>If you know a function is no longer used, delete it. Even if they’re not used they will continue to exist as an attack surface. Unused functions are also more likely to become vulnerable over time due to lack of patching.</p><p><strong>Continuous learning</strong></p><p>You’re in production, congratulations! But don’t stop there. Keep experimenting, learn and iterate on your designs. Share your learnings with other teams and with the broader developer community. Help establish a virtuous circle of learning and improvement for everyone.</p><p><strong>Standardize</strong></p><p>Identify common patterns and cross-cutting concerns. Look for ways to standardize how you deal with these concerns. Using middleware engines such as middy is a good way for you to standardize how you do things. For example, how you handle errors, or how to capture and forward correlation IDs.</p><p>Start building a platform to provide features all your teams would want to use.</p><p><strong>Automate everything possible</strong></p><p>Use the power of serverless to automate ops and security monitoring. For example, you can adopt ChatOps using AWS Lambda with Slack integration. You can use CloudTrail, CloudWatch Events and Lambda to alert on suspicious activities. For example, console logins at weird times of the day or from locations where you have no employee. Or alert on EC2 activities in remote regions that you’re not using.</p><p>Depending on your starting point, you might face very different challenges during migration.</p><p>A serverless architecture is almost always a microservices architecture too. It means people migrating from a monolithic system would have to migrate to a new execution environment as well as a new style of architecture.</p><p>References: <a href="https://blog.binaris.com/how-to-go-all-in-with-serverless-adoption/">https://blog.binaris.com/how-to-go-all-in-with-serverless-adoption/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb6253729d18" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Social Score]]></title>
            <link>https://medium.com/@harish77kumar4270/social-score-cf765e0893a6?source=rss-8b28ae72c9aa------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf765e0893a6</guid>
            <category><![CDATA[quantamixsolutions]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[fintech]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[social-media]]></category>
            <dc:creator><![CDATA[Harish Kumar]]></dc:creator>
            <pubDate>Wed, 27 Mar 2019 22:21:05 GMT</pubDate>
            <atom:updated>2019-03-27T22:21:05.602Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n_ossuzMkKv_oxqzSR63Yw.jpeg" /><figcaption>Social Score: originally appeared on Quantamix Solutions</figcaption></figure><p>Have you ever imagined how you will be perceived based on your interactions and behaviors on digital media? And what are the advantages and disadvantages of the perceptions and behaviors of others towards you?</p><p>In today’s networked environment, social ranking systems are getting popular and applied for various situations at various levels of society. “Both the private and public sectors are utilizing social ranking systems as a mechanism to engineer human behavior, creating a form of digitally induced social control”.</p><p>This article will address the widespread usage of social ranking systems in our society and discuss the potential psychological and behavioral consequences.</p><p>“Although the benefits and attractiveness of review systems are widely cited in business, they raise some big questions.”</p><p><strong>How does the traditional scoring system work?</strong></p><p>Lending institutions including banks have identified the benefit of using transactional data and credit histories and other data on income, age, sex, family situation etc to forecast default behavior combined with other economic data like GDP, unemployment rate, housing price index amongst others. Furthermore, sometimes banks also use private information about one’s social network to assess and monitor the risk of default on loans they provide. It seems that the people you associate with are a key indicator of your own behavior.</p><p>Modern social ranking systems still use similar demographic and behavioral data. However, with the advent of the internet and online social networks, it’s now possible to use various data sources like social media, e-commerce platforms, entertainment streaming sites, online reviews and in some cases Uber and Spotify. The data is then processed through sophisticated machine learning techniques to determine one’s position within a social system. This provides new ways of utilizing social ranking mechanisms in the online space, far beyond the realm of loan loss provision norms presented by accounting norms like IFRS9.</p><p><strong>Customer reviews</strong></p><p>Social score -Social media sites, mobile apps, hospitality providers, travel organizations, and other types of businesses readily use social ranking systems to help categorize products, services, and experiences.</p><p>AIRBNB uses guest reviews and scores to recommend improvements in property, inside and outside services which influence host to take certain actions to improve the likelihood of more bookings. Similarly, TripAdvisor and Booking.com allow customers to provide a review of the service they experienced. And these user-generated reviews act as a form of social-validation and authority.</p><p>Reviews not only affect the likeability and demand of service but also impose a level of control over how service providers and customers should interact with each other, based on expected behaviors governing the system.</p><p><strong>Influencer marketing</strong></p><p>The present young generation is fully integrated with social media. The number of online followers equates to online influence, reflecting one’s reach, impression, and influence.</p><p>Many consumer brands, hospitality providers, and media channels have recognized the power that “influencers” (someone with over 20,000 followers) have on specific target groups (e.g. #fashion, #travel, #food). Influencer-based marketing has a viral and deep impact than commercial traditional marketing.</p><p>With a little financial investment and clever targeting, you can generate high brand awareness quickly and organically, something that aligns well with a search engine and social media algorithms.</p><p><strong>Social credit score — reciprocal</strong></p><p>More recently, we are seeing the application of dual-review ranking systems (DRRS).</p><p>In a growing number of mobile applications, we are seeing DRRS being used. Uber’s dual-ranking system allows not only for the passenger to rate the service, quality, and behavior of the driver but also for the driver to rate the passenger.</p><p>The purpose of DRRS is to ensure that both parties behave with themselves in a mutually acceptable manner. This allows for certain behaviors to be flagged as an above or below average score. The benefit is that it gives the service provider an immediate power to take certain actions that improve service quality.</p><p><strong>Social score — influencer</strong></p><p>Other than banks and lending companies, other brands, governments, and public agencies have also shown a deep interest in the application of online social ranking systems. The purpose of a social score is to socially engineer acceptable behaviors, promote responsible and accountable public behavior and code of conduct, and control a society based on the norms and values.</p><p>China currently has a plan to launch a working social score system by 2020, in order to rate more than 1 billion citizens and assess their trustworthiness. According to various media outlets, this social score system evaluates citizen trustworthiness based on a complex combination of personal data, like demographics, online and offline behaviors, and social networks.</p><p>This means that if someone forgets to pay a fine, says something unacceptable online, buys a certain product, cheats on a state exam, leaves a bad review, or just mingles with the wrong type, it could negatively affect their social credit score and limit their access to specific public resources (e.g. travel, financial loans, housing, and education).</p><p>The Chinese government has been rolling out its online system for the past several years, collaborating with local tech giants and experimenting with different variations of its credit system to test its efficacy as a social control mechanism. Recently, the media has reported that China’s social ranking system is already having an effect on society and that people living in China appreciate the implemented ranking system as they are noticing positive changes in public behavior.</p><p>“The purpose of a social score system is to socially engineer acceptable behaviors.”</p><p><strong>Credits for inputs from Author</strong>: <a href="https://www.hult.edu/blog/author/ali-fenwick/"><strong>Ali Fenwick</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf765e0893a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>