High Rise Huxley (@equation_man) header
High Rise Huxley (@equation_man) profile picture

Applied Mathematician & physicist | First principles architect and engineer of future software infrastructures.

Remote(Global)
Joined May 2024
Photo by High Rise Huxley (@equation_man)Photo by High Rise Huxley (@equation_man)Photo by High Rise Huxley (@equation_man)Photo by High Rise Huxley (@equation_man)Photo by High Rise Huxley (@equation_man)Photo by High Rise Huxley (@equation_man)Photo by High Rise Huxley (@equation_man)Photo by High Rise Huxley (@equation_man)Photo by High Rise Huxley (@equation_man)Photo by High Rise Huxley (@equation_man)
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…
1
1
476
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
1
24
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.
1
1
3
144
(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
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.
1
1
1
208
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.
Transitioned my platform to app layer envelope encryption, that offers safety of critical data like healthcare PHI at rest, even if the #database is compromised. #rustlang backend engineering for safe, high performance systems that meet regulatory standards.
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
Data is safely stored at rest encrypted in the #database. The encryption and decryption process is handled scalable at the app layer. Keys are managed externally. Even if the system or the #database is compromised, keys can't be recovered from their memories.
4
Transitioned my platform to app layer envelope encryption, that offers safety of critical data like healthcare PHI at rest, even if the #database is compromised. #rustlang backend engineering for safe, high performance systems that meet regulatory standards.
1
1
172
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
2. Shows example of fetching #data. First request fails as the application can't read the encrypted fields from the #db with corrupted key. Second one is an example of a successful request, where the system successfully deciphers the encrypted records.
5
#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
2
2
1
6
1,401
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
#Solana StableSwap AMM from scratch. N o boilerplates/generic fixed point crates. Informed guess on Newton solvers doing magic with #Rust. $SOL 🚀 Stats: 83KB bin size. 18K-20K CU balanced paths, 70K-88K CU under stress, very low slippage. Thread(source code link below)
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…
1
1
52
@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…
2
1
121
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
Case 2: The protocol holds less supply. As the supply reduces, issuance reduces upto 0 if it reaches a particular level. #Solana #SOL #DeFi #rust
1
1
25
Case 3: Supply reaches emergency floor: The protocol reaches a hard minimum dispense floor, which might be even 0, to prevent the tokens from being drained. Auto mint engine is also fired when more supply is needed #SOL #DeFi
23