Hacker Newsnew | past | comments | ask | show | jobs | submit | cyunker's commentslogin

I've been using https://httpbin.org/ to so some client testing and so far it has been great. They provide a docker image which makes it easy to run locally.


I had similar issues when I used them while working out and was sweaty. Sometimes, in the case, they wouldn't fully make contact and didn't charge. Cleaning them off periodically fixed that for me.


It does work across multiple Riot regions, however it's meant for applications which can tolerate a little (~1 sec) latency. So we didn't really need to address that concern.

(I work on same team with Michal)


Not the OP, but I work on the same team.

The edge servers are not clustered and share no state. We require at least 2 servers as minimum for fault tolerance.


Did the need for edge server arise from the fact the a service like https://aws.amazon.com/elasticloadbalancing/applicationloadb... didn't exist back then ?


Well we need edge servers to handle the persistent websocket connections which last through the life the player session.


yeah the ALB provides that feature as well. I just checked. it was released in Aug 2016. So clearly before that time your setup makes a lot of sense.

I am wondering if the ALB would be the preferred method now, if you were to redo it ?


Right, ALB were introduced after we built RMS. We would have to re-evaluate the ALB stability/cost/scalability - but definitely something to consider.


Thanks for replying!

So what happens to a player session when an edge server dies?

Do you have a way to rehydrate the session on a different server?


When the edge server dies player will reconnect to another node (load balancer will select a healthy one this time). In the same time RMS will detect that the session got lost in an abrupt way and will buffer any outgoing messages addressed to that session for a short time, just in case when player reconnects.


FWIW, here's a earlier post about chat architecture and talks a bit more about how it uses Erlang.

https://engineering.riotgames.com/news/chat-service-architec...


Agreed. Do you know if lectures will be posted?


Slides will be online, but I don't have plans to video record the lectures.

A reasonable amount of the course material is in blog posts, and I add more posts each semester.


Sounds good, will check it out. Thanks for posting this.


For borrowing there's this:

http://neighborgoods.net/


"Facebook, for example, created Cassandra for certain tasks and also uses the Hadoop-based HBase heavily, but it’s still a MySQL shop for much of its core needs."


I like my iPad, but the weakest link is that I can't do any serious typing. Even for small emails, it can be a pain. I need a keyboard I can feel.


I use my iPad on a stand beside my computer, with a bluetooth keyboard, for email. The idea is to keep the email monitor separate from the computer display so I can focus on one or the other. It's not a bad setup, although sometimes I tend to forget and fire up gmail on my mac. The typing experience is great, though - the text selecting shortcuts from OSX are all there.


I bought my mother an iPad for christmas (got her the 16 GB 3G version for when she's stuck at her store). My biggest concern was typing, so I also opted for the keyboard dock instead of a bluetooth keyboard or a case.

So far, she really likes it. The first thing she figured out was that the dock plugs into the computer and the iPad plugs into the dock, so she didn't even know about the onscreen keyboard until I told her to unplug it (about 30 minutes after she got it).

Unfortunately, I haven't been able to really observe how she uses it, as she lives a few thousand miles away, but she seems to really enjoy it, compared to her slow, heavy, unreliable, and virus-laden Windows laptop.


I have the Bluetooth keyboard, but it (sadly) doesn't solve that: the apps are just not mature enough for serious typing in many situations (especially if that "typing" includes "coding").


I've heard people say that. I can definitely understand some may type slower. I prefer a physical keyboard for long form writing, but I'm actually pleasantly surprised at how quickly and accurately I can type on the virtual keyboard. It's pretty comfortable for me to write a 2000 word piece on an iPad. For some though, they won't be comfortable doing it.


Mine isn´t speed. I find myself typing just as quickly on a virtual keyboard, but it just starts to get overly tedious and annoying because of the extra level of focus it requires. If I´m typing anything more than a couple of sentences I quickly become irate from it...


Too late. I've already moved to Chrome sync.


Sorry for the snarky remark. I think Xmarks is an excellent service and I've been a happy user for 6 months+. But when you send out an email saying you're done, and I move my bookmarks over to another service...well.....

For the record, Xmarks today is better than Chrome sync. If things work out for them, I'll move back.


I agree that it's better, but I don't think it's so much better that I'd be willing to pay them even $1 a year for the improvement.

It would take them being insanely better, and offering something that I really need (the 'which bookmarks go where' feature is almost it) to entice me into paying for something I'm getting in-built onto my browser that is free.

It sucks for them, really, because even a year ago I'd have happily paid them the money. Cross-browser (Firefox -> Chrome sync) would have been worth it then, as would the segregation of 'personal' bookmarks from my work PC, but at this point, Chrome sync is in place, it's the only browser I use, and what's left just doesn't convince me to give them money.

I wish them well, but they should have been charging years ago really.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: