Python 3 and Jupyter Notebooks

By Kevin Reardon -- Published February 09, 2018

This post is intended to help beginners make progress in writing code. When first learning to write code, it is easy to get discouraged. I hope to help others who share my goals: begin to understand a complex subject such as Python 3, write better code, and have some fun along the way.

Why Python 3?

Python 3 is the first language I am learning because it is a great place for a novice to begin. There are lots of articles on the web explaining why Python 3 is such a good choice. Reading some of these can explain the “why” better than I am able to with my limited understanding of the subtleties of various languages. I found the following article particularly helpful.

Python 3 is used extensively at RustProof Labs and is a personal favorite of my boss, Ryan. Perhaps the most compelling reason for a novice, such as myself, to start with Python 3 is there are often fewer lines of code involved than, for example, with Java to accomplish a given task. Less lines of code can be a good thing. This makes debugging easier to accomplish.

Continue Reading...

My First Year with RustProof Labs

By Kevin Reardon -- Published February 08, 2018

They say time flies when you’re having fun. For me, 2017 flew by in the blink of an eye. My one-year internship with RustProof Labs (RPL) is now complete. The first of many new experiences last year involved integrating myself into the corporate culture of RPL. I can say without reservation, RustProof Labs is the most open and friendly environment in which I have ever worked. In the past, I worked for one of the biggest tech companies in the world. My experience at RPL far outpaces that job and every other organization I have worked for in my career.

Why has my experience with RPL been so positive? There are a few important reasons. First, my individual abilities are greatly valued at RPL. Our visionary CEO/Owner understands it takes many different skill sets to be successful. My background in business management, customer relations, teaching technology, communication, and graphic design have all come into play in my daily work. I have often been surprised when something I am good at, which seems unrelated, fits perfectly with the task at hand.

Continue Reading...

Database Anti-patterns: Performance Killers

By Ryan Lambert -- Published January 28, 2018

Databases are everywhere. They're in your computer, smartphone, WiFi enabled devices, and power all the web-driven technologies you use 24/7. Relational databases have the ability to provide incredible power, performance, reliance, and reporting. They also have the power to inflict severe pain, frustration, confusion and sleepless nights. You can expect the latter when a database is designed incorrectly.

This post attempts to summarize the most common, and most problematic relational database anti-patterns I have seen. These problems are not a technology problem; they are a training and experience problems. Some of these are mistakes I have made myself. Others I inherited in the form of a pre-existing system, and others still I was hired explicitly to fix.

Education is a Challenge

Relational database design, like cybersecurity, spans a wide range of very in-depth topics full of nuances and experience-driven decisions. In other words, there is a lot to learn and it isn't easy to teach. Another aspect of the problem is that database design isn't being taught very well, if at all, in typical database related coursework. Database courses focus on dry definitions of the various levels of normalization, yet spend zero effort teaching best practices for the design process or the decisions that go into determining the appropriate level of normalization.

Lots of theory, little application.

Continue Reading...

PostgreSQL Load Testing

By Ryan Lambert -- Published December 09, 2017

A recent conversation got me thinking about database performance, specifically PostgreSQL. Well, to be honest, I'm always thinking about databases and their performance. I've pushed PostgreSQL to load 500,000 records per second, compared PostgreSQL to MySQL, and more.

This conversation did make me decide it was time to put one of RustProof Labs' newest PostgreSQL databases to the test. The database is part of a new product we plan to go live with in Spring 2018. Now is the perfect time for us to do a final check of our estimates for how many users this system will be able to handle. If our assumptions were wrong we still have time to adjust.

Continue Reading...

Goodbye, NewRelic

By Ryan Lambert -- Published October 14, 2017

I'm sad to say, RustProof Labs will no longer be using NewRelic's monitoring services. They are making some significant changes to their offerings and unfortunately, that means RustProof Labs will be finding new solutions for our infrastructure monitoring. They are removing their "Servers" monitoring feature from the free tier; Servers is the only service from NewRelic that we really utilized. Their paid-only replacement for monitoring servers is infrastructure.

What's Changing?

The main difference seems to be they're pushing integrations with some of the main cloud providers (AWS, Azure, etc). I didn't want that before and I don't want it now. I loved being able to see my server's health at a very high level, such as CPU and RAM usage, as well as disk space monitoring, and so on. I loved being able to install their service on all my local virtual machines as well as cloud servers. I could easily visualize the impact the difference between HDD and SSD drives in specific processes.

Infrastructure Pricing

Note: These pricing details are accurate at the time of writing.

To continue using NewRelic to monitor our servers using Infrastructure appears to start at $9.90 / month. That's more than the monthly cost of a small cloud-based server!

"The minimum # of CUs to be purchased as part of any customer subscription is 16,500 costing $9.90. This is the smallest contract size."

Continue Reading...

<-- Older Posts          Newer Posts -->