TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Firebase, a scalable real-time backend

526 点作者 jamest大约 13 年前

42 条评论

pkrein大约 13 年前
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 未加载
smoody大约 13 年前
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 未加载
Yxven大约 13 年前
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 未加载
amirnathoo大约 13 年前
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.
arturadib大约 13 年前
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 未加载
javert大约 13 年前
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 未加载
haberman大约 13 年前
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>
jpdus大约 13 年前
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 未加载
hedgehog大约 13 年前
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 未加载
plusbryan大约 13 年前
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 未加载
jdavid大约 13 年前
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.
MrJagil大约 13 年前
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 未加载
asselinpaul大约 13 年前
What is the difference between this and let's say 'Meteor'?
评论 #3833182 未加载
评论 #3834294 未加载
michaeldwan大约 13 年前
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.
michaelmartin大约 13 年前
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!)
zmmmmm大约 13 年前
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 未加载
webjprgm大约 13 年前
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 未加载
codesuela大约 13 年前
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 未加载
jdavid大约 13 年前
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 未加载
rgbrgb大约 13 年前
What are the main differences between this and Meteor? What a strange coincidence that two nearly identical platforms launch within days of each other.
trimbo大约 13 年前
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?
bdunn大约 13 年前
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>
anandkulkarni大约 13 年前
Phenomenal. I've been waiting to try this for months! It looks terrifically easy.
drucken大约 13 年前
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.
tomelders大约 13 年前
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 未加载
ique大约 13 年前
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 未加载
Rotor大约 13 年前
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.
spladow大约 13 年前
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.
_dtw大约 13 年前
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.
oluckyman大约 13 年前
This should play beautifully with client-side JS web app frameworks like AngularJS where the JSON models are 2-way bound to the views.
lowglow大约 13 年前
Fantastic job. This looks phenomenal, James! I can't wait to find an awesome project to put this to good use. Cheers!
mahmud大约 13 年前
"real-time" has a very specific meaning when it comes to software, don't dillute it please.
felixchan大约 13 年前
This is going to revolutionize the way apps are built.
darylteo大约 13 年前
Looks similar to what Meteor was trying to achieve?
tknew大约 13 年前
Firebase will turn into a chat company :p
MatthewB大约 13 年前
congrats, james. i'll whip something up for teamly soon enough:)
gr3g大约 13 年前
Simply Amazing!!
flav0ur大约 13 年前
Great!
buremba大约 13 年前
I think it's overrated. :/
IanDrake大约 13 年前
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 未加载
lucian1900大约 13 年前
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.
wavephorm大约 13 年前
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.