Skip to main content
Footer-logo Scripted-horizontal-dark
Solutions Down-arrow-black
Book-closed
Content Intelligence
Custom analytics to map your content vs. industry and competitive trends and ensure your brand’s message meets the market.
Stars-02
Content Strategy
Daily ideas, recommendations and strategies to optimize performance across every marketing channel.
Life-buoy-01
Content Production
Create content at scale for every marketing channel in your brand’s unique voice.
Play-circle
Marketing Execution
Distribute the right content to the right customer no matter what platforms you use.
Industries Down-arrow-black
Agriculture
Art & Design
Automotive
Building Materials
Cannabis
Career
Construction
Counseling
Customer Service
Dental
Education
Energy & Environment
Engineering
Fashion & Beauty
Family Practice
Food & Beverage
Gaming
Health & Wellness
Healthcare
Higher Education
Home & Garden
Human Resources
Injury Law
Interior Design
IT & Security
Insurance
Legal
Manufacturing
Media & Entertainment
Medical Law
Nutrition
Parenting
Payments
Personal Finance
Real Estate
Relationships
Retail & Ecommerce
Religion & Spirituality
Restaurant and Bar
SaaS
Sales
Senior Services
Software
Sports & Fitness
Technology
Transportation & Logistics
Travel
Customers Down-arrow-black
Building-03
Enterprises
On-brand content that performs across all inbound, outbound and PR channels.
Share-07
Agencies
Workflow solutions that support content strategies and cost-effective creation for every client.
Tv-03
Media Publishers
Scalable content production that complements your existing editorial content.
File-06
Content Marketers
Insights, strategies and content to support your SEO, ABM, and social media marketing campaigns.
Volume-max
Brand Marketers
Subject Matter Experts that ensure your brand’s story is told with integrity and performance in mind.
Bar-chart-square-plus
Sales Teams
Everything you need to support 1:1 personalized outbound campaigns and get deals closed, quickly.
Resources Down-arrow-black
Book-open-01
Blog
Scripted has supported Content Marketers with insights for over a decade. Find everything you need here.
Lightbulb-05
Knowledge Base
Further resources on using Scripted and industry best practices as they evolve.
Speaker-02
Case Studies
Learn how Scripted customers have leveraged our platform to drive successful content marketing campaigns.
Briefcase-01
Writing Samples
See Scripted’s Subject Matter Expert writers and editors in action.
Backpack
Free Tools
Tons of AI-powered tools to make your job easier.
Pricing
Sign In GET STARTED
Menu button
x Close Menu Solutions Down-arrow-black
Book-closed
Content Intelligence
Custom analytics to map your content vs. industry and competitive trends and ensure your brand’s message meets the market.
Stars-02
Content Strategy
Daily ideas, recommendations and strategies to optimize performance across every marketing channel.
Life-buoy-01
Content Production
Create content at scale for every marketing channel in your brand’s unique voice.
Play-circle
Marketing Execution
Distribute the right content to the right customer no matter what platforms you use.
Industries Down-arrow-black
Agriculture
Art & Design
Automotive
Building Materials
Cannabis
Career
Construction
Counseling
Customer Service
Dental
Education
Energy & Environment
Engineering
Fashion & Beauty
Family Practice
Food & Beverage
Gaming
Health & Wellness
Healthcare
Higher Education
Home & Garden
Human Resources
Injury Law
Interior Design
IT & Security
Insurance
Legal
Manufacturing
Media & Entertainment
Medical Law
Nutrition
Parenting
Payments
Personal Finance
Real Estate
Relationships
Retail & Ecommerce
Religion & Spirituality
Restaurant and Bar
SaaS
Sales
Senior Services
Software
Sports & Fitness
Technology
Transportation & Logistics
Travel
Customers Down-arrow-black
Building-03
Enterprises
On-brand content that performs across all inbound, outbound and PR channels.
Share-07
Agencies
Workflow solutions that support content strategies and cost-effective creation for every client.
Tv-03
Media Publishers
Scalable content production that complements your existing editorial content.
File-06
Content Marketers
Insights, strategies and content to support your SEO, ABM, and social media marketing campaigns.
Volume-max
Brand Marketers
Subject Matter Experts that ensure your brand’s story is told with integrity and performance in mind.
Bar-chart-square-plus
Sales Teams
Everything you need to support 1:1 personalized outbound campaigns and get deals closed, quickly.
Resources Down-arrow-black
Book-open-01
Blog
Scripted has supported Content Marketers with insights for over a decade. Find everything you need here.
Lightbulb-05
Knowledge Base
Further resources on using Scripted and industry best practices as they evolve.
Speaker-02
Case Studies
Learn how Scripted customers have leveraged our platform to drive successful content marketing campaigns.
Briefcase-01
Writing Samples
See Scripted’s Subject Matter Expert writers and editors in action.
Backpack
Free Tools
Tons of AI-powered tools to make your job easier.
Plans Sign In Get Started
  1. Blog Home
  2. Jacob Kring
  3. Mongo: Mr. Right... Or Mr. Right Now?

Mongo: Mr. Right... or Mr. Right Now?

I've spent the last 6 months building Scripted with deliberate recklessness. Not a single one of the features I've pushed was ready, tested or beautiful. My mantra was "Push first, ask questions later". A couple of factors made this possible.

For starters, I'm the only engineer. So I'm never held accountable for my code (no one else can read it), and I know how everything works. I push with moderate confidence knowing that new features won't break old ones.

Secondly, we have an incredibly engaged writer community. Which means that every time something breaks I get an email about it immediately. Who needs Airbrake when you've got 15 insomniac writers with your personal email address?

That second part isn't changing; our writer engagement stats are only going up! But the first part is. I just hired my friend, and the yin to my programming yang, Sylvain. All of a sudden we're no longer a one-man Rodeo-show, we're building an engineering culture. In just two days he's helped me set up a system for one-step deploys, a testing suite (god forbid!), and monitoring services for server and code health. Then we got to talking about the design and infrastructure decisions I've made.

I maintain that MongoDB is the right database for us. Our data is basically a bunch of big blobs of words and very unstructured reviews of those words, which seems perfect for a schema-less document store. But some day we might decide that Mongo wasn't the right choice. I think one of the biggest mistakes a company can make is being distracted by sunk cost, so I try to keep an open mind to the possibility of architectural refactoring. Regardless of whether we live on Mongo forever, I am confident that it was the right choice for the past six months because I didn't have to write a single migration.

I think this is often overlooked. I see two distinct stages to product development. There is the initial push where all that matters is speed. This is the stage to which Max Levchin is referring when he argues that "Speed is your only weapon. All you have is speed". The diversity part of his argument is questionable (morally, legally and logically), but I think he is spot on when he explains that "Striving for optimality early on--debating pros and cons of various design decisions in intricate detail--would have doomed PayPal". Applying this to a database decision: architecting tables and writing migrations would have added weeks (if not months) to my development process. Instead, I used Mongo as a sort of speccing tool, renaming attributes, reconstructing associations and refactoring models willy-nilly with little concern for existing data on production. As I explained earlier, this Wild-West mentality works great when you're a solo-hacker. But now we are entering the second stage of product development: we've found a market niche, we've established a sales process, and our product works. Before all that mattered was speed. Now what matters is process and scalability. The jury is still out concerning how Mongo will scale given our particular application, but I can sleep sound knowing that porting our app to PostgreSQL wouldn't take us more than a week or two, but if I'd started with SQL I'd probably still be pulling my hair out over some botched migration.


Published by Jacob Kring on Thursday, July 12, 2012 in Featured, Staff.

Sign Up For Your 30 Day Free Trial Today!

You agree to Scripted’s Terms of Use and Privacy Policy.
Already have an account? Login
Member & Writer Services
Membership Plans Become A Writer Help Center Customer Login Writer Login
Resources
Hire Writers Scripted Blog Glossary Competitors Blog Ideas Products
Legal
Privacy Terms of Use Writer Services Agreement GDPR Trust
Follow Us





Scripted-horizontal-light
©2011-2025
Hubspot chat