Meteor vs. stack behind trello

For the task that trello does, do you think Meteor would do better or not?

http://blog.fogcreek.com/the-trello-tech-stack/

PS: Please feel free to edit the question. :wink:

I doubt they are still using the exact same stack or exact same set up, but that was around the time when meteor was also being born, out of the need to make it very easy for developers to set up a very similar stack.

Throw in redis (there are atmosphere packages for that) on meteor and youā€™ll basically have set up the ā€œsameā€ stack. There of course are a lot of implementation differences.

Trelloā€™s stack perhaps benefits from being barebones in the scaling area.

Meteor also scales well, we donā€™t currently have a production example with few million users and billions of documents on the db, so it is hard to make a comparison just yet.

Strangely, very nearly relevant. Trello use backbone for their front-end. Barebone would have been funnier though :smile:

2 Likes

I think it would be easier to prototype in Meteor, as to test various principles and patterns.
But for production it is hard to answer as there is not so many projects which can provide us with info how Meteor handle thousands of connections etc.

Did you mean backbone ?

Also from the link above:

we can store a cardā€™s data in a single document in the database and still have the ability to query into (and index) subfields of the document.

So, they didnā€™t split nested fields into a separate collections, while having them realtimeā€¦

Well, thatā€™s a design decision they made. You can make the same decision for your project, or not. As long as you can deliver the results you want to your users in an agreed time, it only affects how you code your application.

as per the answer in the link above, in case of Meteor Iā€™ll have to split into a separate collectionā€¦

Iā€™ll try to find out :wink:

If we are talking about default live pub/sub of data without composite publications or how was the package name.

Sorry, I didā€™t get what you mean as Iā€™m new to Meteor.

What do you mean?

@tenzan

I did not mean backbone by saying barebones but, yeah @robfallowsā€™ pun is quite in place :smile:

Regarding subdocuments, Meteorā€™s DDP serverā€™s livedata package makes some sacrifices to increase overall reactivity performance and one of them is not tracking subdocuments.

But if you were to mimic that, you could by writing your own diffing function, or tap into observechanges on the server side and publish manually. It would be really troublesome though and would be much easier to just separate the collection.

2 Likes

Just posting this here because I love stackshare.io - http://stackshare.io/trello/trello

This is just a rehash of the original Trello stack blog post (so as mentioned itā€™s quite likely out of date), but the details are laid out nicely.

2 Likes

Thanks, I didnā€™t know about this site. :smile:

This is a clone made with Meteor : https://github.com/libreboard/libreboard

1 Like

I noticed, that libreboard doesnā€™t look and feel as flexible as trello and itā€™s very slow.
Did you notice that?

Not sure if this a Meteor problem or its hostingā€¦

I found the opposite. I thought it was really snappy.

Really?! :flushed:

Ping from Japan:

$ ping libreboard.com
PING libreboard.com (107.22.210.133): 56 data bytes
64 bytes from 107.22.210.133: icmp_seq=0 ttl=34 time=175.477 ms
64 bytes from 107.22.210.133: icmp_seq=1 ttl=34 time=175.251 ms
64 bytes from 107.22.210.133: icmp_seq=2 ttl=34 time=175.150 ms

$ ping trello.com
PING trello.com (192.230.65.4): 56 data bytes
64 bytes from 192.230.65.4: icmp_seq=0 ttl=54 time=119.943 ms
64 bytes from 192.230.65.4: icmp_seq=1 ttl=54 time=118.244 ms
64 bytes from 192.230.65.4: icmp_seq=2 ttl=54 time=118.176 ms
64 bytes from 192.230.65.4: icmp_seq=3 ttl=54 time=118.158 ms

But, in general, for some reason, I didnā€™t feel itā€™s better than the Trello.
Just my personal impressionā€¦

From Beijing:

$ ping libreboard.com
PING libreboard.com (107.22.210.133): 56 data bytes
64 bytes from 107.22.210.133: icmp_seq=0 ttl=40 time=252.261 ms
64 bytes from 107.22.210.133: icmp_seq=1 ttl=40 time=251.587 ms
64 bytes from 107.22.210.133: icmp_seq=2 ttl=40 time=248.455 ms
64 bytes from 107.22.210.133: icmp_seq=3 ttl=40 time=248.803 ms

$ ping trello.com
PING trello.com (192.230.64.4): 56 data bytes
64 bytes from 192.230.64.4: icmp_seq=0 ttl=51 time=277.277 ms
64 bytes from 192.230.64.4: icmp_seq=1 ttl=51 time=277.746 ms
64 bytes from 192.230.64.4: icmp_seq=2 ttl=51 time=278.576 ms
64 bytes from 192.230.64.4: icmp_seq=3 ttl=51 time=277.386 ms

Hahaā€¦ anything under 600ms feels snappy behind the Great Firewall ā€¦

1 Like

Truly, I give thumbs up to Trelloā€™s look-and-feel.

itā€™s very slow.

Well you are referring to ping times and thatā€™s not a software stack related issue. Such comparison would only make true sense if made on the same servers/isp.