<?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 Yury Chetyrko on Medium]]></title>
        <description><![CDATA[Stories by Yury Chetyrko on Medium]]></description>
        <link>https://medium.com/@ychetyrko?source=rss-59b108eb4c7a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*bj4yTirvyyrfs_MjUdDaiw.jpeg</url>
            <title>Stories by Yury Chetyrko on Medium</title>
            <link>https://medium.com/@ychetyrko?source=rss-59b108eb4c7a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 09:55:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ychetyrko/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[Patented Nevod technology for text search is now open source and available on GitHub]]></title>
            <link>https://ychetyrko.medium.com/patented-nevod-technology-for-text-search-is-now-open-source-and-available-on-github-7be892ead0fe?source=rss-59b108eb4c7a------2</link>
            <guid isPermaLink="false">https://medium.com/p/7be892ead0fe</guid>
            <category><![CDATA[text-mining]]></category>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[analytics]]></category>
            <dc:creator><![CDATA[Yury Chetyrko]]></dc:creator>
            <pubDate>Wed, 02 Jun 2021 00:00:00 GMT</pubDate>
            <atom:updated>2021-06-05T22:47:43.246Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*80NeMbfmrlBGM-uA.png" /></figure><p>How often does a newly patented technology become free and open-source? Not often, right? Well, here is the case. We’ve made our <strong>Nevod</strong> technology free and open-source. It’s hosted on GitHub: <a href="https://github.com/nezaboodka/nevod">https://github.com/nezaboodka/nevod</a>.</p><h3>What is Nevod?</h3><p>Nevod is a language and technology for <strong>pattern-based text search</strong>. It is specially aimed to rapidly reveal entities and their relationships in texts written in the natural language.</p><p>You can try Nevod yourself on the official <a href="https://nevod.io/#/playground"><strong>Nevod Web site</strong></a>. There is a language tutorial and a language reference at your disposal.</p><p>The <strong>Nevod Web site</strong> is also an open-source project, hosted on GitLab: <a href="https://gitlab.com/nezaboodka/nevod.web.public">https://gitlab.com/nezaboodka/nevod.web.public</a></p><h3>License</h3><p>The Nevod project, as well as the Nevod Web site, are licensed under <a href="https://www.apache.org/licenses/LICENSE-2.0.txt">Apache 2.0 License</a>, which includes the patent license. Cool, isn’t it?</p><p><em>Originally published at </em><a href="https://blog.nezaboodka.com/post/2021/598-nevod-is-now-open-source"><em>https://blog.nezaboodka.com</em></a><em> on June 2, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7be892ead0fe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Family-Like Culture Makes Company Difficult to Grow]]></title>
            <link>https://medium.com/swlh/family-like-culture-makes-company-difficult-to-grow-ef3280d59c76?source=rss-59b108eb4c7a------2</link>
            <guid isPermaLink="false">https://medium.com/p/ef3280d59c76</guid>
            <category><![CDATA[human-resources]]></category>
            <category><![CDATA[hr]]></category>
            <category><![CDATA[hiring]]></category>
            <dc:creator><![CDATA[Yury Chetyrko]]></dc:creator>
            <pubDate>Tue, 13 Aug 2019 17:37:48 GMT</pubDate>
            <atom:updated>2019-08-15T10:10:31.457Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AX45ewkveIctzo6CVAnQbQ.jpeg" /><figcaption>Company is a Tribe. Not a Family.</figcaption></figure><p>A lot of leaders claim that their companies have family-like cultures, meaning that company cares about their employees like family members.</p><p>In practice, it usually means that company spends some money on cozy work space, manifold food and beverages, medical coverage, sport reimbursements, personal gifts, and other perks. It also usually means certain level of informality in relationships between employees making the relationships more humane (in the opinion of advocates of family-like cultures).</p><p>However, <strong>family-like culture</strong> has long-running negative consequences for a company, because makes it <strong>difficult to grow</strong>. It’s mostly because of wrong people expectations and unrealistic view on what company truly is. In reality, people expectations from a family and from a company are highly different, while company and family expectations from their members are also two different things.</p><h3>Family is all about love. Company is all about mission and interests.</h3><p>Family is all about <strong>selfless love</strong> of its members — true family member spends time and money on other members in a selfless way, without expectation to get something in return. Family is broken if selfless love is gone.</p><p>Company is all about <strong>mutual interests in a joint mission</strong>. The more people believe in company mission, the more competitive company is. The more employees of a company have their mutual interests aligned, the more stable company is. Company is broken if mission is lost or if interests become misaligned.</p><p>Company has to hire those people who believe in its mission and who have personal interests in it. And company has to fire those who hinder it from accomplishing the mission. In turn, people may quickly join a company with a great mission and may quickly leave it if company interests are no longer aligned with their own interests. But family cannot hire and fire family members (regardless a reason), and a family member cannot leave and join arbitrary families.</p><p>Ask yourself. Does company pay salary without expectation to get something in return? Does employee work for company without expectation to be paid in full and strictly on time? Do anybody expect that company is once and for all? Do family members need mission and belief to stay together?</p><h3>Recognized leader is the necessity for a company, but not for a family.</h3><p>Family members don’t need mission to stay together, but mission is vital for a company.</p><p>Mission is not something that is born in a group of people, such as committees, teams, polls, etc. Mission is <strong>formed</strong> by a leader. Then mission is consistently <strong>communicated</strong> by leader to other people. And mission is <strong>persisted</strong> by leader. No leader = no mission = no company.</p><p>But just having a mission is not enough. Mission must be accomplished, even if it is a mission impossible :). And there are millions of opinions on how to accomplish a given mission. If a leader is truly recognized, then company employees easily follow a way chosen by the leader, at their free will, even if the way seems wrong. And leader must be strong enough to <strong>impose</strong> particular way of accomplishing a mission and to take personal <strong>responsibility</strong> on it.</p><p>Stating that a company has a family-like culture means sending signals to all the employees that recognized leader is not needed, that no one care about persisting a mission, and that a way of accomplishing a mission may change every day.</p><h3>Company is where we make money. Family is where we spend it.</h3><p>People <strong>make money</strong> at work in companies, and then <strong>spend money</strong> for their families.</p><p>If a family member needs expensive and long-term hospitalization, then other family members usually spend all their time and all their money to support sick member. But if an employee needs expensive hospitalization, it is unlikely that company and its employees will spend their last money to help sick employee. This is because a company is a place to make money, not to spend it. And a family is a place to spend money, not to make it.</p><p>Ask yourself. When a company claims family-like culture, does it mean that company expects employees to spend their personal time and their own money on company needs, or to support company with their own money to prevent bankruptcy? Should an employee expect company to spend the last money and potentially to become a bankrupt if the employee needs expensive and long-term hospitalization?</p><h3>Company tenses people up. Family is a place for relaxation.</h3><p>People tense up at work and then relax at home with families.</p><p>When company claims family-like culture, it sends a confusing signal to employees that the requirements are not so strong to discipline, professionalism, etc. But once at least one employee treats such messaging as a permission to, let say, watch favorite TV series at work, a leader may have hard choice — either to set strict limits or to allow such behavior for everyone.</p><p>Family-like culture may quickly become an excuse for being unorganized, irresponsible, unprofessional, etc. And the worst thing is that it is “infectious”.</p><p>It must be clear for everyone that people come to work in order to work, not to relax.</p><h3>Company is a tribe, not a family</h3><p>In fact, company behavior is more close to a <strong>tribe</strong>:</p><ul><li>Tribe is a group of 20–2000 people</li><li>People with mutual interests are united around a leader to accomplish a mission</li><li>Leader forms and imposes particular way of accomplishing a mission</li><li>Alternative leaders leave to form their own tribes</li><li>People join tribe when they believe in a mission</li><li>Each tribe member has its own interests that may prevail on tribe interests</li><li>Member can leave tribe if interests are no longer aligned</li><li>Tribe stays strong while mutual interests of the most members are aligned</li><li>Strong members leave weak tribes, strong tribes expel weak members</li></ul><p>Tribe is capable to grow to at least 1000 members, while family isn’t. Thus introduction of family-like elements into a company makes it difficult to grow.</p><p>Do you agree?</p><p><em>Originally published at </em><a href="https://www.linkedin.com/pulse/family-like-culture-makes-company-difficult-grow-yury-chetyrko/"><em>https://www.linkedin.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef3280d59c76" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/family-like-culture-makes-company-difficult-to-grow-ef3280d59c76">Family-Like Culture Makes Company Difficult to Grow</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Single Biggest Problem in Big Data Analytics]]></title>
            <link>https://medium.com/hackernoon/the-single-biggest-problem-in-big-data-analytics-d93e6f1f39a9?source=rss-59b108eb4c7a------2</link>
            <guid isPermaLink="false">https://medium.com/p/d93e6f1f39a9</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[big-data-analytics]]></category>
            <dc:creator><![CDATA[Yury Chetyrko]]></dc:creator>
            <pubDate>Wed, 12 Jun 2019 00:00:00 GMT</pubDate>
            <atom:updated>2019-06-12T12:41:21.838Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o52--l3YY2-wx__54pdrew.jpeg" /></figure><p>The single biggest problem in Big Data Analytics is neither data volume, nor data velocity, nor data variety, nor complexity of data analytics tools, but the need for strong <strong>programming skills</strong> combined with deep <strong>domain knowledge</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*k0w62hZC2cuXj9M-.jpg" /></figure><p>Strong <strong>programming skills</strong> are needed to perform <strong>Big Data</strong> processing in a distributed environment with multiple networked servers. Such skills are needed even for basic exploration tasks like data browsing, filtering, sorting, aggregating, computing simple formulas, etc.</p><p>Deep <strong>domain knowledge</strong> is needed to understand what data may contain <strong>Big Value</strong> and what formulas are applicable to extract valuable insights. Such skills become even more important when initially it’s not clear how insights may look like and what are the extraction formulas. It’s called Data Science and requires quick ad-hoc experiments on large amounts of data.</p><p>Before Big Data era, people with deep domain knowledge simply used spreadsheet applications like Excel for the purposes of data analysis, data science, etc.</p><p>Nowadays, data has become Big Data, however Excel is not capable of handling millions and billions of records. So, the people with deep domain knowledge hire other people with programming skills to work together on data analytics. Cross-functional team quickly turns data analytics into unpredictable activity with a lot of planning, communication, and tasks. The process is usually full of fun and is called “agile”, but it takes so much time and money. As a result, <strong>Big Data</strong> usually needs <strong>Big Budget</strong> that is not necessarily turned into <strong>Big Value</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*y1_tmD7egBeox9VV.jpg" /></figure><p><strong>Think of it</strong>: if you are a domain expert you cannot even take a look at your Big Data without hiring people with programming skills! It looks like dictatorship of programmers.</p><p>At Nezaboodka, we would like to give domain experts the freedom of doing Big Data Analytics themselves — we are reinventing <a href="https://blog.nezaboodka.com/post/2019/589-the-future-of-big-data-analytics-is-an-excel-like-spreadsheet"><strong>data analytics tools</strong></a> alongside with <a href="https://blog.nezaboodka.com/post/2019/593-modern-database-should-natively-support-transactionally-reactive-programming"><strong>database management system</strong></a> for Big Data era.</p><p>Stay tuned!</p><p><em>Originally published at </em><a href="https://blog.nezaboodka.com/post/2019/587-the-single-biggest-problem-in-big-data-analytics"><em>https://blog.nezaboodka.com</em></a><em> on June 12, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d93e6f1f39a9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/the-single-biggest-problem-in-big-data-analytics-d93e6f1f39a9">The Single Biggest Problem in Big Data Analytics</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Basic Big Data Terminology]]></title>
            <link>https://medium.com/hackernoon/basic-big-data-terminology-3d6332aaf954?source=rss-59b108eb4c7a------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d6332aaf954</guid>
            <category><![CDATA[scalability]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[clustering]]></category>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Yury Chetyrko]]></dc:creator>
            <pubDate>Wed, 22 May 2019 00:00:00 GMT</pubDate>
            <atom:updated>2019-05-22T09:27:14.105Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JNqQDmNlB-VPuExI9Ipxhw.png" /></figure><p>Data is called <strong>Big Data</strong> when there is no way to process it using a single computer (server). Big Data assumes processing by a network of computers (cluster).</p><p><strong>Availability</strong> is defined as the proportion of time the system is in a functioning condition. <strong>High</strong> availability means that up and running time is as close to 100% as possible.</p><p><strong>Scalability</strong> is the capability to handle growing amounts of data and growing number of database clients either by adding more hardware resources or by optimization and more efficient usage of the existing resources.</p><p><strong>Vertical scaling</strong> means increasing the power of a single computer by adding more CPU cores, RAM, I/O controllers, disks, etc. It’s the easiest approach, but the most expensive and reaching its limits very quickly, because of physical limitations of how many hardware components you can put into single computer box.</p><p><strong>Horizontal scaling</strong> means increasing the power by adding more computers, called nodes, connected with each other via computer network. Comparing to the vertical scaling, it provides higher scalability at lower costs by extensive adding of inexpensive hardware nodes of commodity level. The drawback is that it requires much more complex software, especially if full-fledged ACID transactions are required.</p><p><strong>Clustering</strong> is often used as a synonym of horizontal scaling. However, in the context of relational databases, clustering usually means that database consists of several server nodes each having its own CPUs and RAM, but all of them share the same redundant array of disks via high-performance I/O controller ( <strong>shared-disks</strong> architecture).</p><p><strong>Partitioning</strong> means splitting a database into parts that are stored and processed at different server nodes. There is a <strong>horizontal</strong> partitioning that means separation of database tables by rows, and <strong>vertical</strong> partitioning that means separation of database tables by columns.</p><p><strong>Sharding</strong> is a type of horizontal partitioning meaning that rows/objects of a database are automatically distributed across server nodes depending on a value of a particular column/field (or its hash). For example, user profiles in a database can be stored on different server nodes depending on their country.</p><p><strong>Replication</strong> means maintaining multiple copies of the same data by copying database or its partitions from master node to secondary node(s). It makes it possible to scale a database by load-balancing clients between multiple nodes. However, the drawback is data consistency challenges — when data on a master node is changed and secondary nodes still have obsolete data until next replication cycle. It becomes even more complicated if full-fledged ACID transactions are required.</p><p><strong>Federation</strong> means that database physically consists of multiple autonomous databases, possible of different nature and from different vendors. But logically the database is represented as a single unified database accessible by clients via a special mediator layer. The biggest challenge for federated database is transaction processing, which make mediator layer extremely complicated, and full-fledged ACID transactions are hard to achieve.</p><p><em>Originally published at </em><a href="https://blog.nezaboodka.com/post/2019/588-basic-big-data-terminology"><em>https://blog.nezaboodka.com</em></a><em> on May 22, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d6332aaf954" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/basic-big-data-terminology-3d6332aaf954">Basic Big Data Terminology</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Future of Big Data Analytics is an Excel-Like Spreadsheet]]></title>
            <link>https://ychetyrko.medium.com/the-future-of-big-data-analytics-is-an-excel-like-spreadsheet-44a4b854974?source=rss-59b108eb4c7a------2</link>
            <guid isPermaLink="false">https://medium.com/p/44a4b854974</guid>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[excel]]></category>
            <dc:creator><![CDATA[Yury Chetyrko]]></dc:creator>
            <pubDate>Mon, 22 Apr 2019 00:00:00 GMT</pubDate>
            <atom:updated>2019-05-03T09:46:00.403Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*80KyLuhlMTlAthSdFgkLGQ.jpeg" /></figure><p>Spreadsheet applications like Excel are great tools for data analytics. However, they don’t scale for <strong>Big Data</strong> — an analyst cannot easily load millions of rows and columns for analysis.</p><p>In our opinion, the future of Big Data analytics is an <strong>Excel-like</strong> application (re)evaluating formulas and (re)generating live charts from <strong>billions</strong> of cells evolving in <strong>real-time</strong>, or from <strong>historical</strong> snapshots of the past.</p><p>It may sound simple, but in reality it requires complete rethinking and redesigning of an underlying <strong>database management system</strong>. Underlying database should be:</p><ul><li>a real-time parallel computation engine <em>(not just a data storage)</em>;</li><li>ACID transactional <em>(with no compromises on consistency)</em>;</li><li>elastically scalable <em>(to thousands of geo-distributed servers)</em>;</li><li>visually accessible from browser <em>(not only via APIs)</em>;</li><li>non-relational <em>(more human-friendly than SQL)</em>;</li><li>reactive <em>(pushing data changes to UI in real-time)</em>.</li></ul><p>The last two items, <strong>non-relational data model</strong> and <a href="https://blog.nezaboodka.com/post/2019/593-modern-database-should-natively-support-transactionally-reactive-programming"><strong>reactivity</strong></a>, are the most important trends for database management systems of the Big Data era. We recognized them in the course of creation of <a href="https://nezaboodka.com/#products"><strong>Nezaboodka technologies</strong></a>, which are aimed to significantly improve productivity of Big Data management, analysis, and visualization.</p><p>Nezaboodka Database has an object-oriented data model and an Excel-like user interface, making it a perfect tool for Big Data Analytics.</p><p><em>Originally published at </em><a href="https://blog.nezaboodka.com/post/2019/589-the-future-of-big-data-analytics-is-an-excel-like-spreadsheet"><em>https://blog.nezaboodka.com</em></a><em> on April 22, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44a4b854974" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reactronic — The Concept of Transactionally Reactive State Management]]></title>
            <link>https://medium.com/hackernoon/reactronic-the-concept-of-transactionally-reactive-state-management-b70b5974a134?source=rss-59b108eb4c7a------2</link>
            <guid isPermaLink="false">https://medium.com/p/b70b5974a134</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[state-management]]></category>
            <category><![CDATA[reactive-programming]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Yury Chetyrko]]></dc:creator>
            <pubDate>Thu, 14 Feb 2019 00:00:00 GMT</pubDate>
            <atom:updated>2021-05-22T15:28:22.887Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d4bSog9JSRf6MGNWvY4c6Q.jpeg" /></figure><h3>Reactronic — The Concept of Transactionally-Reactive State Management</h3><p>Recently, we <a href="https://blog.nezaboodka.com/post/2019/593-modern-database-should-natively-support-transactionally-reactive-programming">introduced</a> the notion of Transactionally-Reactive Programming — consistent propagation of changes from data layer to visual components.</p><p>This article is focused on the transactionally-reactive state management in a browser-based Web application. The described concepts are implemented in the open-source JavaScript library, called <a href="https://github.com/Nezaboodka/reactronic/blob/master/README.md#readme">Reactronic</a>.</p><p>Transactional reactivity is based on the three fundamental concepts:</p><ul><li><strong>State</strong> — a set of objects that store data of an application;</li><li><strong>Transaction</strong> — a function that changes state objects in an atomic way;</li><li><strong>Cache</strong> — a computed value having associated function that is automatically called to renew the cache in response to state changes.</li></ul><p>The following picture illustrates relationships between the concepts in the source code:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6TOLWTQbiSI9ZtSH.jpg" /></figure><p>Below is the detailed description of each concept.</p><h3>State</h3><p>State is a set of objects that store data of an application. All state objects are transparently hooked to track access to their properties, both on reads and writes.</p><pre><strong>@state<br>class</strong> MyModel {<br>  url: string = <em>&quot;https://nezaboodka.com&quot;</em>;<br>  content: string = <em>&quot;database reinvented&quot;</em>;<br>  timestamp: Date = Date.now();<br>}</pre><p>In the example above, the class MyModel is instrumented with the @state decorator and its properties url, content, and timestamp are hooked.</p><h3>Transaction</h3><p>Transaction is a function that changes state objects in an atomic way. Every transaction function is instrumented with hooks to provide transparent atomicity (by implicit context switching and isolation).</p><pre><strong>@state</strong><br><strong>class</strong> MyModel {<br>  <strong>@transaction</strong><br>  <strong>async</strong> load(url: string): Promise&lt;void&gt; {<br>    this.url = url;<br>    this.content = await fetch(url);<br>    this.timestamp = Date.now();<br>  }<br>}</pre><p>In the example above, the function load is a transaction that makes changes to url, content and timestamp properties. While the transaction is running, the changes are visible only inside the transaction itself. The new values become atomically visible outside of the transaction only upon its completion.</p><p>Atomicity is achieved by making changes in an isolated data snapshot that is visible outside of the transaction (e.g. displayed on user screen) only when it is finished. Multiple objects and their properties can be changed with full respect to the all-or-nothing principle. To do so, separate data snapshot is automatically maintained for each transaction. That is a logical snapshot that does not create a full copy of all the data.</p><p>Compensating actions are not needed in case of the transaction failure, because all the changes made by the transaction in its logical snapshot are simply discarded. In case the transaction is successfully committed, affected caches are invalidated and corresponding caching functions are re-executed in a proper order (but only when all the data changes are fully applied).</p><p>Asynchronous operations (promises) are supported out of the box during transaction execution. The transaction may consist of a set of asynchronous calls prolonging transaction until completion of all of them. An asynchronous call may spawn other asynchronous calls, which prolong transaction execution until the whole chain of asynchronous operations is fully completed.</p><h3>Cache</h3><p>Cache is a computed value having an associated function that is automatically called to renew the cache in response to state changes. Each cache function is instrumented with hooks to transparently subscribe it to those state object properties and other caches, which it uses during execution.</p><pre><strong>class</strong> MyView <strong>extends</strong> React.Component&lt;MyModel&gt; {<br>  <strong>@cache(Renew.OnDemand)</strong><br>  render() {<br>    const m: MyModel = this.props;<br>    return (<br>      &lt;div&gt;<br>       &lt;h1&gt;{m.url}&lt;/h1&gt;<br>       &lt;div&gt;{m.content}&lt;/div&gt;<br>      &lt;/div&gt;<br>    );<br>  }</pre><pre>  <strong>@cache(Renew.Immediately)</strong><br>  trigger(): void {<br>    if (this.render.reactronic.isInvalidated)<br>      this.setState({});<br>  }<br>}</pre><p>In the example above, the cache of the trigger function is transparently subscribed to the cache of the render function. In turn, the render function is subscribed to the url and content properties of a corresponding MyModel object. Once url or content values are changed, the render cache becomes invalidated and causes cascade invalidation of the trigger cache. The trigger cache is marked for immediate renewal, thus its function is immediately called by Reactronic to renew the cache. While executed, the trigger function enqueues re-rendering request to React, which calls render function and it renews its cache marked for on-demand renew.</p><p>In general case, cache is automatically and immediately invalidated when changes are made in those state object properties that were used by its function. And once invalidated, the function is automatically executed again to renew it, either immediately or on demand.</p><p>Reactronic <strong>takes full care of tracking dependencies</strong> between all the state objects and caches (observers and observables). With Reactronic, you no longer need to create data change events in one set of objects, subscribe to these events in other objects, and manually maintain switching from the previous state to a new one.</p><h3>Cache Latency</h3><p>Each cache has latency — a delay between cache invalidation and invocation of the caching function to renew the cache. Possible values are:</p><ul><li>(ms) - delay in milliseconds;</li><li>Renew.Immediately - renew immediately with zero latency;</li><li>Renew.OnDemand - renew on access if cache has been invalidated;</li><li>Renew.Manually - manual renew (explicit only);</li><li>Renew.DoesNotCache - renew on every call of the function.</li></ul><h3>Try It Yourself</h3><p>Feel free to try it yourself or contribute at <a href="https://github.com/Nezaboodka/reactronic">GitHub</a>.</p><p>Or try it as an NPM package: npm i reactronic.</p><p><em>Originally published at </em><a href="https://blog.nezaboodka.com/post/2019/592-reactronic-the-concept-of-transactionally-reactive-state-management"><em>blog.nezaboodka.com</em></a><em> on February 14, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b70b5974a134" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/reactronic-the-concept-of-transactionally-reactive-state-management-b70b5974a134">Reactronic — The Concept of Transactionally Reactive State Management</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Modern database should natively support transactionally reactive programming]]></title>
            <link>https://ychetyrko.medium.com/modern-database-should-natively-support-transactionally-reactive-programming-38e497579385?source=rss-59b108eb4c7a------2</link>
            <guid isPermaLink="false">https://medium.com/p/38e497579385</guid>
            <category><![CDATA[object-oriented]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[reactive-programming]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Yury Chetyrko]]></dc:creator>
            <pubDate>Thu, 07 Feb 2019 00:00:00 GMT</pubDate>
            <atom:updated>2021-05-22T15:29:01.830Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dSwpctMtN96ATQeyzhgcpw.jpeg" /></figure><h3>Modern database should natively support Transactionally-Reactive Programming</h3><p>In order to simplify and speed up the development of data-intensive visual applications, <a href="https://nezaboodka.com/"><strong>Nezaboodka</strong></a> introduces the concept of <em>transactionally reactive programming</em>.</p><p>In a typical application, data in an underlying database is continuously changed by users and other applications. Developers spend a lot of time and effort ensuring their applications consistently display updated data on user screens. Most of the efforts are spent on reactive programming in the UI and transactional processing in the database.</p><p><a href="https://en.wikipedia.org/wiki/Reactive_programming"><strong>Reactive programming</strong></a> is a paradigm of automatic propagation of data changes to user screens or to other applications. It is achieved by automatic and seamless tracking of all dependencies between source and derivative data in an application. A good illustration of reactivity is an Excel spreadsheet: when a cell value changes, all dependent cells are automatically recomputed and refreshed on screen. <a href="https://en.wikipedia.org/wiki/Database_transaction"><strong>Transactional processing</strong></a> is a well known principle, assuming that data operations are ACID-compliant from a client standpoint (atomic, consistent, isolated and durable). <strong>Transactional reactivity </strong>is the synergy of both concepts meaning that all data displayed on user screens is <strong>immediately and consistently refreshed</strong> once a transaction in the underlying database has completed.</p><p>Implementing transactional reactivity is hard — you need to consistently propagate changes from a typical relational database to an object-oriented UI through object-relational mappings (ORMs), middleware layers, and reactive programming frameworks. This requires a lot of manual work, custom development and integrations, which developers repeat again and again in each and every application regardless of the technology stack: SQL, ORM, EF, Hibernate, NodeJS, Java, .NET, Ruby, WebSockets, SSE, JavaScript, Swift, and so on and so forth. To develop each layer, you need to involve several engineers with different areas of expertise, thus turning a simple data visualization task into an unpredictable planning and execution activity. Say “hello” to costs and “good bye” to time to market.</p><p>In our opinion, database should provide <strong>seamless transactional reactivity out of the box</strong>, freeing developers from the code-bloating complexities of ORMs, middleware layers, and typical reactive programming frameworks. This means that a database should be <strong>object-oriented by nature</strong>. It should also meet modern requirements for Big Data, distributed deployment, scalability, decentralization, as well as provide other important features, such as integrated transactional file storage, full-text search, native message queues, etc.</p><p>Such a <a href="https://nezaboodka.com/#products"><strong>database</strong></a> is on the way in Nezaboodka.</p><p><em>Originally published at </em><a href="https://blog.nezaboodka.com/post/2019/593-modern-database-should-natively-support-transactionally-reactive-programming"><em>blog.nezaboodka.com</em></a><em> on February 7, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=38e497579385" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>