[erlang-questions] [erlyweb-list] Re: Twoorl: an open source Twitter clone

Yariv Sadan <>
Sat May 31 23:39:40 CEST 2008


Thanks! Comet based scrolling is relatively low priority. There are a
bunch of other feature requests I'm working on. Twoorl users are a
small but pretty excited bunch :)
I'm not planning on keeping the current db-backed timeline rendering.
I realize it wouldn't  well when users start having too many friends.
To avoid this bottleneck, I'm planning on keeping a per-user data
store (in mnesia or memcache) for the last 20 twoorls (=tweets) from
their friends. New twoorls would be broadcasted (ie copied) to all
(active) followers. It's a space/speed tradeoff. This solution
wouldn't allow paging (unless I increase the cache size) but I think
it's a good tradeoff.

I still have some way to go before I hit these scaling problems, though.

Yariv

On Sat, May 31, 2008 at 8:53 AM, David Pollak
<> wrote:
> Yariv,
> Nice stuff.  A question and an observation:
> Q: Are you planning to add a comet-based scrolling timeline?
> O: The creation of a timeline from the backing store on request strikes me
> as one that is prone to performance problems (see http://twitter.com)
> Thanks,
> David
>
> On Wed, May 28, 2008 at 10:12 PM, Yariv Sadan <> wrote:
>>
>> Hi,
>>
>> I created an open source Twitter clone in Erlang called Twoorl. I
>> wrote it on top of ErlyWeb/Yaws.  You can see it at http://twoorl.com.
>> The code is at http://code.google.com/p/twoorl.
>>
>> I'll appreciate any feedback!
>>
>> Thanks,
>> Yariv
>>
>>
>
>
>
> --
> lift, the simply functional web framework http://liftweb.net
> Collaborative Task Management http://much4.us
> Follow me: http://twitter.com/dpp
> Git some: http://github.com/dpp
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups
> "erlyweb" group.
> To post to this group, send email to 
> To unsubscribe from this group, send email to
> 
> For more options, visit this group at
> http://groups.google.com/group/erlyweb?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
>



More information about the erlang-questions mailing list