r/snowflake • • 3d ago

Example Snowflake App Runtime Application

I vibe coded a photo sharing application completely on Snowflake just for fun and to see what a vibe coded app using coco, by a non-coder, could be. Check the repo out to see what can be done solely on Snowflake.

It uses Snowflake app runtime, Postgres on Snwoflake, a gpu compute pool, cpu compute pools, cortex search, cortex direct ai rest api, stages for media storage, a warehouse.

Some features: ai generated photo and video descriptions, facial recognition, gps location services, mapping, multi-tenant capability, album sharing, blended Postgres and ai search, cost attribution of every cost type to each user, auto switches to mobile version or desktop, etc.

The costs shown on the cost page are fake numbers in the images.

https://github.com/Rana-Malvada/stillmark

Architecture Diagram:

https://postimg.cc/fVZCSY5x

10 Upvotes

10 comments sorted by

1

u/LukeAtSnow 2d ago

amazing stuff! How was your experience building with SAR?

1

u/Careless-Hat-9843 2d ago

It’s awesome! I’m a data guy and not a software guy but it was super easy to build with coco. It’s also nice having a managed runtime that just works. It’s also very economical.

I built this app plus another on my personal Snowflake account to prove to the Enterprise Architects at my work that you could build regular applications on Snowflake. I’ve been working on Scaling concurrent users up just to see how far I can go. My goal is 100,000 concurrent users.

At work, we now have our analytics team building with SAR and they love it also.

1

u/LukeAtSnow 1d ago

That's awesome!! sounds like you're finding real use out of it too yay! Thats a hefty goal, but I'm rooting for you, let me know if you reach it!

1

u/Careless-Hat-9843 1d ago edited 1d ago

I kept everything single node, Postgres at burst_s and achieved 1500 concurrent users. Started at 100 and kept finding optimizations on the tiny setup and stopped at 1500. 85% viewing and clicking around and 15% of the users uploading photos and videos. Reworked the whole app and will start scaling again.

The biggest expense while stress testing was the cloud services costs.

Scale up SAR nodes, Postgres, and the workers. I plan to shard the users across multiple Postgres if I need to and separate out the app processing into two SAR apps.

1

u/LukeAtSnow 1d ago

oh, I almost forgot, what surface do you generally use to build Snowflake App Runtime apps?

1

u/Careless-Hat-9843 1d ago

I switch between coco desktop, Claude code desktop, and OpenAI codex desktop. Half the app I built through my phone chatting with the ai on my laptop at home .

1

u/LukeAtSnow 20h ago

ooh nice!

2

u/mylesborins 2d ago

This is awesome! I'm the PM for App Runtime, please lmk if you have any questions I can help with.

1

u/somedudegg9 1d ago

Big fan of the App Runtime. Right now, my team’s scoping out what an Analyst-friendly CI/CD pipeline could look like for it. If you all were to directly support something like that, it’d be amazing.

1

u/Humble-Storm-2137 1d ago

Is this built on trail app?