RabbitMQ is an event bus. In other words, it’s a message broker. Simply put, RabbitMQ accepts and forwards messages between separate applications. Messaging is useful for decoupling applications. This means that different applications are connected through a message broker, but they don’t directly rely on one another. Other open source message brokers include ZeroMQ and qpid. This post will provide an overview of messaging with a focus on RabbitMQ, AMQP, and the pub/sub pattern.
I’ve written a bit about Filth Finder, an app that surfaces health inspections from NYC restaurants near you. Most recently, I wrote about the API that served the restaurants to the frontend. While this implementation worked, it was pretty slow to load. In an effort to speed up the loading time, I rewrote the backend to pull the of index restaurants from Google Cloud Storage. Check out how much faster it loads.
Filth Finder is an application that loads NYC restaurants near you and allows you to view health inspection violations at each restaurant. One problem that had to be solved when developing Filth Finder was how to calculate the distance between the user and all of the amazing restaurants NYC has to offer. The NYC Open Data API provided the addresses for each restaurant, but Filth Finder needed the geolocation of those restaurants.
If you are going to LTV Conf and want to chat about tech, please say hi. I received a scholarship to attend LTV Conf, and I’m looking forward to attending next month. The conference brings together leaders from the SaaS industry to share ideas about marketing, scaling, tech and entrepreneurship. I found out about the scholarship through Diversify Tech’s newsletter, and I applied knowing that it would be a cool opportunity to learn more about the SaaS industry.
Have you ever walked around NYC looking for a place to eat? Have you ever wished there was a way to find the health inspection info for restaurants near you? Well, now you can do that using Filth Finder, a React app with a Rails backend. This application fetches data from the NYC Open Data API. I recently took the opportunity to rewrite one of the components using React Hooks!
In the last post, we learned that we can access the index of an array in the modern for…of loop by using the entries() iterator which implements a method of the new primitive type Symbol. You are probably familiar with the older primitive types: undefined, null, Boolean, Number, String, and Object. Symbol is a new primitive type! What can Symbols be used for? to define properties for objects for iteration to define a global registry of objects to define some special well-known methods in objects This post will review these 3 three use cases, so let’s start at the top.