TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Firebase, a scalable real-time backend

526 pointsby jamestabout 13 years ago

42 comments

pkreinabout 13 years ago
I used Firebase to build thereelbox.com, and enjoyed it thoroughly. It took 2-3 hours from starting into the documentation to completed/nobugs/pushed to production. Credit for that speed goes entirely to Firebase.<p>TheReelBox uses Firebase as a sort of API caching layer. This protects against rate limiting on the Rotten Tomatoes API, decreases request time by caching queries to the Fandango-via-YQL API, and eliminates an extra request per movie for Youtube trailers.<p>At the beginning, this system made it possible to host TheReelBox on my public dropbox folder, which made for really fast development. Since launch I've moved the static html and js to a micro AWS instance, but Firebase cleanly and transparently handles all the data.<p>Definitely recommend it.
评论 #3834064 未加载
评论 #3833215 未加载
评论 #3834114 未加载
评论 #3834377 未加载
评论 #3835516 未加载
评论 #3834987 未加载
评论 #3833256 未加载
评论 #3834446 未加载
评论 #3833772 未加载
评论 #3834711 未加载
评论 #3835500 未加载
评论 #3834066 未加载
评论 #3833347 未加载
评论 #3833343 未加载
评论 #3834712 未加载
smoodyabout 13 years ago
Here's my big concern: If my entire app is client-based JavaScript, wouldn't that make cloning my app as simple as copying all of the JavaScript and other asset files and then associating them with another firebase account -- perhaps modifying them some so they dont't get banned?<p>It seems like it lowers the barrier to competition a bit too much for me.
评论 #3834772 未加载
评论 #3834493 未加载
评论 #3834197 未加载
评论 #3834978 未加载
评论 #3834261 未加载
Yxvenabout 13 years ago
When the multi-player asteroids story was published, people were talking about Firebase, and having never heard of it, I started googling and found this: <a href="http://www.cubeia.com/index.php/products/firebase" rel="nofollow">http://www.cubeia.com/index.php/products/firebase</a> A scalable real-time game server with a html5/javascript front end. I still don't know which Firebase that game was built with. You guys have trademark issues.
评论 #3841419 未加载
评论 #3841416 未加载
amirnathooabout 13 years ago
If I understand right: instead of having to worry about calling a REST API for a back-end data store I can just have JS objects persist automatically and synchronize between clients.<p>Dropbox for JS objects.<p>If I've got that right, I think this is totally awesome for front-end web devs and the most exciting backend-as-a-service out there.
arturadibabout 13 years ago
Another great step in the right direction.<p>That being said, I do believe the hardest part of all these attempts to abstract backends is authentication and security models. It seems to me that most of these services launch before figuring out that critical part of the puzzle.
评论 #3834211 未加载
评论 #3833566 未加载
javertabout 13 years ago
Can't people find an alternative to the word "real-time" that hasn't already been used for 30 years to mean something entirely different? (As in, real-time systems, real-time operating systems, etc.)<p>I'm not trying to put down Firebase, I imagine it's great.
评论 #3833093 未加载
评论 #3833699 未加载
评论 #3834258 未加载
habermanabout 13 years ago
I'd love to see the host-proof scheme that ZeroBin uses, so users can store sensitive data without having to trust Firebase. <a href="http://news.ycombinator.com/item?id=3832269" rel="nofollow">http://news.ycombinator.com/item?id=3832269</a>
jpdusabout 13 years ago
Wow, im excited what people are doing out of this (especially in combination with other new tools like Meteor).<p>Seems there is a huge development ongoing to reflect new development and scaling practices...<p>EDIT: REALLY like the RT-Chat on the site - that is showcasing as it should be (and not just another "Demo" button).
评论 #3833166 未加载
hedgehogabout 13 years ago
Tools used (from the chat):<p>Mongo for storage backend<p>Node.js client is Faye<p>Scala + Netty backend<p>custom JS client supporting "IE7+, Opera 10+, Safari / Chrome (recent versions), FF3.0+"
评论 #3833627 未加载
plusbryanabout 13 years ago
This is the way to do demos - easy enough for a non-coder to use, but it explains and shows the internals for more experienced developers. Nice work!
评论 #3833154 未加载
jdavidabout 13 years ago
I was part of the beta and really enjoyed working with Firebase it was like working only in the browser, i could forget there was a backend.<p>Once you start playing with it you realize that there are so many apps that can be built.<p>the team has a few things to work on, and trust me many of us in the beta flushed a lot of those out. they have their work ahead of them. what's there is polished and ready for use. give it a try. use this as a chance to explore what can be done when you can forget about the backend.
MrJagilabout 13 years ago
I'm a non-coder.<p>A very simple guide to make a very simple, understandable web-app would be the killer feature for me.<p>There is a tutorial for a chat-app but that's way over my head(I of course get how to put in the code, I just don't understand it (REST, roots, references etc). If I could be shown how to make something insanely simple, and I actually understood how it worked, it'd lead me on to the next thing. A collaboration with codecademy might be the thing.<p>So much potential.
评论 #3833813 未加载
asselinpaulabout 13 years ago
What is the difference between this and let's say 'Meteor'?
评论 #3833182 未加载
评论 #3834294 未加载
michaeldwanabout 13 years ago
This looks awesome -- a better option than an api-only Rails backend. Realtime pub/sub is also a big plus. Security is a concern with any 3rd party storage, but most uses I can think of wouldn't store missile launch codes in here anyway..<p>It's also worth pointing out that Firebase grew out of Envolve which supported millions of users, so you know these guys can handle scale.
michaelmartinabout 13 years ago
This looks really good. It seems to be very similar to the Hydna app that was on HN yesterday. For the rest of us, that has to be a win. Can't wait to see how things develop with both companies now!<p>(Absolutely loved the interactive tutorial. Brilliant way to show off the service!)
zmmmmmabout 13 years ago
Seems slightly misleading with the pitch about "no servers". More like, "proprietary Javascript framework locked to proprietary hosted cloud service, no information about pricing".<p>Not that I begrudge anybody the chance to make some money, but along with Meteor I feel like there's a slightly deceptive nature to this kind of thing where the home page is emblazoned with "look, it's all free!" when in fact there's an unknown price to pay down the line.
评论 #3835831 未加载
评论 #3835205 未加载
评论 #3837917 未加载
webjprgmabout 13 years ago
A real-time client-side library that ties in to their database hosting service, basically.<p>Also, if you want to have any non-realtime parts of your web app that do server-side processing of data then it looks like you have to use Node.js to talk to Firebase, as there's no REST API for it that I can see. I guess they don't mind because they're trying to get you to do all data processing in the client anyway.<p>Definitely need security and permissions. How do I make sure only registered users of my site can access chat? How do I make sure only admin users can create new chat threads? From my brief reading it looks like all clients can see everything in the database and modify it all. Am I wrong?
评论 #3836056 未加载
评论 #3833379 未加载
codesuelaabout 13 years ago
on a sidenote: I wouldn't do business with or trust my data to a company that hides their actual address behind whois protection
评论 #3833226 未加载
评论 #3833253 未加载
评论 #3833236 未加载
jdavidabout 13 years ago
Firebase, Burn your servers, you don't need them any more. Firebase is for app developers that don't want to worry about building real time scalable back ends.
评论 #3834627 未加载
rgbrgbabout 13 years ago
What are the main differences between this and Meteor? What a strange coincidence that two nearly identical platforms launch within days of each other.
trimboabout 13 years ago
I just asked them twice on their chat to describe their infrastructure and they won't do it, at least yet.<p>I realize this is in beta, and it's early, but am I the only one who would not trust my data to a service where I can't get at least some idea of how they're actually functioning behind the curtain?
bdunnabout 13 years ago
A few weeks ago, I wrote about (and presented at RubyNation) on why I think a "dumb backend" is a really bad idea: <a href="http://planscope.io/blog/2012/03/25/rails-is-more-than-an-api/" rel="nofollow">http://planscope.io/blog/2012/03/25/rails-is-more-than-an-ap...</a>
anandkulkarniabout 13 years ago
Phenomenal. I've been waiting to try this for months! It looks terrifically easy.
druckenabout 13 years ago
What I like most about Firebase so far compared to Meteor, is that I can actually read about Firebase and its excellent documentation from any machine with any web browser!<p>Well done, thank you.
tomeldersabout 13 years ago
It's been a good week for the real-time-web.<p>We might need a snappier name though, because this sort of real time is a lot more real time that the type of real time people are already used to.
评论 #3833473 未加载
iqueabout 13 years ago
I couldn't find any (easily accessible) info about what it actually uses to communicate. Is it long-polling, websockets, something else?<p>What kind of browser compliance is there?
评论 #3833880 未加载
Rotorabout 13 years ago
Congrats on the launch of Firebase and absolutely love the code demo; it hooks you in.<p>At the end of the demo you are asked if you'd like early access. Definitely.
spladowabout 13 years ago
For those interested in this kind of service there are a variety of others, including our own (spire.io), as well as Pusher, PubNub, and others.
_dtwabout 13 years ago
Really interesting idea, look forward to giving it a whirl in a moment.<p>Quick question, are you affiliated with firebase.co? They seem to be in a similar field.
oluckymanabout 13 years ago
This should play beautifully with client-side JS web app frameworks like AngularJS where the JSON models are 2-way bound to the views.
lowglowabout 13 years ago
Fantastic job. This looks phenomenal, James! I can't wait to find an awesome project to put this to good use. Cheers!
mahmudabout 13 years ago
"real-time" has a very specific meaning when it comes to software, don't dillute it please.
felixchanabout 13 years ago
This is going to revolutionize the way apps are built.
darylteoabout 13 years ago
Looks similar to what Meteor was trying to achieve?
tknewabout 13 years ago
Firebase will turn into a chat company :p
MatthewBabout 13 years ago
congrats, james. i'll whip something up for teamly soon enough:)
gr3gabout 13 years ago
Simply Amazing!!
flav0urabout 13 years ago
Great!
burembaabout 13 years ago
I think it's overrated. :/
IanDrakeabout 13 years ago
This is cool. But can someone explain how data is secured in Firebase or Meteor?<p>From the Leader Board sample:<p>// Use setWithPriority to put the name / score in Firebase, and set the priority to be the score.<p>userScoreRef.setWithPriority({ name:name, score:newScore }, newScore);<p>How about I just change newScore to 100,000 in the debug window?
评论 #3833005 未加载
评论 #3834215 未加载
lucian1900about 13 years ago
Looks very nice.<p>But just like meteor, doesn't have any authentication or authorisation, which sadly makes them just toys for now. Looking forward to both projects becoming usable.
wavephormabout 13 years ago
Can someone explain what kind use-cases there are for a database where the client can read and write directly against the database? CouchDB could do this (via CouchApp), but I bet not many people do this because it's bad from security and scaling standpoint and I think there aren't that many types of apps that can be created without a proper back-end.