Building a server to manage high concurrent connections is non-trival task. For those developers that use ActionScript 3 to build games on the client side it means having a totally different skillset. Being able to use ActionScript 3 on the server to build MMO’s or port client code to the server allows developers to leverage their skills on the server.
By walking through a live game example with more then 15,000 concurrent connections running on a medium Amazon EC2 server the presentation will:
1. Introduce Linux server configuration for high concurrent connected usage.
2. Introduce Socket class based on libev library for high concurrent connection.
3. Introduce leveraging Tamarin project for ActionScript 3 on the server.
12. IPv6 zone file sample(1)
/etc/named.conf
zone “twnic.net.tw” {
type master;
file “twnic.zone”;
};
zone “1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.int” {
type master;
file “localhost”;
}
zone “2.8.8.0.8.3.2.0.1.0.0.2.ip6.int” {
type master;
file “twnic.reverse”;
};
13. IPv6 zone file sample(2)
twnic.zone
@ IN SOA ns.twnic.net.tw. snw.twnic.net.tw. (
100013117
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS ns.twnic.net.tw.
;
pc1 IN AAAA 2001:238:882:0:248:54ff:fe53:d3ee
pc2 IN AAAA 2001:238:882::9AFF:FE80:3333
;
.
.
.
14. IPv6 zone file sample(3)
loalhost
@ IN SOA ns.twnic.net.tw. snw.twnic.net.tw. (
100013117
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS localhost.
;
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.int. IN PTR localhost.
26. IPv6 DNS 相關的 RFC/draft
RFC 1886 / DNS Extensions to support IP version 6
RFC 2874 / DNS Extensions to Support IPv6 Address
Aggregation and Renumbering
RFC 3152 / Delegation of IP6.ARPA
RFC 3226 / DNSSEC and IPv6 A6 aware
server/resolver message size requirements
draft-ietf-ipv6-dns-discovery-04.txt / IPv6 Stateless
DNS Discovery
draft-ietf-ipngwg-dns-discovery-analysis-00.txt /
Analysis of DNS Server Discovery Mechanisms for
IPv6