The problem that Uptimely Core solves

Uptimely Core aims to reduce the specification and development process for massive scale numerical calculations with complex dependencies for industrial needs from weeks to minutes.

Example story

The following story is imagined. However, it is inspired and compiled by discussions from developers and business managers across the industry. The example is not exceptional, and those ~60 steps could be easily multiplied in many occassions.

An analyst at a data center operator is asked to add a calculation to monitor cooling-water delivery to a server room.

Let's say the required calculation is simply picking lower value among two measurements in the process telemetry data:

min(cooling_flow_sensor_1, cooling_flow_sensor_2)

The development process

The workflow for data scientist might look something like this:

  1. Go to ticketing tool
  2. Find the right ticket
  3. Check description: "Apply min(cooling_flow_sensor_1, cooling_flow_sensor_2) for server room x"
  4. Browse documentation wiki if existing analytics framework would allow such function
  5. Also go through each repository to double check if documentation was up to date
  6. Result: Documentation was outdated
  7. Ask in company chat if somebody has deployed anything similar
  8. Also check the database catalog if there are similar calculations running
  9. There is a similar calculation running but it is not compatible with this cooling system
  10. Fire the deployment pipeline. But wait! There is a rivaling deployment running.
  11. Check for conflicts in the code.
  12. Conflict. Resolve in code editor.
  13. Ask in chat if somebody has other stuff coming soon
  14. Deploy
  15. Deployment error. An automatically updated code package is not compatible with others.
  16. Fix and deploy. Wait for an hour to pass all safeguards.
  17. Deployment passes.
  18. Wait for Python environment setup and execution.
  19. Error: There was a syntax error that was captured only in the production environment
  20. Realize a new version needs to be deployed
  21. The person responsible of existing repositories is on vacation, due to lack of permission, you need to create a new repo
  22. You try to find the project template repository
  23. There is no simple way to parametrize the calculation, so you hard code min(flow_rate_1, flow_rate_2) to the code
  24. Change and deploy. Wait for an hour to finish.
  25. Wait another 30 minutes for results due to runtime environment setup from zero and massive data read.
  26. Finally results are ready. Check results manually.
  27. Run 25 queries to find out what data was persisted to database
  28. Results are not visible, not sure why
  29. Check that we have data for the server room
  30. Find the server-room ID by a complex SQL query
  31. Read the wiki about how to add a server room to the data center inventory
  32. The page was updated 3 years ago, the process does not work
  33. Try various things and make it work
  34. You verify from the project manager by email when the results are needed
  35. Suddenly there is a sprawling email thread of 13 managers, engineers and sales people about the exact definition
  36. Main stakeholder asks in the middle of thread WHEN IS IT READY
  37. The definition was multiple KPIs over various time periods
  38. Go back to code
  39. A week passes due to unclarity of new specifications
  40. Works locally
  41. It is already afternoon and there is nobody to accept code changes
  42. Next day deploy to cloud
  43. It kind of works, but there is a dependent calculation that is not in sync
  44. Fix it
  45. The executor runs out of memory
  46. Fortunately you have a massive big data parallel processing cluster as well
  47. Accommodate the code
  48. But it runs out of memory because underlying data is not partitioned
  49. Change to a bigger computes instance
  50. Finally works in a notebook! Deploy :)
  51. Hmm, there is no deployment pipeline to handle notebooks
  52. Just pick the most enormousest virtual server and deploy
  53. Passes. Executes. Results are there.
  54. Works, but the results are duplicated.
  55. Whatever, the results are there
  56. Update wiki page for the calculation
  57. Also update the pull request notes
  58. And once more in the ticket...
  59. Explain the same also to everybody in the email
  60. Answer follow-up questions in the email one more time to realize nobody reads any of the documentation
  61. This was only devevelopment environment. Repeat the steps for to QA and production.

Why the problem exists?

It is not the lack of technical tools or data science expertise. There are sophisticated components for to run massive workflows in data platform, dataframes, machine learning libraries etc tooling. The real problem is that they are focused on technogolgy and execution instead of managing the big picture.

Compare it to building a house. You have hammer, nails and a pile of wood. But no guidelines to build. Somebody thinks the house should be a hole in the ground, another insist for tree hut. Nobody knows how the house even should look like, but everybody has opinion.

How do you scale to city level from this starting point?

Missing governance layer for data science

Modern data platforms such as Snowflake, Databricks and BigQuery allow data analytics at any scale and complexity.

While it is amazing techical achievement, it also leads to a governance chaos. The intention of those platforms is mainly to provide technical execution power and engineering tools.

Especially with AI coding assistant, creating a single calculation is not a bottleneck anymore. Today's issue is managing all of them.

The data science ecosysytem is missing the layer to manage and structure the analytical calculation on those platforms and frameworks in an easy way. Or even making them invisible.

What if somebody could have just gone to a mobile app, write the minimal analytical expression to an input box and click "Deploy"?

The specification process

Before the development process has started, there has been dozens of meetings to define project requirements, what needs to be achieved and how is it implemented. Who does what and when.

And the only question that anybody is really interested about: When is it ready?

The developer knows there is no realistic answer due to the described process. Every request is almost like starting from zero. But to please everyone they give an estimation.

Uptimely Core provides a highly structured specification for analytical calculations and a process to bypass many of the intermediate steps.

From basics to state of the art

When are experts supposed to create real science having such workflows?

Typically individual mathematicians and data scientist are more than capable of building the algorithms and models when they have sufficient resources to do so. The problem comes from organizational complexity:

  • Changing priorities
  • Who makes decisions
  • Where is related code
  • Where to dump this code
  • Where is the documentation
  • Who knows about the dependencies
  • How to get quick feedback from stakeholders
  • How to validate that the results are correct
  • What refactoring is needed to ship the new solution

Solving the above process would harness smart people to focus on real data science where they can really shine. It removes a massive communication and information overhead between multiple developers and stakeholders.

Uptimely Core was born as a result of frustration to missing tooling to logically organize analytical pipelines to make data science applications easy to structure, deploy and understand.

Starting from basics

Also Uptimely has went from state of the art to basics in order to build this framework.

The original ambition was to build reusable modular components for advanced industrial use cases such as production optimization with quantum computing and generic industrial multi-sensor anomaly detection.

Before that, it was important to build robust and scalable foundations.