Building a Stack Overflow Clone with Dgraph, and React
I have recently built a Stack Overflow clone with Dgraph and React. I was delightfully surprised by the pleasant developer experience and the performance of my application. In this post, I would like to tell the story of how I built Graphoverflow and share the best practices I learned for using Dgraph to build a modern web application.
Orchestrating signal and wait in Go
One of the common use case in Go is to start a few goroutines to do some work. These goroutines block listening in on a channel, waiting for more work to arrive. At some point, you want to signal these goroutines to stop accepting more work and exit, so you can cleanly shut down the program.
Running Stack Overflow on Dgraph
We have been taught, conditioned, trained to use SQL all our lives as engineers. It was there in schools, there when we went to college. It was being used at the company that we joined. It was such a common interview question that it no longer is. We don’t have just one, but an array of SQL databases to choose from. MySQL was released 22 years ago, in 1995 (youngest engineer at Dgraph was born the same year).
Build a Realtime Recommendation Engine: Part 2
This is part 2 of a two-part series on recommendations using Dgraph. Check our part 1 here. In the last post, we looked at how many applications and web apps no longer present static data, but rather generate interesting recommendations to users. There’s a whole field of theory and practice in recommendation engines that we touched on, talking about content-based (based on properties of objects) and collaborative (based on similar users) filtering techniques based on a chapter from Stanford MOOC Minning Massive Datasets.
Build a Realtime Recommendation Engine: Part 1
Preface In today’s world, user experience is paramount. It’s no longer about basic CRUD, just serving user data; it’s about mining the data to generate interesting predictions and suggesting actions to the user. That’s the field of recommendations. They’re everywhere. In fact, they happen so frequently that you don’t even realize them. You wake up and open Facebook, which shows you a feed of articles that it has chosen for you based on your viewing history.