#2 What I've learned
At my job, every engineer does customer support. You might think it’s a ...
Rides is a full-stack simulation of a ridesharing app. This project is my take on building and visualizing a scalable system. My motivation was to implement various concepts from the domain of system design, including containerization, multiprocessing and observability. This project took approximately 300 hours of work.
At my job, every engineer does customer support. You might think it’s a ...
Our work at PostHog is public, so it's pretty cool I get to share my recent ...
Now that our simulation is running, let's set up monitoring and logging to track ...
Finally, the time has come to put all the components of our simulation together. ...
Now that a driver is matched with a customer, we need them to head to the ...
The next step in our simulation is matching drivers with customers. There are ...
Previously, we added functionality for generating customer locations. This was ...
Here's one crucial thing to consider for our simulation. Every entity runs its ...
Today, we are starting to build the simulation engine. Let's see how it's going ...
A few issues with our animation code only became apparent after I started ...
Let's generate location updates on the backend and make them available to the ...
We have iterated a fair bit on our project and a general structure is emerging ...
The only thing our car animation needs are turns. Let's finish it up. A brief ...
A car will move along a calculated path between the starting point and the ...
Let's design a car icon we will place on the map. I used the amazing and free Ve ...
I started out writing the frontend application in vanilla Javascript. This was ...
There are a few more things we need to do to be able to run our app in ...
There's an issue with our implementation from the last post. Have you spotted it ...
Let's connect our server to the database. First, let's add the postgres folder ...
We will use PostgreSQL to persist the data on drivers, riders, and trips ...
Let's now use Docker in production. Before we deploy our changes, we need to ...
Today I was going to install an SQL database. It occurred to me that I would ...
We need a data structure allowing us to move from point A to point B. This data ...
We need a map that will display all the action, such as routes requested, riders ...
The current deployment setup needs some work. First, we currently have to copy ...
Let's set up the serving of our app's frontend. First, let's change the domain ...
Let's make our server aware of its environment. On our local machine, we want to ...
Let's enable HTTPS on our server. This will encrypt the data coming from and to ...
Let's copy our server folder to our server at api.jurajmajerik.com. We can do ...
We're going to use the native http module to set up our first endpoint. This is ...
We'll be using the Go language for the backend code. Here I'll show how to ...
Right now, we have to enter the password every time we log in to the server ...
The root user is an admin account - it is allowed to change any files in the ...
Let's connect a domain to our server. This will save us from having to type the ...
Let's set up a server on Digital Ocean. For now, the cheapest option with 1 GiB ...
I'm fascinated by distributed systems and I'm going to learn about them by ...