<?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 Abhishek Upadhyay on Medium]]></title>
        <description><![CDATA[Stories by Abhishek Upadhyay on Medium]]></description>
        <link>https://medium.com/@shek.up?source=rss-61a43f18532a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Z2vgEBoOc0Bfmccn.</url>
            <title>Stories by Abhishek Upadhyay on Medium</title>
            <link>https://medium.com/@shek.up?source=rss-61a43f18532a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 21:00:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shek.up/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[Domain driven design for Banking application]]></title>
            <link>https://medium.com/@shek.up/domain-driven-design-for-banking-application-d6279ecdaf2?source=rss-61a43f18532a------2</link>
            <guid isPermaLink="false">https://medium.com/p/d6279ecdaf2</guid>
            <category><![CDATA[banking-technology]]></category>
            <category><![CDATA[application-architecture]]></category>
            <category><![CDATA[business-capabilities]]></category>
            <category><![CDATA[domain-driven-design]]></category>
            <category><![CDATA[architecture-and-design]]></category>
            <dc:creator><![CDATA[Abhishek Upadhyay]]></dc:creator>
            <pubDate>Sat, 18 Jul 2020 00:46:24 GMT</pubDate>
            <atom:updated>2020-07-18T00:46:24.615Z</atom:updated>
            <content:encoded><![CDATA[<p>Domain in the <a href="https://en.wikipedia.org/wiki/Domain-driven_design">domain driven design</a> is an overloaded term. Sometimes it is used for the entire organization, sometimes used for a department and sometimes for an application. <a href="https://www.infoq.com/domain-driven-design/">InfoQ</a> has two guides that tell lot about DDD. The <a href="https://www.amazon.com/Domain-Driven-Design-Tackling-Complexity-Software/dp/0321125215">book by Eric Evans</a> is a must-read but its huge, I recommend the <a href="https://www.amazon.com/Implementing-Domain-Driven-Design-Vaughn-Vernon/dp/0321834577">book by Vaughn</a>.</p><p>Here I am taking an example of a banking application that forms the core of the Bank. The core domain is the one that generates value, ROI, and it is what differentiates the organization from others. If it is not complex, then it can be easily copied. <a href="https://medium.com/nick-tune-tech-strategy-blog/core-domain-patterns-941f89446af5">Context distillation by Nick Tune</a>, says if the domain is extremely complex and offers maximum business differentiation potential, this is a decisive capability.</p><p>The banking application in itself will have sub-domains and they can be core, supporting, or generic domains. Indeed, domain driven analysis is done at multiple levels. This is the problem space in which we identify the sub-domains that exist or are needed, we relate the sub-domains that are necessary to solve the problem, and deliver the new core domain. Distill the domain knowledge and mark them as core, supporting, or generic sub-domains. For example, I have done below for a hypothetical bank:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9dfgMeae7Ii3SV5WZoO70Q.png" /></figure><p>Not all sub-domains needs to be solved in the first release. The MVP will include the parts of the core and necessary generic and support sub-domains.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dCHGt2gvBcVrzaB_v1tL_A.png" /></figure><p>The domain is the problem space and the solution space is bounded context, in which in an ideal design one bounded context will map to one sub-domain. A bounded context is a conceptual boundary in which a domain (or sub-domain) model is applicable. For example, an ‘Account management’ module/micro-service/software will constitute the ‘Accounts’ domain. Once developed Account management will become the <a href="https://www.leanix.net/en/business-capability">business capability</a> that will expose some business functions such as create/read/update/delete account. Before drawing the bounded context’s (called context map), I create a business capability map that business architecture. Business architecture is next step to domain analysis we did in previously. Business architecture helps map domain analysis (problems) to bounded context (solution). I found a mind map best tool for doing this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SL8-uKbD7YoA8VMl8bPkwQ.png" /></figure><p>Spend time on drawing the mind map. Once ready, I would draw (not necessarily) Business architecture — Business capability diagram and this diagram is real good and gives the best view of the system, when ready. Below is just glimpse:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q46v82gTIwu6sXbAhQQJlA.png" /></figure><p>By this time we have bounded contexts, its time to distil the individual bounded context into entities, value objects, aggregates, and service. A bounded context can be just a module within monolith or a microservice. An individual module in itself will have layers and I recommend below layering:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fd9qyhd-9jcL5eqMg0dSxA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6279ecdaf2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building data pipeline with Spring boot batch]]></title>
            <link>https://medium.com/@shek.up/building-data-pipeline-with-spring-boot-batch-9736cf18ed7e?source=rss-61a43f18532a------2</link>
            <guid isPermaLink="false">https://medium.com/p/9736cf18ed7e</guid>
            <category><![CDATA[java]]></category>
            <category><![CDATA[data-governance]]></category>
            <category><![CDATA[spring-boot]]></category>
            <category><![CDATA[data-pipeline]]></category>
            <category><![CDATA[twilio]]></category>
            <dc:creator><![CDATA[Abhishek Upadhyay]]></dc:creator>
            <pubDate>Fri, 08 Jun 2018 07:35:17 GMT</pubDate>
            <atom:updated>2018-06-08T07:35:17.079Z</atom:updated>
            <content:encoded><![CDATA[<p>Talking lot about data governance, when actually faced an implementation challenge to build a data pipeline, I investigated several tools and options in context of my Java background. In the end, spring-boot-batch seems perfect choice. A simple application is sufficient for most of my data requirements and I am build a small data governance framework.</p><p>Requirements:</p><ol><li>Fetch data from a monolith application database and implement a Extract Transform Load job in a separate DB</li><li>Fetch bulk logs from Twilio, that is, call and sms logs from twilio regularly and store in raw format</li><li>Generate periodic statistics and expose statistics as REST APIs</li></ol><p>One spring boot batch application is sufficient to do all of the above and more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HZfv8Vv_EDYjJSsqOfI33g.png" /></figure><p>In one spring-boot-batch application, one can configure multiple data sources.</p><p>Lot of online help is available for creating the first spring-boot app but getting started guides on <a href="https://spring.io/guides/gs/batch-processing/">spring</a> are best source. After successfully running the first app, I recommend this <a href="https://octoperf.com/blog/2018/02/22/spring-boot-rest-tutorial/">tutorial</a>.</p><p>I am using a MySQL DB as database for storing the transformed data but NoSQL database is better option. Configuring multiple data sources in spring-boot-batch might be challenge and below is how i configure two datasources in application.properties — also note the pooling settings and below settings worked perfectly fine</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/674/1*HQuIAkwSYmOyzT4e5rEWDA.png" /></figure><p>properties file has details of all datasources and configuring these data sources in java file with Configuration annotation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/531/1*P50AVQ-d3UH5LGFlXrU4Ug.png" /></figure><p>The data source marked with Primary will be used by Spring framework to create meta tables. I fetch data from one data source and populate the data in another data source. My ItemReader has different data source and ItenWriter has different data source.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/1*iU31hb29p316cEDMc-ZdOA.png" /></figure><p>Code for fetching the Twilio call logs (for last 5 minutes) and uploading it in AWS S3 bucket:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/870/1*MmsG6EqtUZSO22zpDWoKOw.png" /></figure><p>Multiple jobs I have configured and schedule is in properties file. It is cron schedule and syntax for running a job everyday at 23:00 is “0 0 23 * * *”; note “* 0 23 * * *” will run job every second for 1 minute at 23:00; to run job every 5 minutes “0 */5 * * * *”</p><p>Lastly one more thing I did is exposed some data as REST API’s. To retrieve the data from database, we write Repository interfaces and by default these interfaces will fetch data from the Primary database.</p><p>spring-boot-batch has lot of configurations and nice framework for a java developer to implement data pipeline.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9736cf18ed7e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why my Digital Transformation projects failed]]></title>
            <link>https://medium.com/@shek.up/why-digital-transformation-fails-be37dd72e56d?source=rss-61a43f18532a------2</link>
            <guid isPermaLink="false">https://medium.com/p/be37dd72e56d</guid>
            <category><![CDATA[complexity]]></category>
            <category><![CDATA[digital-strategy]]></category>
            <category><![CDATA[cynefin-framework]]></category>
            <category><![CDATA[culture-change]]></category>
            <category><![CDATA[digital-transformation]]></category>
            <dc:creator><![CDATA[Abhishek Upadhyay]]></dc:creator>
            <pubDate>Thu, 31 May 2018 02:23:07 GMT</pubDate>
            <atom:updated>2018-05-31T15:54:51.337Z</atom:updated>
            <content:encoded><![CDATA[<p>Being part of three failed digital transformation projects, I can share at least three reasons why a digital transformation project might fail. My first project was a year long project to transform the customer on-boarding and it failed probably because scope was very limited: limited number of resources, change just one functionality, and management had limited power. The second project digital transformation of a wealth management company and it failed because focus was on building an online digital platform instead of transforming the entire operations. The third project was to transform the complete organization (everything — structure, IT, people, and so on) and it failed because scope was probably too big and employees resisted to such big change.</p><p>From my past experience I learned how the complexity of digital transformation is in context. At the heart of digital transformation is exploration that moves the context from known domain to complex domain in <a href="http://cognitive-edge.com/">cynefin</a> framework. The lack of understanding of complex adaptive system behavior, modelling and visualization tools, and people were the three top reasons for failure of those digital transformation projects. The network within organisation and networks of which organisations are part of makes things more complex and power law distribution and its origin, clusters within network, homophily of network, hubs, and brokers tell how resistant network is towards change. Organisations have dynamic hierarchies and structures. Every organisation is unique and are much like “bramble bushes in a thicket” and the nature of their many interacting and co-evolving identities is deeply contextual (Kurtz &amp; Snowden, Bramble bushes in a thicket: Narrative and the intangibles of learning networks, 2006). Organisations can’t copy the success of others and in similar can’t copy the transformation done in others. Uniqueness tells that there will be only one Tesla and only one Toyota in world. Organisations will have to focus on the context more before copying success of others.</p><p>Though most of us know this, but its worth keep on reminding us: Digital transformation is about understating the current system, running assets better, creating and capturing more value, optimizing operations, and so on. If traditional automobile company decides to make electric cars they will have to change their operations, value system, people, and technology. Digital transformation involves people and processes along with technological change. Technology is forever evolving. What’s Innovation today is legacy tomorrow (Gruman, 2016). Adopting new IT systems is not going to transform business unless culture of organisation changes. A new mobile app can send loan request quicker to Bank but if it still takes 3 weeks to process the loan then no value is created. Technology (mobile app) can’t change the internal culture (people, processes, and interactions) of organisation. No real benefit will be achieved unless culture changes. (Yoshida, 2017). Digital transformation deals with contextual complexity of industry, organisation, processes, and people.</p><p>Therefore, “going online does not make a shopping mall and internet company instead what made Amazon and Alibaba internet company was they did A/B testing, they transformed operations, they gave powers in hands of product owners and engineers, and so on” — <a href="https://www.youtube.com/watch?v=NKpuX_yzdYs">Andrew Ng</a>. Now I realize why my second project failed because just going online was not transformation.</p><p>Why Digital transformation is complex?</p><p>Based on the features of complex system (Cilliers, 1998), a digital transformation is complex because: It has large number of elements (employees, stakeholders, resources, technologies, and environment); Elements interact dynamically and the interactions are rich and non-linear; Transformation is open for innovations and it is an experimentation; It is dynamic with changing technologies, resources, and industry shifts. It is far from equilibrium; Digital transformation is based on organisations current and past: IT, Value system, operations, and business model; and Digital transformation is driven from top leadership and agents (employees) at low level are typically ignorant of the complete context or whole system.</p><p>Few things that I didn’t know (bullet points) before getting involved into the projects: Success is not known and it cannot be measured; it is unique for each organisation; it is cultural change; it is complex; and it is adaptive.</p><p>A solution (inspired by cynefin framework) I can think of is: patterns emerge as transformation on goes and as agents (people, process, and systems) interact; therefore, observe these patterns (probe-sense-respond). Form agile teams, transform operations, promote innovations, and keep an eye on industry.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L9A_o1M5xWRBfIoYyBWldQ.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be37dd72e56d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deep data and trust]]></title>
            <link>https://medium.com/@shek.up/deep-data-and-trust-45b11208b915?source=rss-61a43f18532a------2</link>
            <guid isPermaLink="false">https://medium.com/p/45b11208b915</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[gdpr]]></category>
            <category><![CDATA[personal-data]]></category>
            <category><![CDATA[trust]]></category>
            <category><![CDATA[privacy]]></category>
            <dc:creator><![CDATA[Abhishek Upadhyay]]></dc:creator>
            <pubDate>Fri, 18 May 2018 03:41:10 GMT</pubDate>
            <atom:updated>2018-05-19T00:12:57.173Z</atom:updated>
            <content:encoded><![CDATA[<p>Many companies have strategy to solve big data problem now: sophisticated tools to capture all the data no matter their source and format. When the data is collected from mass, then it generates a pattern that leads to powerful decision making. Many organizations also felt need to not only think big instead think deep too. Deeply analyze the data from one source before pouring all data in one place. That one source can be an individual.</p><p>For an individual deep data makes more sense than big data. If an individual wants to analyse his or her own data, then its deep data. A smart phone is the source of deep data. Companies such as Facebook and Google do similar analysis but generalizing an individual or network or group of individuals for targeted advertising. As an individual, I would be very much interested in viewing the dashboard that presents rich picture of myself backed by deep data of mine.</p><p>The shift of thinking from Big Data towards Deep Data is similar to shift from Science 1.0 to Science 2.0. Rather than looking into stars look within yourself. Indeed most of the big data sources are build over deep data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yR3VOB1sXjSs4kZp9dfsnA.png" /></figure><p>“Deep data is used to make people and communities see themselves. Deep data functions like a mirror: it makes you see yourself — both as an individual and as a community.” — Otto Scharmer, MIT</p><p>Lot of research has already been done on analyzing the individual’s data and predicting the individual’s behavior. It is also referred roughly as social analytics. I got involved into it after doing an <a href="https://www.getsmarter.com/courses/us/mit-sap-big-data-and-social-analytics-online-short-course">online course</a>. And was thinking of building something like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cizdePDdt3mjnl2zwvtntg.png" /></figure><p>Important point is once individual’s take full control of his or her own data then individual can <a href="https://www.youtube.com/watch?v=JIo-V0beaBw">dis-intermediate Google or Facebook</a>, and monetize the data by directly selling his or her preferences and predictions to hotels and restaurants.</p><p>Individuals understand <a href="https://docs.google.com/spreadsheets/d/1nQFh7pJAxrZvieEffJZA17CnnQQN5H1dJdc-XMh6MVk/edit#gid=0">personal data</a>, <a href="https://en.wikipedia.org/wiki/General_Data_Protection_Regulation">GDPR</a>, takes control of data, shares data in secure way, and protects himself or herself from social engineering. GDPR gives more control in the hands of individuals regarding personal data. But may be many will not understand consent receipts and how to manage them. <a href="https://www.slideshare.net/MicheleNati/consent-receipt-the-future-of-personal-data-michele-nati-lead-technologist-personal-data-and-trust">Consent receipt</a> is best way to know who all knows/owns an individual’s personal data but it will be good if I can visualize it through a dashboard</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X3DVu7pN-uCJEgfVeZVFTw.png" /></figure><p>Once individual owns the his or her deep data including personal data and how it is distributed, they should have a mechanism to share the data in secure way, using a platform build over (secure) multi party computation and blockchain such as <a href="https://enigma.co/">enigma</a>. Multiple parties can participate in computation without revealing their data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*87ClegH0sZDmQEbFO2_h1Q.png" /></figure><p>Individuals can secure themselves (their data) by controlling their identities, more details on future of identities are in book “<a href="https://www.amazon.co.uk/dp/B01N493HLW/ref=dp-kindle-redirect?_encoding=UTF8&amp;btkr=1">Trust::Data: A New Framework for Identity and Data Sharing</a>”.</p><p>One idea is every individual has core id, that is build by trusted parties such as government, bank, and so on. Core Id identifies an individual. Individuals should create personas and each persona has persona id. Personas such as Social persona, finance persona, work persona, and so on. Keep your persona data &amp; id independent such as keep independent email’s for social media, financial transactions, work, and personal. Based on persona create profiles (long live) or transactions (short lived). For example, individual will create a social persona and then create profiles for facebook, twitter, and so on from social persona</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OPs8WLvX4MxjRtngqE4CbA.png" /></figure><p>In my experience by creating personas one can protect himself or herself from cyber hacks. Since a hacker can probably hack a persona but cannot hack complete data. And individual is creating layers, separating data based on use, and never revealing core data. I have created a finance persona and created two profiles in two banks. I have savings account in two banks: 1 and 2. I always one bank 1 account for savings and never use its ATM (Debit) card and I use bank 2 account for daily transactions using its ATM. I transfer only limited amount of money from Bank 1 to Bank 2; so that if my ATM card is hacked then hacker can withdraw only limited amount.</p><p>Lot more concepts are involved and many great minds are working in finding a balance between data sharing and privacy. This was just an introduction of things in my mind and my drawings</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=45b11208b915" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>