Explore Companies BySectors & Categories
Explore Companies ByUse Cases
Explore Companies ByProducts & Services
Explore Companies ByRankings & Reviews
Featured NewsCompaniesMarketsCryptoTechRegulatoryCommentaryUKUSWorldMore

    Latest Wires

      Daily Newsletter

      LF Daily News

      Daily industry focused newsletter giving you an overview for the financial & finTech industry.

      See All Newsletters
      By clicking "Sign Up" you are agreeing to our Terms of Service and Privacy Policy

      Why your P&L is wrong

      Published: just now

      Why your P&L is wrong

      Tl;dr  Most software processes can be represented as a directed acyclic graph (DAG). In reality however, your processes are more likely to behave as pseudo-DAGs resulting in slowness, inconsistencies and non-reproducibility. This is because getting a complex system to behave like a true DAG - while managing the challenges that come with it - requires a lot of hard work and clever design. Ediphy’s core technology is a true DAG that has overcome the inherent challenges of being one.


      In a world eaten by software, understanding the intricate dependencies that drive your organisation’s computations is crucial. Imagine graphing your organisation as a network of interconnected tasks, where each task is a node relying on others to fulfil its function, represented by the edges. Enter the directed acyclic graph (DAG).

       

       

      An organisations best friend
      An organisation's best friend. (Wikimedia Commons)

       

      By breaking down computations into manageable sub-components, represented as a DAG, we gain insights into the dependencies within a system. This enables parallelization of non-interdependent calculations, optimising performance and a starting point for ensuring reproducibility.

      Sounds simple enough. So then - after migrating to the cloud, deploying a global data lake and more recently considering developing your own LLM/GPT -  why is your P&L still wrong?

       

      The problems facing DAGs

       

      Slowness

      One issue with traditional systems (when we have a DAG with multiple nodes that are dependent on each other), is the computation time of the entire DAG is limited by the slowest nodes in the graph. This is because the result of the computation at the ultimate end node cannot be computed until all of its dependent nodes have completed their computations.

      If we have a node in our DAG that takes 1ms to compute, and it in turn has 10 upstream dependencies that take 1ms each to compute - then due to parallelism, we should be able to compute the node we want in a total of 2ms.

      Now, imagine a single one of the upstream dependencies instead takes 5 seconds to compute. This slowest node now infects all downstream nodes and what took 2ms now takes 5.001 seconds. (Several pseudo-DAGs solve this by taking the ‘latest good value’ of a slow node - which breaks consistency. More on this later.)

      In a more complex DAG, the dependency structure between nodes can be much more intricate, making it harder to determine why performance suffers. However, the basic principle remains the same - the computation time of the entire DAG is limited by the slowest nodes, the DAG must wait for all nodes to compute before an answer is available at the ultimate end node. Therefore, in typical DAG systems it is essential to carefully analyse the dependency structure of a computation DAG and optimise the performance of the system by minimising the computation time of the slowest node. This can be achieved through various techniques such as load balancing, task scheduling, and resource allocation, among others.

      Versioning

      Another issue can be described as ‘graph versioning’. With traditional DAG-like systems, the execution algorithm may be described as follows:

       

      • The calculation that is required is determined, often coming from a user request

      • The system recursively analyses dependencies, determining which calculations need to take place in order to fulfil the request

      • A topological sort takes place, to determine the necessary calculation order

      • Schedulers then manage the communication between the different processes in order to make the best use of resources

       

      While this is taking place, new requests are continually landing - on either the same ‘tick’ (requiring an update to the previous topo-sort strategy) or for different ‘ticks’ (requiring segregated execution strategies). These requests may be coming in on the order of 100’s of requests per second per ‘tick’, over hundreds of ticks (as the state-of-world is continually mutating). Therefore in traditional DAG-like systems, the above strategy quickly becomes inefficient. Previously completed topological sorts are rendered out of date as soon as they are completed, dominating the runtime for little gain.

      The above strategy does work well, but only in the following circumstances:

      • One request at a time. We don’t plan anything new until a request has completed.

      • Where the world does not change while execution takes place.

      • There is nothing to gain from cooperation between requests, either on the same data version or for subsections of requests where intermediate results are guaranteed to produce the same output.

       

      Consistency

      One common complexity that leads to consistency issues in computation is the problem of race conditions. Race conditions occur when two or more computations access the same data source in an uncontrolled manner, and the time at which they access the data affects the outcome of the computation. This can result in inconsistent results or errors in the final output.

      DAGs solve this problem by enforcing a specific order of execution for the computations. In a DAG, each node represents a specific computation, and the edges between nodes represent the dependencies between those computations. This means that a computation cannot begin until all of its antecedent computations have completed, ensuring that the data it requires is consistent and up-to-date.

      By enforcing this order of execution, true DAGs eliminate the possibility of race conditions and ensure that computations are performed correctly and in a consistent manner. In practice this is rarely the case unfortunately.

      The pseudo-solution: pseudo-DAGs

      In an organisation, multiple systems including Excel sheets and independent databases can introduce a "pseudo-DAG" problem, which can lead to consistency issues in computation. This problem arises when computations are performed across different systems asynchronously, without a guarantee that they will complete in any particular order.

      For example, suppose an organisation uses an Excel sheet to perform a set of calculations, and another department uses an independent database to perform a different set of calculations that depend on the results of the Excel sheet. If these computations are performed asynchronously, there is no logic to ensure that the database computations will wait for the Excel sheet computations to complete before starting, or vice versa. As a result, the database computations may start with incomplete or incorrect data, leading to wrong numbers, and bad business decisions. 

      Making matters worse, it is likely that the database is fed from several Excel sheets or upstream systems, each in a state inconsistent with each other. In these cases, the data in your database, and everything derived from that database is affected by the input data being fed into each upstream system, which is more often than not a function of timing. This timing is affected by other conditions such as hardware in use and the load that is currently placed on that hardware.

      A pseudo-DAG will happily compute away, unaware of the inconsistencies and cycles that we have introduced, and the poor decisions that will be made from downstream calculations as more pseudo-DAGs are constructed in various applications. And before you know it, your P&L is non-reproducible and wrong.

       

      Ediphy’s core technology

      Ediphy is built on a single, procedurally generated distributed computation graph.

      No ‘up-front’ generation of the graph topology is required by our engineers, and the technology facilitates computation of low latency tasks such as trading decisions, while also remaining optimal for longer running intensive compute tasks, without introducing waits for the “slowest compute” issues described earlier.

      Our core system uses an uncapped number of ‘higher order’ consistent graphs, to alter the structure of thousands of sub-graphs in real time - the more calculations that are run. I.e. the more workloads are being computed in parallel across different tasks - often in the 100,000s - the more ‘cross borrowing’ of intermediate results across the ultimate causal tasks can take place, improving execution time.

      Further, we lean on reproducibility to further parallelise pending calculations, allowing them to continue while the system continues to tick into the future - processing new calculations from newer data while ‘older’ calculations complete in isolation.

      This technology is delivered in a transparent manner to our users via our web front-end - with calculations and graph structures being created in a just-in-time manner for any ad-hoc compute required. This design has paid off by allowing small high performing teams of engineers to outperform our expectations. In turn this enables us to move faster, while delivering more to our users at a lower cost - with faster turnaround time - and correct P&Ls.

      Ediphy is the first and only fixed income liquidity aggregator, AI SOR and execution service for professional clients. Credit, govies and cleared IRS.

      This content may have been written by a third party. LiquidityFinder makes no representation or warranty and assumes no liability as to the accuracy or completeness of the information provided, nor any loss arising from any investment based on a recommendation, forecast or other information supplies by any third-party. This content is information only, and does not constitute financial, investment or other advice on which you can rely.
      Comments
      Most Recent
      Written By
      Daily Newsletter

      LF Daily News

      Daily industry focused newsletter giving you an overview for the financial & finTech industry.

      See All Newsletters
      By clicking "Sign Up" you are agreeing to our Terms of Service and Privacy Policy
      RSS Feeds

      Create a custom RSS Feed

      Select the categories and companies you wish to follow directly to your person rss feed.

      Create Custom RSS Feed

      Related Categories:

      Related Tags:

      #DirectedAcyclicGraph#DataProcessing#ComputationOptimization#SystemDependencies#Ediphy#DataLake#PerformanceOptimization

      Related Articles:

      Find The Right Partners for
      Your Trading Business

      Sign up and join over 5,000 professional members who receive personalized news alerts, curated professional connections, and more for free!

      Sign Up with LinkedIn
      Create Your FREE Account
      Get access to latest news, updates, real-time data, brokerage and trading firm insights and customized information feeds.

      NVDA enters tonight's $5.7T print with a stacked deck against it — the bear case needs only one leg to break, the bull case needs all three to clear elevated whispers.

      just now

      dxFeed has integrated Kalshi, a CFTC-regulated prediction market exchange, into its Event-Based Contracts Market Data Feed, offering real-time data on binary outcome markets.

      just now

      MEXC reports a sharp increase in traditional finance futures trading, with AI semiconductor assets leading the surge. The platform highlights how crypto exchanges are becoming a preferred route for users to gain exposure to TradFi markets, offering zero fees and stablecoin settlement.

      just now

      Bitget Wallet has integrated xStocks, expanding its tokenised equities and RWA offering to over 300 assets for its 90 million users. The move provides self-custodial access to tokenised stocks, ETFs, and commodities, alongside cryptocurrencies, with low fees and gasless execution.

      just now

      MARKET REPORT UK jobs data adds to GBP uncertainty ahead of tomorrow's CPI To talk to us about your next trade, call 020 7778 7500 or hit the button below Email us   USD falls for the first time…

      Image for UK jobs data adds to GBP uncertainty ahead of tomorrow's CPI
      just now

      Market drivers and catalysts Equities:  US stocks were mixed, Europe rose on energy and de-escalation hopes, while Asia struggled with oil and yields. Volatility:  VIX eases, bond yields ele…

      Image for Market Quick Take – 19 May 2026
      just now

      LiquidityMatch LLC, the parent company of FXSpotStream, has launched RateStream LLC, a dedicated streaming solution for the Fixed Income markets that applies the commercial model that transformed FX trading over the past decade to one of the largest and most actively traded markets in the world.

      just now

      This is a breakdown how the market is being driven by a collision between human psychology, institutional trading traps, and macroeconomic reality.

      just now

      Yes, a cloud-based trade copier can be significantly more flexible than a traditional VPS-based setup, especially for traders or signal providers managing multiple accounts across different platforms.…

      Image for How does a modern, cloud-based trade copier differ from traditional VPS-based trade copiers?
      just now

      FOMC minutes, PMI data, drone strikes in the Gulf — May 2026 is not as calm as it looks. What broker dealing desks should be watching this week, and why the brokers who survived April had one thing in common.

      just now

      Abu Dhabi Global Market (ADGM) announced a robust start to 2026, with Assets Under Management (AUM) growing by 57% and active licences surpassing 13,000. The international financial centre continues to attract global asset managers and financial institutions, reinforcing its status as a leading hub in the MEASA region.

      just now

      EUR/USD could be gearing up for a major breakout toward 1.20 as stagflation risks, Fed policy shifts, and a bullish flag pattern align in the FX market.

      just now

      Discover the latest Gold XAU/USD trade ideas. Will the upcoming FOMC Minutes trigger a breakout or just more sideways action?

      just now

      Market drivers and catalysts Equities:  US and European stocks fell as yields and oil rose, Asia weakened, with Korea’s chip rally hitting a wall. Currencies:  The US dollar rallies broadly…

      Image for Market Quick Take – 18 May 2026
      just now

      MARKET REPORT Sterling suffers worst week since November 2024 as political crisis deepens To talk to us about your next trade, call 020 7778 7500 or hit the button below Email us   USD delivers i…

      Image for Sterling suffers worst week since November 2024 as political crisis deepens
      just now

      🇸🇬 Singapore doesn't do noise. Finance Magnates Singapore Summit 2026 was exactly that — concentrated, serious, and the kind of room where every conversation counts. The APAC market is a different b…

      just now

      For years, self-managed super funds (SMSFs) have been heavily invested in shares, property, and cash. However, that is now changing as a growing number of Australian retirement investors are adding Bi…

      Image for Bitcoin in SMSFs: Why Australian Retirement Investors Are Allocating to Crypto in 2026
      just now

      Upcomers, a fast-growing prop trading firm, has partnered with cTrader to bring its clients a premium trading platform shaped around the way traders of all experience levels think, act and grow. …

      Image for Upcomers adds cTrader to foster a transparent trading environment and help traders succeed
      just now

      MARKET REPORT UK political uncertainty builds as USD extends gains To talk to us about your next trade, call 020 7778 7500 or hit the button below Email us   USD extends its winning streak to fou…

      Image for UK political uncertainty builds as USD extends gains
      just now

      Markets are ending the week in full euphoria mode. The S&P 500 and Nasdaq hit fresh record highs as investors continue piling into AI stocks despite rising inflation, surging bond yields and escal…

      just now
      Feed