
Applied Mathematician & physicist | First principles architect and engineer of future software infrastructures.
Remote(Global)
Joined May 2024
- Tweets162
- Following569
- Followers43
- Likes1.8K
Pinned Tweet
Replying to @equation_man
My design process and source code. Notable technical decisions are;
Delta design for fees, informed guess on NR solvers to reduce no of iterations, Bisection for NR numerical stability and bit shifts for mul/div and powers of 2.
Builders your thoughts?
medium.com/@EquationManTheBl…
In application layer cryptography, we use app layer encryption to encrypt data when they enter the system before they're persisted. Different from transport layer security(protection on transit), it enhances data safety at rest, protecting against stolen data.
Replying to @equation_man
This is using application layer encryption, with envelope encryption, leveraging a secure vault like HarshiCorp vault like the one I've used above.
It provides a fully decoupled cryptography, that scale efficiently. Here's a snapshot on how it works... #cybersecuritytips
12
What to do to save your business from compliance debts, improve customer confidence, and scale.
Treat data security, not just as a technical requirement, but also a core business driver. Here's one of the most powerful ways to achieve this.
#Data #rustlang #Compliance #Fintech
1
25
This is using application layer encryption, with envelope encryption, leveraging a secure vault like HarshiCorp vault like the one I've used above.
It provides a fully decoupled cryptography, that scale efficiently. Here's a snapshot on how it works... #cybersecuritytips
Building distributed systems in rust+tokio+redpanda.
I've verified the end to end flow of the asynchronous notification system delivering an email. The first image shows email successfully delivered, and the second shows worker logs. #rustlang #tokio #DistributedSystems
Event driven notification service with #rustlang & tokio. Design:
1.Actix web API registers a user.
2.PostgreSQL persists the user.
3.Redpanda streams the registration event.
4.Tokio worker consumes it.
5.Confirmation email is sent.
6.Kafka offset committed after processing.
(Demo 18:04). Built a #DeFi protocol. I call it an Adaptive Credit CLMM. I'm trying to innovatively leverage control theory to provide adaptive credit for exposure to secondary markets for LPs from idle pool funds. So one can stack yield as fees accrue. Thoughts? #Solana
Solana Fall School Demo Day 2 xitter.gq/i/broadcasts/1nxnRBMDW…
91
Event driven notification service with #rustlang & tokio. Design:
1.Actix web API registers a user.
2.PostgreSQL persists the user.
3.Redpanda streams the registration event.
4.Tokio worker consumes it.
5.Confirmation email is sent.
6.Kafka offset committed after processing.
Also implemented readiness checks for the system. It checks Postgresql, Vault(There's application layer security for securing some db fields) and Redpanda's availability. #rustlang #BackendEngineering #DistributedSystems
1
37
#CyberSecurityAwareness, I'm building in regulated environment. Security and compliance influences the design and architecture. I'm using application layer security technique to encrypt sensitive data. Row level security for db tenant level isolation and RBAC for permissions.
17
#rust with Actix-web. During user registration, the #vault generates a data encryption key(dek). It is encrypted by a Master encryption key(never leaves the vault). Clear text dek is used to encrypt the data and is destroyed. Encrypted data is stored with encrypted dek.
1
114
When the app reads the data like above, encrypted dek is sent to the vault which uses the Key encryption Key or the master key that provides a clear text back to the app which the app uses to decrypt the encrypted fields safely and it's destroyed. #Rust #SoftwareEngineering
1
64
1 shows the readiness/health status of the system. The system is only ready if redpanda(event streaming), HashiCorp Vault(the key management service that performs #cryptographic functions on data on the fly) and #postgresql are ready and the system can communicate to them.
1
26
#Rust weekend. High throughput pipeline with #rustlang and #tokio!
Pulls streams from redpanda, process if necessary, and persist into #postgresql. Malformed payloads are routed to DLQ.
Light actix web server for monitoring via Prometheus/Grafana setup. #systemsprogramming
Update. A trading app for interacting with MegaSwap protocol. Building a nice user friendly terminal to get to experience how MegaSwap facilitates trading of pegged assets. #Rust #Web3 #SolanaDeFi
68
I created an adaptive token issuer, which leverages a proportional feedback control to dynamically regulate minting, and token issuance based on protocol state and configurations.
Still waiting for your feedbacks Solana builders @solana_devs @SolanaFndn
I've created token issuer for Megaswap trading simulator. Tokens are issued dynamically following an algorithm, P controller mechanism based on the total supply in the faucet. In this design, I've inverted error definition so output is based on supply....
github.com/equation-man/mega…
@JupiterExchange Are systems like these of any value to you, where token issuance is treated as a dynamical system, where token emission follows a feedback control...
I built is for a different purpose but I'd love to know the depth from experts. #Solana #DeFi #AMM
2
44
I've created token issuer for Megaswap trading simulator. Tokens are issued dynamically following an algorithm, P controller mechanism based on the total supply in the faucet. In this design, I've inverted error definition so output is based on supply....
github.com/equation-man/mega…
Control theory in action. The faucet doesn't emit constant amounts, issues tokens dynamically based on the protocol state, using P controller to keep issuance within a range.
Protocol engineers your feedback #SolanaCrypto #SolanaDeFi #ControlTheory @solana_devs @SuperteamTalent
15
















