SQLAlchemy

Database & File Management Software · Washington, United States · 1-10 Employees

View Company Info for Free

Overview

Headquarters

Bellingham, Washington, United States

Revenue

<$5 Million

Industry

Database & File Management Software Software
ZI Rank: 1
Signal Type
Dec
Jan
Feb
Mar
Apr
May
ZI Rank
1
1
1
1
1
1

About SQLAlchemy

Recently, while working on the RockClimbing.com codebase, I encountered several situations where data needed to be pre-calculated/cached because on-the-fly calculations were too slow. For example, RockClimbing.com has over 100,000 climbing routes scattered across 35,000 locations.The locations are essentially a tree structure, ranging in specificity from general area to a specific wall: North America California Yosemite El Capitan North Face. As you browse different areas, itd be nice to see the total number of climbing routes within each area. For example, if youre viewing North America, on each state wed like to display the total number of climbing routes in that state. In other words, for each node, find all child nodes and then sum the routes attached to those child nodes. Theres a number of ways to map a tree structure to SQL tables. For simplicity, I store the locations as an adjacency list. Adjacency lists make it easy to insert and reorder nodes, although traversing the treRead more
SQLAlchemy's Social MediaPopular SearchesSQLAlchemyJeff WidmanSIC Code 73,737NAICS Code 51,513Show more

Is SQLAlchemy your ideal customer?

Let us give you the heads up on whether it's a good time to reach out

Recommended Actions

Compare Similar Companies to SQLAlchemy

Compare insights from companies similar to SQLAlchemy, focusing on performance, financial data, growth rates, and unique benchmarks to identify key industry trends and opportunities.

Company Name

Revenue

Number of Employees

Type

Funding

Founded In

Top Executive

SQLAlchemy

<$5M
1-10
Private
-
-
N/A
$5.1M
11-50
Private
-
1995
N/A
<$5M
11-50
Private
-
-
N/A
<$5M
11-50
Private
-
-
N/A
<$5M
1-10
Private
-
-
N/A
<$5M
1-10
Private
-
-
N/A
<$5M
1-10
Private
-
-
N/A
Illustration of an envelope

SQLAlchemy Tech Stack

A closer look at the technologies used by SQLAlchemy

Top Database & File Management Software Companies

Frequently Asked Questions Regarding SQLAlchemy

What is SQLAlchemy's official website?
SQLAlchemy's official website is www.jeffwidman.com
What is SQLAlchemy's Revenue?
SQLAlchemy's revenue is <$5 Million
What is SQLAlchemy's SIC code?
SQLAlchemy's SIC: 73,737
What is SQLAlchemy's NAICS code?
SQLAlchemy's NAICS: 51,513
How many employees does SQLAlchemy have?
SQLAlchemy has 1-10 employees
What industry does SQLAlchemy belong to?
SQLAlchemy is in the industry of: Database & File Management Software, Software
What is SQLAlchemy competition?
SQLAlchemy top competitors include: Strogo Pro, Michael Coppola, Arjun Sreedharan, Mission Critical Computing
What technology does SQLAlchemy use?
Some of the popular technologies that SQLAlchemy uses are: Google Workspace, Gmail, Cloudflare DNS
What does SQLAlchemy do?

Recently, while working on the RockClimbing.com codebase, I encountered several situations where data needed to be pre-calculated/cached because on-the-fly calculations were too slow. For example, RockClimbing.com has over 100,000 climbing routes scattered across 35,000 locations.The locations are essentially a tree structure, ranging in specificit... y from general area to a specific wall: North America California Yosemite El Capitan North Face. As you browse different areas, itd be nice to see the total number of climbing routes within each area. For example, if youre viewing North America, on each state wed like to display the total number of climbing routes in that state. In other words, for each node, find all child nodes and then sum the routes attached to those child nodes. Theres a number of ways to map a tree structure to SQL tables. For simplicity, I store the locations as an adjacency list. Adjacency lists make it easy to insert and reorder nodes, although traversing the tree (especially downwards) can be slow because you have to walk through all the nodes in order to identify the children. An index helps, but its still not fast, especially when you need to traverse multiple levels deep. Trying to solve it with Python: My initial prototype looked something like this: def recursive_child_locations(location): child_l = [] if len(location.children) 0: for child in location.children: child_l.extend(recursive_child_locations(location)) return child_l recursive_child_route_count = db.session.query(Routes).filter(Routes.location. \ in_(location, recursive_child_locations(self))).count() This worked fine with my normal test dataset of 100 locations, but became too slow once I increased the test dataset to 50,000 locations. Switching to a while loop would improve things slightly since Python doesnt support tail recursion. But the bigger problem is that accessing location.children is expensive. My location model is configured with lazy='dynamic' which forces SQLAlchemy to issue a new query for every ...Read More

What are SQLAlchemy social media links?
SQLAlchemy Twitter page
Is SQLAlchemy a public company?
SQLAlchemy is private company therefore does not currently have an official ticker symbol
See more information about SQLAlchemy

Get Started with ZoomInfo

Register for free

Sign Up for Free

Get started for free! No credit card needed. Enjoy up to 25 free contacts each month at no cost.
Elevate your prospecting to the next level

Supercharge Your Prospecting

Search ZoomInfo's database of 106M+ companies and 140M+ professionals to find your next lead.
Expand your business

Grow Your Business

Reveal both personal and business contact details, including emails and phone numbers, and close your most valuable buyers.